Complex pendulum and synchronous execution

The synchronous execution gives a powerful way to simulate some complex non-linear systems.