Is there a bug in PartialDerivativesEquations?

That’s weird.
I had to go back to version 6.1 to find the bug you mentioned.
And it was fixed in version 7…

You should be good with version 9.2.
Maybe you just happened to run on this old version while searching on the web no ?

There is already a topic linked with additional equations and state transition matrix computation with the Python wrapper. See: Implementing a state transition matrix (STM) in python

Hope this helps.

Cheers,
Maxime