Release Notes for OpenModelica 1.14.0
OpenModelica Compiler (OMC)
The most dramatic enhancement of the OpenModelica Compiler is the New Frontend, which on the average gives a factor of 10-20 speed improvement in the flattening phase of compilation. The new frontend is default in this release, but a feature is implemented that allows the user to switch to the old frontend if problems appear for a specific model The speed of the OMEdit GUI has only slightly increased in this version, since it is still dependent mostly on the old frontend. Further GUI speed increases are available in the coming OpenModelica.1.15.0. About 200 issues have been fixed, including enhancements, compared to the previous 1.13.2 release. The bug fixes are on trac.
OpenModelica Compiler New Frontend news:
- Implementation of expandable connectors completed, a rather large piece of work.
- A number of smaller enhancements and fixes
- The New Frontend (NF)gives slightly better simulation coverage on MSL 3.2.3 than the Old Frontend
- The New Frontend is on the average about 20 times faster on flattening.
- Remaining work is mainly on further bug fixing and testing the new frontend for all other libraries, as well as more work on modifiers of arrays in conjunction with non-expanded arrays. (The array modifiers have now been implemented in 1.16.0 but not yet it 1.14.0 in order to not delay the 1.14.0 release)
Graphic Editor OMEdit
- Drag and drop for the text layer.
- Auto completion of class names, components and annotations.
- GUI for data reconciliation – a method for increasing sensor data precision
- Improved duplication functionality for copying classes.
- Better handling of Compiler flags.
- Partly completed: annotations for dynamic icon update.
- Support for connectorSizing annotation
- Several bug fixes. You can find the list here.
- Docs: https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/omedit.html .
- Autocomplete annotations.
- Support for Icon/Diagram map annotation
- Copy paste functionality
- Reset OMEdit settings/options.
- Array plots update on re-simulation
- Support for connectorSizing annotation.
- Drag and drop class names to text layer in OMEdit
- OMPlot: Improved plotting e.g., top and bottom margins for better view, snap to curve etc.
- GUI support for replaceable libraries is being tested in a separate branch and will be made available in the coming 1.15.0 release.
OMC backend and run-time system
- A new more efficient and correct implementation of arrays and records.
- The FMI OMSimulator API calls are now also available in the OMC API functions, e.g. for use from OMNotebook, Jupyter notebooks.
Backend new features
- Added possibility to generate analytic Jacobians for linear strong components
- -Use flag LSanalyticJacobian to enable analytical Jacobian for linear loops. Default false.
- Added output language options for linearization: matlab, python, julia.
- Available with --linearizationDumpLanguage=modelica/matlab/python/julia. Default is modelica.
Backend enhancements
- Unified Jacobian evaluation from DASSL and IDA integrators
- Added result check for linear solvers Lis, Klu, Total Pivot and Umfpack if a residual function is available.
- Improved debug dumping
- -d=bltdump (Index reduction information)
- -d=initialization
- -d=dumpLoops
- Improved warning for iteration variables:
- Only warn about non-linear iteration variables with default start attribute.
- Other variables have no influence on simulation at all.
- Build instructions for OpenModelica on Windows Subsystem for Linux
- Improved Jacobian evaluation with translation flag -d=symJacConstantSplit (requires --generateSymbolicJacobian) Generate Jacobians with separated constant part to split equations that are independent of the seed vector. These equations only need to be evaluated only once per Jacobian evaluation.
Backend bugfixes
- Homotopy: Use simplified version only during initialization to avoid errors during matching and differentiation.
- Logging for Homotopy path fixed so log can be loaded in OMEdit.
- Support general function call differentiation for equations in residual form.
- Equations in residual form don't fail during index reduction any more.
FMI Support
Bug fixes to FMI export, see below
Other things
Component: *unknown* (11 matches)