AMICI
AMICI copied to clipboard
Split expressions into static and dynamic
static expressions don't depend on time/states and only need to be evaluated after reinitialization, not at every timepoint.
Also, some expressions only need to be evaluated at measurement timepoints. Could also treat them separately, or just flatten everything in y
and remove unused expressions afterwards.