wiki:ReleaseNotes/1.14.0

1.13.0 | 1.15.0

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)

Ticket Summary Resolution Owner Type Priority Version
#3745 omc --version works differently in Linux and Windows fixed somebody defect high v1.9.4-dev-nightly
#4739 Erroneous equation count with arrays fixed somebody defect high
#5250 Documentation generator (probably icon generator) creates file names that are not legal in Windows fixed adrpo defect high v1.14.0-dev-nightly
#5317 RPM's might have too many provides fixed sjoelund.se defect normal v1.13.0
#5454 Make all parameters unchangeable when -d=evaluateAllParameters is set fixed adrpo defect blocker
#5467 Parameter changes before resimulation are ignored if kinsol is used as nonlinear solver fixed somebody defect high v1.14.0-dev-nightly
#5469 OMC cannot read UTF-8 CombiTimeTable data files with BOM fixed sjoelund.se defect blocker
#5608 Compiler error on enumerated type fixed somebody defect high v1.13.0
#5623 Import issue in OpenModelica fixed somebody defect high v1.14.0-dev-nightly
#5658 Wrong error message when using some built-in function (abs, mod) with undefined variables as arguments fixed somebody defect low v1.13.2
#5660 Managing the 1.14.0 release process fixed adrpo discussion high

Component: Backend (18 matches)

Ticket Summary Resolution Owner Type Priority Version
#2621 dimension errors in Annex60.Controls.Continuous.Examples.SignalRanker fixed probably noone defect high trunk
#4157 Problems with complex numbers fixed AnHeuermann defect blocker
#4354 Missing inlining of initial equations causes inefficiencies with Complex initial equations fixed lochel defect high
#4793 Complex division is not working in MSL simulation example fixed Karim.Abdelhak defect blocker
#5110 Inefficient translation of models with arrays fixed rfranke enhancement critical
#5170 GenerationOfFMUs examples in the MSL are broken because of unrecognized redundant initial equations fixed Karim.Abdelhak defect blocker
#5201 Problem in generated code from Modelica.Media mixture fixed wbraun defect blocker
#5226 Support conditional equations in tearing fixed wbraun defect critical
#5228 OMSimulator cannot simulate two connected FMUs exported from OMEdit fixed lochel defect high v1.13.0-dev-nightly
#5303 Should the default for --maxMixedDeterminedIndex be increased? fixed lochel defect high
#5305 ModelicaIO lib is missing in SimCode makefileParams.libs for msvc simCodeTarget fixed lochel defect high
#5316 Error: The given system is mixed-determined. [index > 3] is very confusing fixed Karim.Abdelhak defect blocker
#5335 Equation order influences the selection of alias variables fixed lochel defect blocker v1.14.0-dev-nightly
#5458 Unknowns with explicitly set start attributes should be preferred as tearing variables fixed lochel defect blocker
#5602 Improved diagnostics to avoid nonlinear solver failures fixed Karim.Abdelhak enhancement critical
#5651 Problem with findZeroCrossings fixed lochel defect blocker
#5659 Wrong behaviour of backend in algorithm section fixed Karim.Abdelhak defect critical
#5675 Bad memory management issue with iteration variable warning and dump fixed AnHeuermann defect blocker

Component: Build Environment (2 matches)

Ticket Summary Resolution Owner Type Priority Version
#5261 OM Won't build under MacOS 10.14 fixed sjoelund.se defect blocker
#5262 OMC Virtualbox Doesn't Boot fixed sjoelund.se defect blocker

Component: Code Generation (1 match)

Ticket Summary Resolution Owner Type Priority Version
#4896 Special characters in directory cause simulation failure fixed sjoelund.se defect high v1.13.0-dev-nightly

Component: Cpp Run-time (1 match)

Ticket Summary Resolution Owner Type Priority Version
#5522 The CPP runtime is broken fixed niklwors defect blocker

Component: FMI (4 matches)

Ticket Summary Resolution Owner Type Priority Version
#4800 [FMI] For the module structure alias for output states are introduced invert them. fixed lochel defect high v1.13.0-dev-nightly
#5420 All Opened Libraries Are Included in Resource Folder FMU fixed sjoelund.se defect high
#5431 FMU Unable to Find File on Resource Folder in Windows fixed lochel defect blocker v1.14.0-dev-nightly
#5555 FMI export broken if OpenModelica is installed in the Program Files directory fixed adrpo defect blocker v1.14.0-dev-nightly

