Dynamics equations generation working.