Given a simulation runtime representation, creates an abstract code representation aimed at ODE solvers.