liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
Tools for Understanding, Debugging, and Simulation Performance Improvement of Equation-based Models
Linköping University, Department of Computer and Information Science, Software and Systems. Linköping University, The Institute of Technology. (PELAB)
2013 (English)Licentiate thesis, monograph (Other academic)
Abstract [en]

Equation-based object-oriented (EOO) modelling languages provide a convenient, declarative method for describing models of cyber-physical systems.Because of the ease of use of EOO languages, large and complex models can be built with limited effort.However, current state-of-the-art tools do not provide the user with enough information when errors appear or simulation results are wrong.It is paramount that the tools give the user enough information to correct errors or understand where the problems that lead to wrong simulation results are located.However, understanding the model translation process of an EOO compiler is a daunting task that not only requires knowledge of the numerical algorithms that the tool executes during simulation, but also the complex symbolic transformations being performed.

In this work, we develop and explore methods where the EOO tool records the transformations during the translation process in order to provide better diagnostics, explanations, and analysis.This information can be used to generate better error-messages during translation.It can also be used to provide better debugging for a simulation that produces unexpected results or where numerical methods fail.

Meeting deadlines is particularly important for real-time applications.It is usually important to identify possible bottlenecks and either simplify the model or give hints to the compiler that enables it to generate faster code.When profiling and measuring execution times of parts of the model the recorded information can also be used to find out why a particular system is slow.Combined with debugging information, it is possible to find out why this system of equations is slow to solve, which helps understanding what can be done to simplify the model.

Finally, we provide a method and tool prototype suitable for speeding up simulations by compiling a simulation executable for a parallel platform by partitioning the model at appropriate places.

Place, publisher, year, edition, pages
Linköping: Linköping University Electronic Press, 2013. , 93 p.
Linköping Studies in Science and Technology. Thesis, ISSN 0280-7971 ; 1592
Keyword [en]
Simulation, modelling, debugging, profiling, optimisation, parallelism, Modelica
National Category
Computer Science
URN: urn:nbn:se:liu:diva-90096Local ID: LIU-TEK-LIC-2013:26ISBN: 978-91-7519-624-4 (print)OAI: diva2:614273
2013-05-27, Alan Turing, Hus E, Campus Valla, Linköping University, Linköping, 13:15 (English)
Available from: 2013-04-19 Created: 2013-03-19 Last updated: 2014-10-08Bibliographically approved

Open Access in DiVA

Tools for Understanding, Debugging, and Simulation Performance Improvement of Equation-based Models(912 kB)1077 downloads
File information
File name FULLTEXT01.pdfFile size 912 kBChecksum SHA-512
Type fulltextMimetype application/pdf
cover(35 kB)38 downloads
File information
File name COVER01.pdfFile size 35 kBChecksum SHA-512
Type coverMimetype application/pdf

Search in DiVA

By author/editor
Sjölund, Martin
By organisation
Software and SystemsThe Institute of Technology
Computer Science

Search outside of DiVA

GoogleGoogle Scholar
Total: 1077 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 1070 hits
ReferencesLink to record
Permanent link

Direct link