Component: Frontend (9 matches)

Ticket Summary Resolution Owner Type Priority Version
#1447 Vectorization does not work in front end fixed dhedberg defect high
#1934 Support calling functions via component reference fixed adrpo defect high trunk
#2023 Array slice operation fails on multi-level components fixed somebody defect high trunk
#2078 Inner/outer not working in algorithm section fixed somebody defect high trunk
#2350 Experiment annotation ignored when using +s fixed sjoelund.se defect high
#2426 Improve error message for when-statement in function fixed somebody defect high trunk
#2608 Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip fails fixed somebody defect high trunk
#2672 Bug with redeclare/replaceable record fixed somebody defect high trunk
#3679 getComponentAnnotations is too slow on MSL components fixed adrpo defect blocker v1.10.0-dev-nightly

Component: Initialization (1 match)

Ticket Summary Resolution Owner Type Priority Version
#5294 Backend does not support initial if equation with assert fixed Karim.Abdelhak defect high v1.14.0-dev-nightly

Component: Installation program (5 matches)

Ticket Summary Resolution Owner Type Priority Version
#1752 A Space in the installation path name prevents simulation in OMShell fixed adrpo defect blocker
#4504 Respect the standards of Windows application installation fixed adeas31 defect blocker v1.13.0-dev-nightly
#5648 Error with FMU export if OMEdit is installed in Program Files fixed adeas31 defect blocker v1.14.0-dev-nightly
#5654 OMEdit installation error fixed adeas31 defect blocker v1.14.0-dev-nightly
#5698 Cpp FMI Export doesn't work with OpenModelica 1.14.0 under Windows fixed adeas31 defect blocker v1.14.0-dev.beta2

Component: Instantiation (1 match)

Ticket Summary Resolution Owner Type Priority Version
#1573 reinit(vector, matrix[index]) is not vectorized properly. fixed adrpo defect high

Component: Interactive Environment (8 matches)

Ticket Summary Resolution Owner Type Priority Version
#3567 diffModelicaFileListings removes within clause fixed sjoelund.se defect blocker
#3743 Slowness and error in OMEdit error when resizing fixed sjoelund.se defect blocker v1.9.4-dev-nightly
#4438 Change order of models in a sub-package does not work on multiple files fixed perost defect blocker v1.12.0
#4595 Reordering models in a package has no permanent effect fixed adrpo defect blocker
#5400 Moving a model in package breaks other models fixed perost defect blocker v1.14.0-dev-nightly
#5413 Erroneous huge message when duplicating fixed adeas31 defect blocker v1.13.2
#5548 OMEdit crashes during startup fixed adrpo defect blocker v1.14.0-dev-nightly
#5571 NF API can't fetch bitmap annotation fixed adrpo defect blocker

Component: NF API (6 matches)

Ticket Summary Resolution Owner Type Priority Version
#5484 OMEdit settings for NF API fixed adrpo defect blocker
#5502 Modelica.Fluid component icons are not shown correctly fixed adrpo defect blocker
#5506 NF does not read diagram coordinates fixed adrpo defect blocker v1.14.0-dev-nightly
#5508 getExtendsModifierNames() API call still slow with -nfAPI fixed adrpo defect blocker
#5528 NF API cannot instantiate a simple model with Medium package fixed adrpo defect blocker
#5565 OMEdit generates bogus warnings about missing inner declarations when opening MultiBody models fixed adrpo defect blocker

Component: New Instantiation (20 matches)

