Maintaining Source Origin in a Modelica Compiler
Modelica is a modelling language used to describe a physical system and can be used to simulate the system. A Modelica compiler transforms a Modelica model into an equation system in order to simulate it. During this transformation the information about where the equations originates from is lost. This information could be useful to have when, e.g., trying to locate an error. In this thesis we sol