OpenModelica

Latest

The latest news from the Joomla! Team

The OpenModelica 1.8.1 has been released. You can find the Windows builds here. The Linux and MacOS builds are available via the Download menu above.

Many thanks to everybody who contributed!

A.1 OpenModelica 1.8.1, April 2012

The OpenModelica 1.8.1 release has a faster and more stable OMC model compiler. It flattens and simulates more models than the previous 1.8.0 version. Significant flattening speedup of the compiler has been achieved for certain large models. It also contains a New ModelicaML version with support for value bindings in requirements-driven modeling and importing Modelica library models into ModelicaML models. A beta version of the new OpenModelica Python scripting is also included.

A.1.1 OpenModelica Compiler (OMC)

This release includes bug fixes and improvements of the flattening frontend part of the OpenModelica Compiler (OMC) and several improvements of the backend, including, but not restricted to:

  • A faster and more stable OMC model compiler. The 1.8.1 version flattens and simulates more models than the previous 1.8.0 version.
  • Support for operator overloading (except Complex numbers).
  • New ModelicaML version with support for value bindings in requirements-driven modeling and importing Modelica library models into ModelicaML models.
  • Faster plotting in OMNotebook. The feature sendData has been removed from OpenModelica. As a result, the kernel no longer depends on Qt. The plot3() family of functions have now replaced to plot(), which in turn have been removed. The non-standard visualize() command has been removed in favour of more recent alternatives.
  • Store OpenModelica documentation as Modelica Documentation annotations.
  • Re-implementation of the simulation runtime using C instead of C++ (this was needed to export FMI source-based packages).
  • FMI import/export bug fixes.
  • Changed the internal representation of various structures to share more memory. This significantly improved the performance for very large models that use records.
  • Faster model flattening, Improved simulation, some graphical API bug fixes.
  • More robust and general initialization, but currently time-consuming.
  • New initialization flags to omc and options to simulate(), to control whether fast or robust initialization is selected, or initialization from an external (.mat) data file.
  • New options to API calls list, loadFile, and more.
  • Enforce the restriction that input arguments of functions may not be assigned to.
  • Improved the scripting environment. cl := $TypeName(Modelica);getClassComment(cl); now works as expected. As does looping over lists of typenames and using reduction expressions.
  • Beta version of Python scripting.
  • Various bugfixes.
  • NOTE: interactive simulation is not operational in this release. It will be put back again in the near future, first available as a nightly build. It is also available in the previous 1.8.0 release.

A.1.2 OpenModelica Notebook (OMNotebook)

  • Faster and more stable plottning.

A.1.3 OpenModelica Shell (OMShell)

  • No changes.

A.1.4 OpenModelica Eclipse Plug-in (MDT)

  • Small fixes and improvements.

A.1.5 OpenModelica Development Environment (OMDev)

  • No changes.

A.1.6 Graphic Editor OMEdit

  • Bug fixes.

A.1.7 OMOptim Optimization Subsystem

  • Bug fixes.

A.1.8 FMI Support

  • Bug fixes.

The OpenModelica 1.8.1 beta has been released. You can find the Windows builds here. The Linux and MacOS builds are available via the Download menu above.

Major new functionality is available in ModelicaML, but also improvements in the compiler and the simulation. It is still a beta version, see missing features at the end of this text.

Many thanks to everybody who contributed!

A.1 OpenModelica 1.8.1, January 2012

A.1.1 OpenModelica Compiler (OMC)

  • Support for operator overloading (preliminary).
  • New ModelicaML version with support for value bindings in requirements-driven modeling and importing Modelica library models into ModelicaML models.
  • Faster plotting in OMNotebook. The feature sendData has been removed from OpenModelica. As a result, the kernel no longer depends on Qt. The plot3() family of functions have now replaced to plot(), which in turn have been removed. The non-standard visualize() command has been removed in favour of more recent alternatives.
  • Store OpenModelica documentation as Modelica Documentation annotations.
  • Re-implementation of the simulation runtime using C instead of C++ (this was needed to export FMI source-based packages).
  • FMI import/export bug fixes.
  • Changed the internal representation of various structures to share more memory. This significantly improved the performance for very large models that use records.
  • Faster model flattening, Improved simulation, some graphical API bug fixes.
  • More robust and general initialization, but currently time-consuming.
  • New options to API calls list, loadFile, and more.
  • Enforce the restriction that input arguments of functions may not be assigned to.
  • Improved the scripting environment. cl := $TypeName(Modelica);getClassComment(cl); now works as expected. As does looping over lists of typenames and using reduction expressions.
  • Various bugfixes.

A.1.2 OpenModelica Notebook (OMNotebook)

  • Faster plotting in OMNotebook.

A.1.3 OpenModelica Shell (OMShell)

  • No changes.

A.1.4 OpenModelica Eclipse Plug-in (MDT)

  • Small fixes and improvements.

