This is a phenomena due to dummy derivatives since there is not a globally stable cartesian coordinate choice for the multi-pendulum. It’s explained in detail in the lecture notes:
This case is also explained in the recent webinar starting at minute 41:
As described, this case might want dummy_derivative=false
in the structural simplification, though with the trade-offs as discussed in the video.