This information is part of the Modelica Standard Library maintained by the Modelica Association.
The drive train consists of a one-way clutch and driving and driven inertias. The one-way clutch is engaged periodically thus forcing both the inertias to match their rotational velocity. When disengaged, only the freewheel functionality of the one-way clutch is available and is active as long as the relative angular velocity w_rel becomes zero.
Simulate for 2 seconds and compare inertias' velocities
inertiaOut.w to each other.
Check also the engagement of the clutch
and its lossy power