Konferensartikel

Towards a High-Performance Modelica Compiler

Giovanni Agosta
DEIB, Politecnico di Milano, Italy

Emanuele Baldino
DEIB, Politecnico di Milano, Italy

Francesco Casella
DEIB, Politecnico di Milano, Italy

Stefano Cherubin
DEIB, Politecnico di Milano, Italy

Alberto Leva
DEIB, Politecnico di Milano, Italy

Federico Terraneo
DEIB, Politecnico di Milano, Italy

Ladda ner artikelhttp://dx.doi.org/10.3384/ecp19157313

Ingår i: Proceedings of the 13th International Modelica Conference, Regensburg, Germany, March 4–6, 2019

Linköping Electronic Conference Proceedings 157:32, s. 8

Visa mer +

Publicerad: 2019-02-01

ISBN: 978-91-7685-122-7

ISSN: 1650-3686 (tryckt), 1650-3740 (online)

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.

Nyckelord

Modelica Tools, Large-scale model simulation, Compilers, LLVM

Referenser

Inga referenser tillgängliga

Citeringar i Crossref