Conference article

Tool Demonstration Abstract: OpenModelica Graphical Editor and Debugger

Adeel Asghar
Department of Computer and Information Science, Linköping University, Sweden

Peter Fritzson
Department of Computer and Information Science, Linköping University, Sweden

Download article

Published in: Proceedings of the 5th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools; April 19; University of Nottingham; Nottingham; UK

Linköping Electronic Conference Proceedings 84:13, p. 109-110

Show more +

Published: 2013-03-27

ISBN: 978-91-7519-621-3 (print)

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

Abstract

This paper demonstrates the OpenModelica graphic editor for easy-to-use graphic modeling of Modelica models and the Modelica debugger. The graphic editor aims at providing a user friendly open source Modelica modeling graphical user interface since most of the already existing open source tools were either textual or not so user friendly. The target audiences for the tool are the Modelica users who want easy-to-use model creation; library browsing; connection editing; simulation of models; plotting results and visualization of components. Modeling errors and problems are often hard to find because of the high abstraction level of languages like Modelica. Models containing functions with huge algorithm sections increase the need for run-time debugging. The OpenModelica debugger provides a debugging of such models. The debugger currently supports debugging of algorithmic code. The debugger uses the Gnu low-level C-language debugger (GDB) for low-level manipulation and control of the executing program during debugging.

Keywords

Graphic editor; Connection Diagrams; Run-time Debugging; Modeling and Simulation; Algorithmic code.

References

[1] Peter Fritzson. Principles of Object-Oriented Modeling and Simulation with Modelica 2.1; 940 pp.; ISBN 0-471-471631; Wiley-IEEE Press; 2004.

[2] The Modelica Association. The Modelica Language Specification Version 3.2. http://www.modelica.org

[3] Adeel Asghar; Sonia Tariq; Mohsen Torabzadeh-Tari; Peter Fritzson; Adrian Pop; Martin Sjölund; Parham Vasaiely; and Wladimir Schamai. An Open Source Modelica Graphic Editor Integrated with Electronic Notebooks and Interactive Simulation. In Proceedings of
the 8th International Modelica Conference; Dresden; Germany; March.20-22; 2011.

[4] Peter Bunus. Debugging Techniques for Equation-Based Languages. PhD Thesis. Department of Computer and Information Science; Linköping University; 2004.

[5] Adrian Pop and Peter Fritzson: A Portable Debugger for Algorithmic Modelica Code. In Proceedings of the 4th International Modelica Conference; Hamburg; Germany; March 7-8; 2005.

[6] Adeel Asghar; Adrian Pop; Martin Sjölund; and Peter Fritzson. Efficient Debugging of Large Algorithmic Modelica Applications. In Proceedings of MATHMOD 2012 7th Vienna International Conference on Mathematical Modelling; Vienna University of Technology; Vienna; Austria; February 15 - 17; 2012.

[7] Adrian Pop; Peter Fritzson; Andreas Remar; Elmir Jagudin; and David Akhvlediani. OpenModelica Development Environment with Eclipse Integration for Browsing; Modeling; and Debugging. In Proceedings of the Modelica’2006; Vienna; Austria; Sept. 4-5; 2006.

[8] Adrian Pop; David Akhvlediani; and Peter Fritzson. Towards Run-time Debugging of Equation-based Object-oriented Languages. In Proceedings of the 48th Scandinavian Conference on Simulation and Modeling (SIMS’2007); available at www.scan-sims.org and http://www.ep.liu.se. Göteborg; Sweden. October 30-31; 2007.

[9] Martin Sjölund and Peter Fritzson. Debugging Symbolic Transformations in Equation Systems. In Proceedings of the 4th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools; (EOOLT’2011); Zürich; Switzerland; Sept 5; 2011.

[10] Richard Stallman; Roland Pesch; Stan Shebs; et al. Debugging with GDB. Free Software Foundation; 2011.

Citations in Crossref