Hilding Elmqvist
Ideon Science Park, Lund, Sweden
Sven Erik Matsson
Ideon Science Park, Lund, Sweden
Hans Olsson
Ideon Science Park, Lund, Sweden
Download article
http://dx.doi.org/10.3384/ecp14096363Published in: Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
Linköping Electronic Conference Proceedings 96:38, p. 363-370
Published: 2014-03-10
ISBN: 978-91-7519-380-9
ISSN: 1650-3686 (print), 1650-3740 (online)
Modelica gives the possibility to compose more and more detailed models since model components can be reused. This means that simulation needs to be faster. One possibility is then to use multi-core tech-nology. Recent advances with more than 1000 cores show the potential.
The problem is then how to utilize this enormous processing power in a user friendly way. Partitioning needs to be made automatically. Modelica gives good possibility to automatically partition the model equation execution into separate threads since it is a declarative language based on equations.
This paper describes a method to automatically parallelize model equations implemented in Dymola. A speed-up of 3.4 times has been achieved using 4 cores/8 threads.