A.1.5 OpenModelica Development Environment (OMDev)

  • No changes.

A.1.6 Graphic Editor OMEdit

  • Minor changes and bug fixes.

A.1.7 OMOptim Optimization Subsystem

  • Bug fixes, especially in the Linux version.

A.1.8 Functionality from 1.8 that is missing in 1.8.1 but will be put back soon

  • Missing Interactive simulation.
  • Plots in OMNotebook are not yet put in a cell in the notebook, instead just in a popup window.
  • Release 1.8.1 has a more general and robust initialization algorithm, but currently more time-consuming than in release 1.8. Significant speedup of the new initialization is planned for the next OpenModelica release.

The OpenModelica 1.8.0 was released. You can find the Windows builds here. The Linux and MacOS builds are available via the Download menu above.
Many thanks to everybody that contributed!

 

A.1 OpenModelica 1.8, November 2011

 

The OpenModelica 1.8 release contains OMC flattening improvements for the Media library – it now flattens the whole library and simulates about 20% of its example models. Moreover, about half of the Fluid library models also flatten. This release also includes two new tool functionalities – the FMI for model exchange import and export, and a new efficient Eclipse-based debugger for Modelica/MetaModelica algorithmic code.

A.1.1 OpenModelica Compiler (OMC)

This release includes bug fixes and improvements of the flattening frontend part of the OpenModelica Compiler (OMC) and several improvements of the backend, including, but not restricted to:

· A faster and more stable OMC model compiler. The 1.8.0 version flattens and simulates more models than the previous 1.7.0 version.

· Flattening of the whole Media library, and about half of the Fluid library. Simulation of approximately 20% of the Media library example models.

· Functional Mockup Interface FMI 1.0 for model exchange, export and import, for the Windows platform.

· Bug fixes in the OpenModelica graphical model connection editor OMEdit, supporting easy-to-use graphical drag-and-drop modeling and MSL 3.1.

· Bug fixes in the OMOptim optimization subsystem.

· Beta version of compiler support for a new Eclipse-based very efficient algorithmic code debugger for functions in MetaModelica/Modelica, available in the development environment when using the bootstrapped OpenModelica compiler.

· Improvements in initialization of simulations.

· Improved index reduction with dynamic state selection, which improves simulation.

· Better error messages from several parts of the compiler, including a new API call for giving better error messages.

· Automatic partitioning of equation systems and multi-core parallel simulation of independent parts based on the shared-memory OpenMP model. This version is a preliminary experimental version without load balancing.

A.1.2 OpenModelica Notebook (OMNotebook)

No changes.

A.1.3 OpenModelica Shell (OMShell)

Small performance improvements.

A.1.4 OpenModelica Eclipse Plug-in (MDT)

 

Small fixes and improvements. MDT now also includes a beta version of a new Eclipse-based very efficient algorithmic code debugger for functions in MetaModelica/Modelica.

A.1.5 OpenModelica Development Environment (OMDev)

Third party binaries, including Qt libraries and executable Qt clients, are now part of the OMDev package. Also, now uses GCC 4.4.0 instead of the earlier GCC 3.4.5.

A.1.6 Graphic Editor OMEdit

Bug fixes. Access to FMI Import/Export through a pull-down menu. Improved configuration of library loading. A function to go to a specific line number. A button to cancel an on-going simulation. Support for some updated OMC API calls.

A.1.7 New OMOptim Optimization Subsystem

Bug fixes, especially in the Linux version.

A.1.8 FMI Support

The Functional Mockup Interface FMI 1.0 for model exchange import and export is supported by this release. The functionality is accessible via API calls as well as via pull-down menu commands in OMEdit.

 

 

 

 

6th MODPROD Workshop on Model-Based Product Development, Linköping University, Sweden,  February 7-8, 2012

4th OpenModelica Workshop, Linköping University, Sweden,  February 6, 2012

Organizers: Peter Fritzson, Petter Krus, Kristian Sandahl

 

For more information and the full programs see www.modprod.liu.se and www.openmodelica.org.

The workshops include many invited talks and several keynotes, including the following:

· Keynote, Edward A. Lee, Professor at UC Berkeley, Director of the Berkeley Center for Hybrid and Embedded Software Systems and of the Ptolemy project, California, USA: “Heterogeneous Actor Models

· Keynote, John Baras, Professor at University of Maryland, Washington DC, USA, and Founding Director of the Institute for Systems Research: “COMPASS: Component-based Architectures for Systems Synthesis

· Keynote, Roger Germundsson, Technical Director, Wolfram Research, USA, “Modeling, Simulation & Analysis using MathModelica & Mathematica

OpenModelica workshop invited talks, including:

· Lars Mikelsons, Bosch-Rexroth, Germany: “Virtual Commissioning in D&C Engine: A Roadmap

