1. A computerized method for executing a graphical model, comprising: analyzing a graphical model of a dynamic system, the graphical model having time-dependent mathematical relationships; identifying core elements of the graphical model based on the time-dependent mathematical relationships; and generating code from the core elements of the graphical model.