Ticket Summary Resolution Owner Type Priority Version
#1283 Assigning matrices is terribly inefficient (unneeded expand) fixed perost defect blocker trunk
#1937 New instantiation does not respect uses-annotation fixed perost defect high trunk
#4297 Sum of complex quantities cannot be handled fixed perost defect high
#4629 Perform unit checking by default only when doing checkModel fixed sjoelund.se enhancement blocker
#5200 The backend does not handle reductions correctly fixed lochel defect blocker
#5249 [NF] Issues with variable scalarization fixed perost defect high
#5254 Issue with constaining class in replaceable array of models fixed perost defect high
#5336 [NF] Frontend sets all non-connectors variables and parameters to DAE.POTENTIAL fixed adrpo defect high
#5385 -d=evaluateAllParameters should not evaluate non-fixed parameters fixed perost defect critical
#5493 The NF does not handle array modifiers correctly fixed perost defect blocker
#5516 tableOnFile parameter of a CombiTable2D appears modifiable when using NF fixed perost defect normal v1.14.0-dev-nightly
#5534 NF fails checkModel on an otherwise sane model fixed perost defect blocker
#5542 OMC generates simulation code out of systems with invalid connections fixed perost defect blocker
#5582 The annotation InlineAfterIndexReduction is not included in the shown structural annotations fixed perost defect high
#5617 This model crashes omedit fixed adrpo defect blocker v1.14.0-dev-nightly
#5637 NFScalarize.scalarize fails with no errors on OpenHPL models fixed perost defect blocker
#5642 The frontends do not handle actualStream correctly fixed perost defect blocker
#5678 Duplicated index name undetected in nested loops fixed perost discussion critical
#5685 The NF does not perform unit checking on arrays or elements thereof fixed perost defect normal
#5711 Symbolic error fixed perost defect critical v1.13.2

Component: OMEdit (84 matches)

