Find the symbolic equations of motion based on WSM model?

Tigran,

You must be using the Multibody elements – you did not mention that. You must filter out the unnecessary equations. See this post by @Malte Lenz

Interpret results of Extracting System Equations in SystemModeler?

You should be able to remove all the equations that do not involve your dynamics.

Regards