Model of constant torque which changes sign with direction of rotation.
Please note:
Positive torque accelerates in both directions of rotation.
Negative torque brakes in both directions of rotation.
Around zero speed regularization avoids numerical problems.