With M = 1 H and excitation current of 1 A is
provided starting at 0.05 s and an armature current of 1 A starting
at 0.1 s.
Thus a torque of emf.tau = 1 N.m is generated,
accelerating the inertia J = 0.1 kg.m2
within 0.1 s to emf.w = 1 rad/s starting from
standstill.
Also have a look at the induce voltage which reaches emf.v =
1 V.