I figured it out.
The right idea came from StackOverFlow Error in SIR model using ModelingTookit - #18 by contradict
Actually I needed to do 2 things:
- After structural_simplify the “states” ωel and M are removed.
- The motor. namespace somehow seems to confuse