@inproceedings { , title = {Towards a High-Performance Modelica Compiler}, abstract = {The use of Modelica as a modelling and simulation language is progressively replacing hand-tuned simulation code written in traditional imperative programming languages. This adoption is fuelled by the availability of libraries to target different application domains, as well as optimizations in Modelica implementations that allow to address larger problems. However, the effort required to extend existing Modelica implementations to support large scale models may not be economically sustainable by the Modelica community. To overcome this barrier, we believe a perspective change is required. Instead of developing, maintaining and optimizing a dedicated codebase, we propose to develop a Modelica implementation by relying on the LLVM state-of-the-art compiler framework. Although this approach will require a higher initial development effort, we believe that it will lead to significantly improved performance as well as lower overall cost. The paper discusses a possible roadmap for such a development, and presents a very early prototype implementation that exploits array structures by avoiding scalar expansion during the code generation process.}, conference = {The 13th International Modelica Conference}, doi = {10.3384/ecp19157313}, isbn = {9789176851227}, pages = {313-320}, publicationstatus = {Published}, url = {http://researchrepository.napier.ac.uk/Output/2781731}, keyword = {Modelica Tools, Large-scale model simulation, Compilers, LLVM}, year = {2019}, author = {Agosta, Giovanni and Baldino, Emanuele and Casella, Francesco and Cherubin, Stefano and Leva, Alberto and Terraneo, Federico} }