Automatic differentiation (with ForwardDiff.jl) does not perform as well as it should. There seems to be type instabilities when solving ODEProblems generated by ModelingToolkit related to the (combined?) use of dual numbers, splines, reinitialization, etc.
Automatic differentiation (with ForwardDiff.jl) does not perform as well as it should. There seems to be type instabilities when solving ODEProblems generated by ModelingToolkit related to the (combined?) use of dual numbers, splines, reinitialization, etc.