We present the concepts and a prototypical implementation of a profiler for the specific analysis of Modelica models running on Scale-RT; a Linux-based real-time kernel. The profiler measures the number of calls and execution times of simulation specific functions calls. Interpreting these results; the developer can directly deduce which components of a simulation model are most promising for optimization. Profiling results and their impact on model optimization are discussed on two case studies from the area of thermodynamic automotive systems.
Keywords: Real-Time; Modelica; Profiling; Optimization; SimulationX; Scale-RT
3rd International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools; Oslo; Norway; October 3
 MODELISAR (ITEA 2 07006). Functional mock-up interface for model exchange; January 26 2010.
 Tim Bird. Measuring function duration with ftrace. In Proceedings of the Linux Symposium; 2009.
 L. Dozio and P. Mantegazza. Linux real time application interface (rtai) in low cost high performance motion control. Motion Control 2003; 2003. Milano; Italy.
 S. Graham; P. Kessler; and M. McKusick. gprof: A call graph execution profiler. In Proceedings of SIGPLAN ´ S82 Symposium on Compiler Construction; volume 17; number 6; pages 120–126; June 1982. SIGPLAN Notices.
 S. Graham; P. Kessler; and M. McKusick. An execution profiler for modular programs. In Software - Practice and Experience; volume 13; pages 671–685; 1991.
 M. Gräber; K. Kosowski; C. Richter; and W. Tegethoff. Modeling of heat pumps with an object-oriented model library for thermodynamic systems. In 6th Vienna International Conference on Mathematical Modelling; Vienna; 2009. ISBN 978-3-901608-35-3.
 K. Hoffmann; F. Heßeler; and D. Abel. Rapid control prototyping with dymola and matlab for a model predictive control for the air path of a boosted diesel engine. In ECOSM - Rencontres Scientifiques de l’IFP; pages 25–33. Institut Francais du Petrole; 2006.
 Brian Kernighan and Rob Pike. Finding performance improvements: Excerpt from the practice of programming. IEEE Software; 16(2):61–65; 1999.
 Cosateq GmbH & Co. KG. Scale-RT; 2010.
 Christoph C. Richter. Proposal of New Object-Oriented Equation-Based Model Libraries for Thermodynamic Systems. PhD thesis; Technische Universität Carolo- Wilhelmina zu Braunschweig; 2008.
 S. Shende; A. D. Malony; J. Cuny; K. Lindlan; P. Beckman; and S. Karmesin. Portable profiling and tracing for parallel scientific applications using c++. In Proceedings of the SIGMETRICS Symposium on Parallel and Distributed Tools; pages 134–145. ACM; August 1998.
 Sameer Shende. Profiling and tracing in linux. In Proceedings of Extreme Linux Workshop; 1999.
 Karl Johan Åström; Hilding Elmqvist; and Sven Erik Mattsson. Evolution of continuous-time modeling and simulation. In The 12th European Simulation Multiconference; Manchester; UK; June 16 - 19 1998.
 Inc. The Mathworks. Execution and real-time implementation of a temporary overrun scheduler; 2006.
 VDI. Thermodynamische Stoffwerte von feuchter Luft und Verbrennungsgasen. VDI-Handbuch Energietechnik; 2000. VDI Richtlinie 4670.