OPTIMICA Compiler Toolkit

Modelon’s OPTIMICA Compiler Toolkit, the most advanced Modelica-based mathematical engine on the market, offers users a powerful solution for the automation, simulation and optimization of system behaviors throughout the model-based design cycle.

Trusted as the key compiler to Modelon’s modelica-based libraries, OPTIMICA enables users to build multi-domain physical systems by choosing from thousands of available model components. OPTIMICA’s state-of-the-art solvers empower evaluation of complex physical systems - supporting transient simulations as well as steady-state computations and dynamic optimization. The sophisticated mathematical engine can manipulate and simplify models to improve performance and robustness, serving industries and applications ranging from automotive and active safety to energy and power plant optimization.

Modelon’s OPTIMICA Compiler Toolkit is also available for OEM licensing and can be integrated into CAE software products.

OPTIMICA is based on JModelica.org technology. 


  • Implementation: Efficient and dependable implementation thanks to OPTIMICA’s powerful API and deployment experts
  • Compliance: Compliant with Modelon’s industry leading libraries, the Modelica Standard Library (3.2.2), and FMI (v 1.0 and v 2.0) standards
  • Performance: State of the art solvers for robust, accurate and efficient computations of model behavior
  • Analysis Range: Solvers for transient simulation, steady-state computations and dynamic optimization
  • Optimized Integration: Seamless integration into leading engineering environments through Modelon’s FMI Toolbox for MATLAB®/Simulink, PyFMI (Python) and FMI Add-in for Excel
  • Custom Workflows: Seamless integration into custom, automated engineering design work flows to develop engineering design applications.
The steady-state solver capabilities of the OPTIMICA Compiler Toolkit enables reliable convergence even for challenging physical models.



Power plant optimization

To meet the increased need for regulating power in today’s energy market, start-up optimization of thermal power plants is a key industrial need. Model Predictive Control is implemented in the OPTIMICA Compiler Toolkit and successfully applied on both lignite boilers and combined cycle power plants to optimize the start-up process.

The optimization reduces the start-up time without violating the thermal and mechanical stress constraints that govern the lifetime of the boiler’s critical components.

Heating distribution

Production planning of district heating system is important as the customer heating demand varies throughout the day, and the production units have different production, start-up, and shut-down costs. 

The OPTIMICA Compiler Toolkit is used in conjunction with a mixed-integer linear programming solver to find optimal production schemes of heat and electricity for small to medium sized district heating systems. The optimized schemes demonstrate potential savings while maintaining robustness of heat delivery.

Vehicle trajectory optimization

The OPTIMICA Compiler Toolkit is successfully used for vehicle trajectory optimization. By optimizing the vehicle negotiating a maneuver, we can evaluate the results of different actuator options, actuator performance limitations and also environmental parameters (e.g. road friction). 

The result of the optimization gives valuable insight into what actuator choices best fit the desired use case and provides a performance benchmark useful when tuning controllers. 

All these capabilities contribute to the active safety of the vehicles.

OPTIMICA Compiler Toolkit - Overview

A framework for nonlinear model predictive control in JModelica.org

(Presentation from Modelica Conference 2015)

Technical Articles:

  1. Christian Andersson, Methods and Tools for Co-Simulation of Dynamic Systems with the Functional Mock-up Interface, PhD Thesis, Lund University, Sweden, 2016.
  2. Christian Hartlep, Toivo Henningsson, NMPC Application using JModelica.org: Features and Performance,  In 11th International Modelica Conference, Paris, France, September 2015, pp. 321-327.
  3. Fredrik Magnusson, Johan Åkesson: "Dynamic Optimization in JModelica.org". Processes, 3:2, pp. 471–496, 2015.
  4. Håkan Runvik, Per-Ola Larsson, Stéphane Velut, Jonas Funkquist, Markus Bohlin, Andreas Nilsson and Sara Modarrez Razavi: "Production Planning for Distributed District Heating Networks with JModelica.org". In 11th International Modelica Conference, Paris, France, September 2015, pp. 217-223.
  5. Dietl, K., et al., "Industrial application of optimization with Modelica and Optimica using intelligent Python scripting", In 10th International Modelica Conference, Lund, Sweden, March 2014, pp.777-786
  6. Elin Sällberg, Alexandra Lind, Stéphane Velut, Johan Åkesson, Stephanie Gallardo Yances, Kilian Link: "Start-up Optimization of a Combined Cycle Power Plant". In 9th International Modelica Conference, Munich, Germany, September 2012.
  7. Peter Sundström, Mats Jonasson, Johan Andreasson, Annika Stensson Trigell, Bengt Jacobson  : "Path and control signal optimisation for over-actuated vehicles in two safety-critical maneuvers". In 10th International Symposium on Advanced Vehicle Control (AVEC 10), August 22-26, 2010 in Loughborough, UK. (2010)




OPTIMICA Compiler Toolkit is a product of Modelon and is distributed by Modelon and partners worldwide.

  Make an Inquiry

Release Information

[We] are integrating Modelon’s OPTIMICA Compiler into the Simplorer environment, providing our customer base with support for creating and simulating a rich collection of Modelica models that span numerous engineering disciplines and applications.

Lee Johnson , Product Manager, Systems Business Unit, ANSYS