· Kilian Link, Siemens AG, Germany: “The impact of FMI on In-house Tool Development – Bright Prospects for OpenModelica

The following tutorials are given:

· Tutorial 1: Olena Rogovchenko and Peter Fritzson, Linköping University. “Introduction to Object Oriented Modeling and Simulation with Modelica using OpenModelica”. Hands-on Exercises, bring your laptop.

· Tutorial 2: Wladimir Schamai, EADS, Adrian Pop, Linköping University, “Model-based Development using ModelicaML Value Bindings for Model Composition and Requirements Traceability, and the Modelica MDT Eclipse Plugin with Run-Time Debugging”, hands-on exercises, bring laptop.

· Tutorial 3: Edward A. Lee, Professor at UC Berkeley, USA, “Modeling, Simulation, and Design of Concurrent Real-Time Embedded Systems Using Ptolemy”

· Tutorial 4: John Baras, Professor at University of Maryland, Washington DC, “Systems Engineering with MEMS and COMPASS”

· Tutorial 5: Petter Krus, Linköping University, “System simulation with HOPSAN NG”

Call for exhibitions is now open.  Send email to modprod-submit@ida.liu.se

The Center for Model-based Product Development (MODPROD) is an inter-disciplinary  research center at Linköping University. It revolves around model-based tools and  methods for mechanical systems, electronic systems and software, and unified  approaches for model-based design. This workshop brings together expertise in  these fields to discuss state of the art and the way ahead. In addition, there  are a number of tutorials on selected subjects.

 

Very welcome!

 

Peter Fritzson

 

 

Location

Linköping University, Building B, entry 29, first floor, room Don Knuth.
The closest bus stop is Vallfarten (bus 12 and 20 from Train Station).
See more at the page bottom about buses, travel and accommodation.

 

Contact

If you want to participate or have any other questions or issues please contact:
Adrian Pop [Adrian.Pop@liu.se].  If you get stuck you can call me at: +46762343499.

 

Participants

  • OSMC & PELAB/IDA/LiU - Adrian Pop, Per Östlund, Martin Sjölund, Adeel Asghar, Kristian Stavåker, Olena Rogovchenko, Mahder Gebremedhin (Mon-Fri)
  • VTI - Anders Andersson (Mon-Fri)
  • Equa Simulation - Alexey Lebedev (Mon-Fri)
  • FH-Bielefeld - Willi Braun, Lennart Ochel (Mon-Fri)
  • TU-Dresden - Jens Frenkel (Mon-Fri)
  • TU-Clausthal - Wuzhu Chen (Mon-Fri)?
  • TU-Berlin & Fhg FIRST - Christoph Höger (Thu-Fri)
  • ETH Zurich - Xenofon Floros (Mon-Fri)
  • Bosch Rexroth - Niklas Worschech (Mon-Fri)
  • Insa-Lyon - Hong Viet Luong (Mon-Fri)
  • Fraunhofer IWES - Roland Samlaus
  • maybe more.

 

Topics

The topics (the list is open) for the development week are:

Frontend

  • Redesign and improvements (Adrian, Per & others)
  • Redesign of the OpenModelica API (Adrian, Adeel, Per & others)
  • Separate compilation, non-expanded arrays (Christoph & Alexey)

Backend

  • Further improvements and new functionality
  • Redesign of the simulation runtime (Willi, Jens & others)
  • CPP code generator (Niklas)
  • QSS code generator (Xenofon)
  • Garbage Collector for MetaModelica (Adrian)
  • Parallel support (Martin)

FMI

  • import, export, FMI 2.0 (Wuhzu, Willi, Adeel)

Clients (OMEdit, MDT)

  • improvements & new functionality (Adeel, Adrian & others)

 

Agenda

We start Monday at around 9:00 (or when you arrive).

Basically we have a free agenda, we just get together from 09:00- to 18:00+ 
or as much as we want and work on improving OpenModelica. See the topics above.

This being said, we will have to schedule some presentations:

  • Thursday 10 November 2011, Christoph Höger will talk about 3D graphics and separate compilation.

 

Travel and Accommodation

Hotels in Linköping.
Travel to Linköping.

Notes on the buses:

 

 

  • You can search schedules using a travel robot and enter for example: "Linköping Centralstation" and "Vallfarten (Linköping kn)" to find a bus from the railway station to the university.
  • you will have to buy a bus card and load it before going in the bus. you can buy and load the card at the train station or some Pressbyrån stores
  • you will have to press the stop button in the bus before the station because if no-one has pressed it the bus will not stop. Usually there is a display near the driver and say: "Stannar" if somebody pressed the stop button, also the name of the next station is announced via sound and display.
  • a journey is 15:- SEK so 30:- SEK roundtrip.
  • bus website in English.

 

 

If you get stuck you can call me (Adrian Pop) at: +46762343499.