Ticket Summary Resolution Owner Type Priority Version
#1883 OMEdit has issues when opening files with special chars in them ... fixed adrpo defect high trunk
#2166 Snap to curve in OMEdit plot fixed adeas31 enhancement high trunk
#2395 connectorSizing fixed adeas31 defect blocker trunk
#2960 Extremely sluggish performance of OMEdit when browsing MSL and dragging components thereof fixed adeas31 defect blocker trunk
#3776 Copy & paste in OMEdit fixed adeas31 enhancement high
#4008 OMEdit: Can't change AC1ph_DC ACvoltage source fType_par parameter in the dialog fixed adeas31 defect blocker
#4139 OMEdit fails to pass correct platform triplets when cross compiling an FMU fixed atrosinenko defect normal v1.11.0
#4286 A very frequent strange message in OMEdit (Mac OS) fixed adeas31 defect high
#4302 Distorted text in OMEdit icons fixed adeas31 defect low
#4369 Improper use of square brackets fixed adeas31 defect normal
#4475 Make it possible to actually inspect real-life debug logs in OMEdit fixed adeas31 enhancement blocker
#4695 New Array Plot Window behavior is not clear fixed jansilar discussion normal v1.13.0-dev-nightly
#4799 Duplicate of packages is not working if not saved in one file fixed adeas31 defect high v1.13.0-dev-nightly
#4842 Variable browser in OMEdit confuses the display unit when loading results files fixed adeas31 defect high
#4854 Feature request: delete folder related with package deletion fixed adeas31 enhancement high
#4875 Duplication of clases creates weird Modelica code fixed adeas31 defect high
#4922 Tool "import ngspice netlist" not working fixed adeas31 defect high v1.13.0-dev-nightly
#4937 Horizontal lines half-cut when on the top side of the plotting rectangle fixed adeas31 defect high
#4945 Text should not go beyond icon boundary fixed adeas31 defect high
#4955 Bad OMEdit behaviour when requiring a wrong duplication twice fixed adeas31 defect normal
#4988 Array plots are not updated fixed jansilar defect normal
#5030 Profiling is broken fixed adeas31 defect blocker
#5044 Choice of C compiler on OMEdit under Linux is currently confusing fixed adeas31 defect high
#5048 Wrong error messages fixed adeas31 defect blocker
#5122 Error message on mac fixed adeas31 defect high v1.12.0
#5128 Drag and drop class names to text layer in OMEdit fixed adeas31 enhancement high
#5132 Allow to set -d=evaluateAllParameters from the OMEdit GUI fixed adeas31 enhancement blocker
#5140 Change font size in OMEdit plot windows fixed adeas31 enhancement high
#5191 Improve workflow when duplicating a model fixed adeas31 enhancement high
#5192 OMEdit since 1.13 crashes if there are non-ASCII characters in the Windows username fixed adeas31 defect blocker v1.13.0-dev-nightly
#5247 Opening OMSimulator projects makes OMEdit slower and unstable fixed adeas31 defect blocker v1.13.0-dev.beta1
#5274 Allow opening the transformation debugger upon successful simulation fixed adeas31 enhancement high
#5310 Add checkbox for newInst in OMEdit fixed adeas31 enhancement high v1.14.0-dev-nightly
#5329 How to group flags for code generation options in OMEdit fixed adeas31 enhancement high
#5333 Autocompletion of annotations fixed atrosinenko enhancement high
#5337 Cannot switch to Text View if preferredView="info" is selected fixed adeas31 defect high
#5343 Duplicate of read only model is also read only (but shouldn't) fixed adeas31 defect high v1.14.0-dev-nightly
#5355 OMEdit does not rename file and does not update the package.order file when model is renamed fixed adeas31 defect blocker v1.14.0-dev-nightly
#5359 Some simulation setting annotations used only once per session fixed adeas31 defect high v1.13.0
#5387 Broken installation of OMEdit fixed adeas31 defect blocker v1.14.0-dev-nightly
#5392 OMedit crashes upon editing a simple package definition fixed adeas31 defect blocker v1.14.0-dev-nightly
#5393 OMEdit loses source code when trying to duplicate classes in single-file packages fixed adeas31 defect blocker v1.14.0-dev-nightly
#5412 A case of missed switch to plotting perspective fixed adeas31 defect normal v1.13.2
#5422 Fail to connect Modelica.Icons.SignalBus components (expandable connectors) fixed adeas31 defect blocker v1.14.0-dev-nightly
#5430 OMEdit Documentation fixed adeas31 enhancement low
#5434 deleting Modelica folders allowed? fixed adeas31 discussion critical
#5435 Resetting OMEdit to default options fixed johti17 enhancement normal
#5437 OMEdit behaves weirdly when opening files in directories with accented letters fixed adeas31 defect blocker v1.13.2
#5441 OMEdit toolbars fixed adeas31 defect normal v1.14.0-dev-nightly
#5443 File is opened in OMEdit if I expand and unexpand elements in the tree view fixed adeas31 defect low v1.13.2
#5446 Scripting Notifications does not show up after simulation fixed adeas31 defect normal v1.14.0-dev-nightly
#5456 OMEdit lost FMI export and Cpp support fixed adeas31 defect blocker
#5471 OMEdit shows %name instead of the instance name in diagram view fixed adeas31 defect blocker v1.14.0-dev-nightly
#5481 Parameter previewed in Diagram View are not correctly shown fixed adeas31 defect high v1.14.0-dev-nightly
#5486 OMEdit does not update the %name field in Diagram view fixed adeas31 defect blocker v1.14.0-dev-nightly
#5490 Make the NF the default choice for code generation with automatic fallback to OF fixed adeas31 enhancement blocker
#5507 OMEdit crashes when text is written in icon view fixed johti17 defect blocker v1.14.0-dev-nightly
#5515 Allow for some margin at the top and bottom of plot windows in OMEdit fixed adeas31 enhancement critical
#5517 Clicking arrow-up crashes OMEdit fixed adeas31 defect critical
#5519 OMEdit does not update the graphical annotations of conections when moving components fixed adeas31 defect blocker v1.14.0-dev-nightly
#5533 Missing connection and port symbols in OMEdit fixed adeas31 defect high
#5537 Multiple parameter values in icon layer arent displayed correct fixed adeas31 defect low v1.14.0-dev-nightly
#5541 CTRL + Home not working in OMEdit Text View fixed adeas31 defect high v1.14.0-dev-nightly
#5546 Autocomplete works only at library top-level fixed adeas31 defect high v1.14.0-dev-nightly
#5554 Icons in Libraries browser should keep their aspect ratio fixed adeas31 defect normal
#5561 OMEdit should show values also in case of identical curves fixed adeas31 defect normal
#5563 Inconsistent behaviour of OMC with ThermoPower models fixed adeas31 defect blocker
#5566 OMEdit no longer shows the 3D Animation windows fixed adeas31 defect blocker
#5567 The engine V6 animation is completely black fixed vwaurich defect blocker
#5569 Changes to additional translation flags are often ignored until OMEdit is restarted fixed adeas31 defect blocker
#5588 Deleting submodel crashes OMEdit fixed adeas31 defect blocker v1.14.0-dev-nightly
#5611 Array Plot Window: Wrong Behaviour and OMEdit Crash fixed adeas31 defect blocker v1.14.0-dev-nightly
#5613 Double-click for parameter window doesn't work on several components fixed adeas31 enhancement high v1.13.0
#5622 Editor issue on not keeping changes fixed adeas31 defect high v1.14.0-dev-nightly
#5628 OMEdit doesn't allow to choose the array element when a connection is made from graphical view fixed adeas31 defect blocker v1.14.0-dev-nightly
#5633 Default name for the first instance of a class fixed adeas31 defect high
#5646 Crash when importing SSP files with TLM systems fixed adeas31 defect blocker
#5655 Wrong array re-indexing in OMEdit fixed adeas31 defect blocker v1.14.0-dev-nightly
#5663 OMEdit hangs when opening attached example fixed adeas31 defect blocker v1.14.0-dev-nightly
#5666 OMEdit propose invalid identifier for Constant block fixed adeas31 defect blocker v1.14.0-dev-nightly
#5680 Dots replaced by __ in text view when creating a model in graph view fixed adrpo defect blocker v1.14.0-dev-nightly
#5691 OMEdit overlaps diagrams of different models fixed adeas31 defect blocker v1.14.0-dev.beta1
#5704 OMEdit does not show wires after you try to connect a component itself fixed adeas31 defect blocker v1.14.0-dev.beta2
#5716 Wrong repainting of Icons in OMEdit fixed adeas31 defect blocker v1.14.0-dev.beta2

