1. A computer-implemented method of resolving a potential artificial algebraic loop in a model execution performed in a modeling environment, the method comprising: obtaining, using a computer system, a model of an executable process having a plurality of functions; generating one or more functions of the plurality of functions of the executable process using code generation, in the computer system; identifying whether the model of the process includes a potential artificial algebraic loop; modifying a manner by which the plurality of functions forming the potential artificial algebraic loop execute in the computer system if the potential artificial algebraic loop exists in the model of the executable process, while maintaining an outcome of the potential artificial algebraic loop; and storing the outcome of the potential artificial algebraic loop in a storage device.