SwePub
Sök i LIBRIS databas

  Extended search

onr:"swepub:oai:DiVA.org:liu-169770"
 

Search: onr:"swepub:oai:DiVA.org:liu-169770" > Towards introducing...

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Towards introducing just-in-time compilation in a Modelica compiler

Tinnerholm, John, 1992- (author)
Linköpings universitet,Programvara och system,Tekniska fakulteten
Sjölund, Martin, 1984- (author)
Linköpings universitet,Programvara och system,Tekniska fakulteten
Pop, Adrian, 1975- (author)
Linköpings universitet,Tekniska fakulteten,Programvara och system
 (creator_code:org_t)
2020-02-06
2019
English.
In: EOOLT '19: Proceedings of the 9th International Workshop on Equation-based Object-oriented Modeling Languages and Tools. - New York, NY, United States : ACM Press. - 9781450377133 ; , s. 11-19
  • Conference paper (peer-reviewed)
Abstract Subject headings
Close  
  • We are investigating ways of introducing just-in-time compilation in a standard-compliant Modelica compiler, the Open-Modelica compiler (OMC). The main motivations are enabling extensions to support dynamically varying model structure, faster compilation, and faster recompilation of models after changes. We are investigating two approaches.The first approach is to adapt the low-level OpenModelica intermediate representation (IR) before code generation to be compatible with LLVM. In that way we can avoid generating intermediate C-code and instead generate LLVM IR in memory for just-in-time compilation (JIT).The second approach is to translate OMC itself written in MetaModelica to Julia, and thereby gain access to the JIT capabilities of LLVM. Another benefit of the second approach is the access to the Julia ecosystem, including a rich set of libraries for numerical computing.We have done a preliminary investigation of both approaches, with measurements on a selected sample of algorithms, and discovered that compilation-time of generated Julia code is slower compared to generating LLVM IR directly. We conclude that providing a standard-compliant Modelica compiler which supports a dynamically varying model structure is feasible and possible, and we believe that such a compiler can be provided by using Julia or MetaModelica.

Subject headings

NATURVETENSKAP  -- Data- och informationsvetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences (hsv//eng)

Keyword

OpenModelica
Modelica
LLVM
Julia
MetaModelica

Publication and Content Type

ref (subject category)
kon (subject category)

Find in a library

To the university's database

  • 1 of 1
  • Previous record
  • Next record
  •    To hitlist

Find more in SwePub

By the author/editor
Tinnerholm, John ...
Sjölund, Martin, ...
Pop, Adrian, 197 ...
About the subject
NATURAL SCIENCES
NATURAL SCIENCES
and Computer and Inf ...
Articles in the publication
EOOLT '19: Proce ...
By the university
Linköping University

Search outside SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Close

Copy and save the link in order to return to this view