Component: OMOptim (1 match)

Ticket Summary Resolution Owner Type Priority Version
#5409 can't compile fixed adrpo defect high v1.14.0-dev-nightly

Component: Run-time (9 matches)

Ticket Summary Resolution Owner Type Priority Version
#1653 Simulation uses wrong results from singular liniear system for calculation. fixed sjoelund.se defect high v1.13.0-dev-nightly
#3152 HTML profiling report is broken fixed sjolund.se defect high trunk
#3779 Wrong generated code for a model of the Buildings library fixed somebody defect high
#4941 Remove misleading fScaling labels in Kinsol solver diagnostics fixed wbraun defect high
#5306 OMC on Windows is broken because of linker issues with sundials fixed adrpo defect blocker v1.14.0-dev-nightly
#5377 OMEdit sometimes does not refresh result file and/or plots after successful simulation fixed adrpo defect blocker v1.13.2
#5381 Do not report negative simulation time fixed sjoelund.se defect normal v1.14.0-dev-nightly
#5470 Incorrect assumption of OMC solver on minimum time step should be removed fixed Karim.Abdelhak defect blocker
#5696 [RUNTIME] Allow to combine -override and -overrideFile as otherwise it won't work from OMEdit fixed lochel defect high

Component: Scripts (1 match)

Ticket Summary Resolution Owner Type Priority Version
#5641 Icon generator does not render text on package correctly fixed adeas31 defect blocker v1.14.0-dev-nightly

Component: Testing Framework (4 matches)

Ticket Summary Resolution Owner Type Priority Version
#5176 The CI verification results are broken if the reference result file has a wider interval than StopTime fixed sjoelund.se defect critical
#5242 PowerSystems should be updated to 1.0.0 in https://github.com/modelica/PowerSystems/tree/release fixed rfranke defect high
#5264 Coverage history plots are broken fixed adrpo defect high
#5265 Please add 1.13 and 1.13-fmi to history fixed sjoelund.se defect critical

Component: Third-Party Libraries (3 matches)

Ticket Summary Resolution Owner Type Priority Version
#5296 Support of MSL 3.2.3 fixed adrpo task blocker
#5399 Update MSL 3.2.3 for omc 1.14.0 fixed sjoelund.se enhancement blocker
#5492 Update the MSL 3.2.3 to the contents of the maintenance branch for the 1.14.0 release fixed sjoelund.se defect blocker

Last modified 4 years ago Last modified on 2019-12-05T22:35:33+01:00