add_initialization_parameters(sys) adds a parameter Initial(x) for
every unknown, every observed variable, their first derivatives and every
solvable parameter of a flat system, as ModelingToolkit does when a system
is completed. The value of Initial(x) is the initial value of x.
Details
In this package complete() and mtkcompile() add only the Initial
parameters that the model refers to (in equations, bindings such as
q ~ Initial(y), or initialization equations), so the parameter vector of
a problem stays free of unused entries; call this function to add them
all. The initialization system built by generate_initializesystem()
always has the Initial parameters of the constrained variables.