Updated optimization pragmas in modules Parameter, Simulation and Dynamics.