Regular simulation: ./Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.LossyGearDemo3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS LOG_SUCCESS | info | The initialization finished successfully without homotopy method. stdout | info | Chattering detected around time 0.0200000000002..0.0200000000398 (100 state events in a row with a total time delta less than the step size 0.0005). This can be a performance bottleneck. Use -lv LOG_EVENTS for more information. The zero-crossing was: (pre(gear.mode) == -1 or gear.startBackward) and Inertia1.w < 0.0 assert | debug | Aborting simulation due to chattering being detected and the simulation flags requesting we do not continue further.