To All Participants!

Similar documents
1st Annual OpenModelica Workshop Feb 2, 2009

3rd Annual OpenModelica Workshop Feb 7, 2011

4th Annual OpenModelica Workshop Feb 6, 2012

5th Annual OpenModelica Workshop Feb 4, 2013

int a; class x { public int a; class x { float b; Asda ad public int a; Asa asad Aac sdscfcc c a

9th Annual OpenModelica Workshop Feb 6, 2017

Modelica Environments and OpenModelica

Research in Model-Based Product Development at PELAB in the MODPROD Center

Technical Overview of OpenModelica and its Development Environment

Integrated Modeling of CPS including Requirements: Open Source MBSE Tools Based on Modelica and UML

Research in Model-Based Product Development at PELAB in the MODPROD Center

Technical Overview of OpenModelica and its Development Environment

Technical Overview of OpenModelica and its Development Environment

MODPROD'2014 8th International Workshop on Model-Based Product Development

Technical Overview of OpenModelica and its Development Environment

Technical Overview of OpenModelica and its Development Environment

Proceedings of the 4th International Modelica Conference, Hamburg, March 7-8, 2005, Gerhard Schmitz (editor)

and its Development Environment

ModelicaML: Getting Started Issue April 2012

Towards Run-time Debugging of Equation-based Object-oriented Languages

A Modular. OpenModelica. Compiler Backend

Modelica- A cyber-physical modeling language and the OpenModelica environment

Increasing programmability

Towards Unified System Modeling with the ModelicaML UML Profile

OpenModelica Development Environment with Eclipse Integration for Browsing, Modeling, and Debugging

OpenModelica Environment and Modelica Overview

Model-Based Dynamic Optimization with OpenModelica and CasADi

AUTOMATIC PARALLELIZATION OF OBJECT ORIENTED MODELS ACROSS METHOD AND SYSTEM

Vice Chairman of Modelica Association Director of Open Source Modelica Consortium

Automatic Parallelization of Mathematical Models Solved with Inlined Runge-Kutta Solvers

2 nd UML 2 Semantics Symposium: Formal Semantics for UML

A Strategy for Parallel Simulation of Declarative Object-Oriented Models of Generalized Physical Networks

A Model Driven Approach for Requirements Engineering of Industrial Automation Systems

Parallel Computing Using Modelica

Dynamic Load Balancing in Parallelization of Equation-based Models

Task Status Report to ExCo April 25-26th 2013, The Netherlands

OpenModelica Compiler (OMC) Overview

An Overview of the SysML-Modelica Transformation Specification

Contributions to Parallel Simulation of Equation-Based Models on Graphics Processing Units

OpenModelica Compiler (OMC) Overview

Proceedings of the 4th International Modelica Conference, Hamburg, March 7-8, 2005, Gerhard Schmitz (editor)

An Eclipse-based Integrated Environment for Developing Executable Structural Operational Semantics Specifications

Integrated Debugging of Equation-Based Models

General Overview & Annex 1: Global Smart Grid Inventory

EXPRESSING REQUIREMENTS IN MODELICA

Model driven Engineering & Model driven Architecture

Dynamic Cuda with F# HPC GPU & F# Meetup. March 19. San Jose, California

Towards Unified System Modeling and Simulation with ModelicaML: Modeling of Executable Behavior Using Graphical Notations

Appending Variable-Structure to Modelica Models (WIP)

Extending the IPG CarMaker by FMI Compliant Units

Towards Modelica 4 Meta-Programming and Language Modeling with MetaModelica 2.0

AutoTune Workshop. Michael Gerndt Technische Universität München

GMF Tooling 3.0 Vision, Architecture, Roadmap

OpenModelica. Workshop Chair of Construction Machines. Functional Design-Prototyping using. OpenModelica. Volker Waurich

SDACCEL DEVELOPMENT ENVIRONMENT. The Xilinx SDAccel Development Environment. Bringing The Best Performance/Watt to the Data Center

The Modelica Object-Oriented Equation-Based Language and Its OpenModelica Environment with MetaModeling, Interoperability, and Parallel Execution

Out-of-Order Parallel Simulation of SystemC Models. G. Liu, T. Schmidt, R. Dömer (CECS) A. Dingankar, D. Kirkpatrick (Intel Corp.)

Industrial Evaluation of an Efficient Equation Model Debugger in OpenModelica

IWES st Italian Workshop on Embedded Systems Pisa September 2016

Transformational Design with

Semantics-Based Integration of Embedded Systems Models

Proceedings of the 4th International Modelica Conference, Hamburg, March 7-8, 2005, Gerhard Schmitz (editor)

Tooled Process for Early Validation of SysML Models using Modelica Simulation

The OpenModelica Modeling, Simulation, and Development Environment

CIM 2 Modelica Factory

Bridging the Real World with the Digital

OpenModelica OMShell and OMNotebook Introduction and Exercises

Compositional Model Based Software Development

oordination upport Status: February 2017

jcolibri CBR Framework

Model Driven Architecture - The Vision

Object-Oriented Theories for Model Driven Architecture

OMG Specifications for Enterprise Interoperability

Protégé: Past, Present, and Future. Ray Fergerson Stanford

An Easy-to-use Generic Model Configurator for Models in Multiple Tool Formats

Enhancing the RAMSAS method for Systems Reliability Analysis through Modelica

M25PXX 512 Kbit to 32 Mbit, Low Voltage, Serial Flash Memory With 40 MHz or 50 MHz SPI Bus Interface

Architectural Design

CUDA PROGRAMMING MODEL Chaithanya Gadiyam Swapnil S Jadhav

Execution of UML State Machines Using Modelica

Institutionen för datavetenskap

Definition of Visual Language Editors Using Declarative Languages

Modelica3D. Platform Independent Simulation Visualization. Christoph Höger. Technische Universität Berlin Fraunhofer FIRST

French & American Educational System. Collaboration between Rutgers & Paris 6. M.S. : Distributed Systems & Applications

Designing a System Engineering Environment in a structured way

Future Directions for SysML v2 INCOSE IW MBSE Workshop January 28, 2017

RAMSES: a Reflective Middleware for Software Evolution

A Formal V&V Framework for UML Models Based on Model Transformation Techniques

Project Data. Proposed duration: 30 months Requested total funding: 2.87 MEUR Strategic objective addressed: IST : Software and Services

RTCC SMART Series. Duke Energy s Coalition of the Willing. March 18, #RTCCSMARTSeries. Presented By: Program Sponsors:

Euro-IX update. EIX WG Ripe 53 Amsterdam. Serge Radovcic. Euro-IX update. EIX WG RIPE53 Amsterdam. Oct 5th 2006

Comment- and Indentation Preserving Refactoring and Unparsing for Modelica

Task Status Report to ExCo October 17th 2013, Switzerland

DISTRIBUTED ENGINEERING ENVIRONMENT FOR INTER-ENTERPRISE COLLABORATION

Stakeholder consultation process and online consultation platform

Chapter 6 Architectural Design. Chapter 6 Architectural design

This is the published version of a paper presented at IEEE PES General Meeting 2013.

New Generation Open Content Delivery Networks

Portable Stimulus Working Group

On the link between Architectural Description Models and Modelica Analyses Models

Transcription:

2nd Annual OpenModelica Workshop Feb 8, 2010 Workshop Opening OpenModelica tatus and Directions 1 To All Participants! Very Welcome to this econd Annual OpenModelica Workshop! 2

New OpenModelica Web ite from February 2010 3 Goals for the OpenModelica Effort Comprehensive modeling, simulation and systems engineering environment for research, teaching, and industrial usage Open-source for both academic and commercial usage Invitation for open-source cooperation around OpenModelica, tools, and applications 4

Current OpenModelica www.openmodelica.org Advanced Interactive Modelica compiler (OMC) upports most of the Modelica Language Basic environment for creating models OMhell an interactive command handler * ModelicaML UML Profile OMNotebook a literate programming notebook * MetaModelica transforms MDT an advanced textual environment in Eclipse 5 Expanded Vision for OpenModelica Effort: Integrated Model-driven driven Development Based on OpenModelica, e.g. in OPENPROD project Business Process Control Requirements Capture Model-Driven Design (PIM) Feedback Compilation &Code Gen (PM) ystem imulation Process models Requirements models Product models Platform models oftware & yst Product Unified Modeling: Meta-modeling& Modelica& UML & OWL Vision of unified modeling framework for model-driven product development from platform independent models (PIM) to platform specific models (PM) 6

The Open ource Modelica Consortium 7 Purpose of the Consortium The Open ource Modelica Consortium, created the 4th of December 2007 in Linköping, weden, in the following called OMC, is a non-profit, non-governmental organization with the aim of developing and promoting the development and usage of the OpenModelica open source implementation of the Modelica computer language (also named Modelica modeling language) and OpenModelica associated open-source tools and libraries, collectively named the OpenModelica Environment, in the following referred to as OpenModelica. OpenModelica is available for commercial and noncommercial usage under the conditions of the OMC Public License. It is the aim of OMC, within the limitations of its available resources, to provide support and maintenance of OpenModelica, to support its publication on the web, and to coordinate contributions to OpenModelica. 8

Open ource Modelica Consortium Originally Created Dec 4, 2007 7 Founding Organizational Members Bosch-Rexroth AG, Germany Equa imulation AB, weden TLK Thermo, Germany VTT, Finland Linköping University, weden Hamburg University of Technology/TuTech, Institute of Thermo-Fluid Dynamics, Germany Technical University of Braunschweig, the Institut of Thermodynamik, Germany 9 31 Dec 2008: Open ource Modelica Consortium Expanded to 19 Organizational Members Companies and Institutes (11 members) Bosch-Rexroth AG, Germany Equa imulation AB, weden TLK Thermo, Germany VTT, Finland MostforWater, Belgium Mapleoft, Canada Emmeskay Inc., UA IFP, Paris, France iemens Turbo Machinery AB ABB Corporate Research MathCore Engineering AB Universities (8 members) Linköping University, weden Hamburg University of Technology/TuTech, Institute of Thermo-Fluid Dynamics, Germany Technical University of Braunschweig, the Institut of Thermodynamik, Germany Université Laval, the modeleau group, Canada Griffith University, Australia University of Queensland, Australia Politecnico di Milano, Italy Mälardalen University, weden 10

Now: OMC Expanded to 28 Organizational Members, 31 Dec, 2009 (29 members today...) Companies and Institutes (16 members) ABB Corporate Research, weden Bosch Rexroth AG, Germany iemens Turbo Machinery AB, weden CDAC Centre for Advanced Computing, Kerala, India Creative Connections, Prague, Czech Republic Frontway AB, weden Equa imulation AB, weden IFP, Paris, France InterCAX, Atlanta, UA MOTforWATER, Belgium MathCore Engineering AB, weden Maplesoft, Canada TLK Thermo, Germany VI-grade, Italy VTT, Finland XRG imulation, Germany Universities (13 members) Linköping University, weden Hamburg University of Technology/TuTech, Institute of Thermo- Fluid Dynamics, Germany FH Bielefeld, Bielefeld, Germany Technical University of Braunschweig, Institute of Thermodynamics, Germany Technical University of Dortmund, Process Dynamics and Operations Group, Germany Université Laval, modeleau group, Canada Griffith University, Australia University of Queensland, Australia Politecnico di Milano, Italy Mälardalen University, weden Technical University Dresden, Germany Telemark University College, Norway Ghent University, Belgium 11 Open ource Modelica Consortium Individual Members (43 individual members, 8 February 2010) Adrian Pop, David Akhvlediani, Bernhard Bachmann, Vasile Baluta, imon Björklén, Mikael Blom, Willi Braun, David Broman, tefan Brus, Francesco Casella, Filippo Donida, Henrik Eriksson, Anders Fernström, Jens Frenkel, Pavel Grozman, Daniel Hedberg, Michael Hanke, Alf Isaksson, Kim Jansson, Daniel Kanth, Tommi Karhela, Joel Klinghed, Juha Kortelainen, Alexey Lebedev, Magnus Leksell, Oliver Lenord, Håkan Lundvall, Henrik Magnusson, Eric Meyers, Hannu Niemistö, Kristoffer Norling, Atanas Pavlov, Pavol Privitzer, Per ahlin, Wladimir chamai, Gerhard chmitz, Klas jöholm, Martin jölund, Kristian tavåker, Mohsen Torabzadeh-Tari, Niklas Worschech, Robert Wotzlaw 12

OMC Work on OpenModelica During Past Year 2009 Focus on OpenModelica compiler frontend improvements to support the Modelica tandard Libraries MultiBody and Media/Fluid. Technical difficulties and work estimates too low by a factor 2-3. Work force expanded from 1 to 3-4 full-time developers from Dec 2009. Rate of progress increased. The comment-preserving unparser/refactoring functionality was complete to 80% level (functionality works, some performance improvements still needed) The new solver interface completed but still needs to be fully integrated. Draft OpenModelica Text template language for producing code generators. Used to develop next generation C and C# code generators from OpenModelica. 13 pecial Thanks To: The developers (Especially Adrian) who worked very hard during 2009. Adrian Pop, Martin jölund, Per Östlund, Hannu Niemistö, Alexey Lebedev, and many others. The 28 OpenModelica consortium org members for support, especially Bosch-Rexroth, with OMC Chairman Oliver Lenord; ABB, iemens, etc... MathCore Engineering AB for contributing 1 many-year of source code and supporting the development during 2009 (Aronsson et al) Master students and PhD students who made important contributions. 14

Outlook for 2010 February 2010. Change to standard GPL v3 open source license option instead of OMC-GPL license option. pring 2010. Continued high priority on OpenModelica compiler frontend for better support for the Modelica standard libraries. Completion of MultiBody library and Fluid/Media library flattening support. pring 2010. upport for interactive simulation. During 2010. Improved scalability support for larger models and improved simulation efficiency. Further improved library support. During 2010. upport for full Modelica 3.1 and certain Modelica 3.2 features. During 2010. Better support for simulation, e.g. better event handling, simple tearing support. 15 Outlook for 2010, Cont' Fall 2010. Modelica debugger, partly based on existing MetaModelica debugger. Complete the work on compiler enhancements for bootstrapping the compiler (gives better programmability for the OMC developer, e.g. for-loops, while-loops, etc. available together with MetaModelica, and avoids maintenance of two compilers) Restructuring the code generator for easier supporting different code generation variants, based on the new OpenModelica text template language. Also: research on multi-core parallel code generation Also: research on ysml-modelica integration Also: research on type systems and semantics... 16

Open ource Modelica Consortium OMC Board of Directors Oliver Lenord, OMC Chairman; Manager, Bosch-Rexroth, Germany Per ahlin, OMC Vice Chairman; CEO, Equa imulation AB,, OMC Director; Prof, Linköping University, weden Juha Kortelainen, Manager, VTT, Finland Gerhard chmitz, Prof, Univ. Hamburg, Germany Alf Isaksson, Manager, ABB Corp. Research, weden Francesco Casella, Prof, Politecnico di Milano, Italy Jan Brugård, CEO, MathCore Engineering AB, weden) 17 OMC Board 8 Meetings Jan 1 2009 Dec 31 2009 Meeting dates 090120 090331 090506 090629 090902 091002 091109 091215 Board Work Planning and prioritizing the OMC work Admitting new members Planning the workshop Budget etc. 18

OPENPROD OpenModelica related Project Duration: June 2009 ept 2012 (3.3 years) Budget: approx 11 Meuro, 94 Manyears 28 partners Very important for future OpenModelica development Main workpackages Integrated hardware software modeling by Modelica - UML - ysml integration. Model compiler enhancements. Compilation of Modelica to parallel multi-core platforms. Tool interoperability. Application demonstrators. 19 OPENPROD Consortium 27 partners from 5 countries: 11 large industries, 6 MEs, 5 research institutes, and 5 universities. Project size: > 90 person years, Budget: About 11 Mill., Duration June 2009 - May 2012. 20

Interactive imulation with OpenModelica (NEW Prototype developed at EAD) imulation Control Examples of imulation Visualization Plot View Requirements Evaluation View Liquid ource MaxLevel Level h Level h Domain-pecific Visualization View Tank 1 Tank 2 21 UML Action Language Based on UML and Modelica Compilation to MultiCore oftware/hardware integrated modeling Defining a mapping from UML/ysML to Modelica (current OMG standardization activity) Compiling Modelica-based action language for efficient multi-core execution Integration in Eclipse High speed model transformation engine (MetaModelica) 22

Using ECLIPE as Integration Platform in OPENPROD Project OpenUP/Basic Capacity ub- ub- Process Areas Areas ECLIPE Process Framework (EPF) Composer pecific components Graphical Modeling Framework UML-Modelica Plug-in Plug-in OpenModelica MDT MDT ECLIPE Modeling Framework ECLIPE Rich Client Platform (RCP) Runtime Java runtime C/C++ runtime OpenModelica runtime MetaModelica runtime 23 ModelicaML UML Profile ysml/uml to Modelica OMG tandardization ModelicaML is a UML Profile for W/HW modeling Applicable to pure UML or to other UML profiles, e.g. ysml tandardized Mapping UML/ysML to Modelica Defines transformation/mapping for executable models Being standardized by OMG ModelicaML Defines graphical concrete syntax (graphical notation for diagram) for representing Modelica constructs integrated with UML Includes graphical formalisms (e.g. tate Machines, Activities, Requirements) Which do not exist in Modelica language Which are translated into executable Modelica code Is defined towards generation of executable Modelica code Current implementation based on the Papyrus UML tool + OpenModelica 24

ModelicaML: Graphical Notation tructure Requirements Behavior 25 Example: Representation of ystem tructure Interconnection s Inheritance Component s 26

Example: Representation of ystem Behavior tate Machine of the Controller Conditional Algorithm (Activity Diagram) tate Machine of the Tank 27 Example: Representation of ystem Requirements Textual Requirement Formalized Requirement 28

Example: imulation and Requirements Evaluation Req. 001 is instantiated 2 times (there are 2 tanks in the system) tank-height is 0.6m Req. 001 for the tank2 is violated Req. 001 for the tank1 is not violated 29 Parallel Execution Compilation to MultiCore 30

Integrating Parallelism and Mathematical Models Three Approaches Automatic Parallelization of Mathematical Models (ModPar) Parallelism over the numeric solver method. Parallelism over time. Parallelism over the model equation system... with fine-grained task scheduling Coarse-Grained Explicit Parallelization Using Components The programmer partitions the application into computational components using strongly-typed communication interfaces. Co-imulation, Transmission-Line Modeling (TLM) Explicit Parallel Programming Providing general, easy-to-use explicit parallel programming constructs within the algorithmic part of the modeling language. NesttepModelica, OpenCL, CUDA,... 31 Example Task Application Task Graphs and and Parallelized 1 5 2 0 2 1 0 0 4 1 5 2 3 2 0 6 2 peedup 3 2.5 2 1.5 1 0 7 10 8 0 1 1 0.5 1 2 4 8 16 # Proc Clustered Task Graph Thermofluid Pipe Application 32

Task Merging vs Approach with Pipelining/Inlining 33 Equation tasks Equation tasks Equation tasks Equation tasks Equation tasks Equation tasks Use a graph rewriting system to merge tasks into larger tasks, based on latency and bandwidth. ome tasks are duplicated to avoid communication within a step Try to keep communication as close as possible Only communicate in one direction inside a time step. olver Inlining distribute the solver across all the processors Recent peedup Measurements on NVIDIA (nov 2009) Modelica Model, Generated Code, Function of Problem ize 34

New 2 TeraFlop Parallel Platform to PELAB/LIU Just ordered: An NVIDIA Fermi 2050 2 Teraflop peak parallel platform, delivery in May-ept 2010. Use, e.g. in research on compiling Modelica to MultiCore 35 OPENPROD - Framework Business Process Control Requirements Capture Model-Driven Design (PIM) Feedback Compilation &Code Gen (PM) ystem imulation Process models Requirements models Product models Platform models oftware & yst Product Unified Modeling: Meta-modeling& Modelica& UML & OWL OPENPROD Vision of unified modeling framework for model-driven product development from platform independent models (PIM) to platform specific models (PM) 36

OPENPROD ystem tructure 2D/3D Graphic Model pec Browser &Debugger Modelica UM L Integr Requirem ent modeling Model-Driven Development Environment, WP2 Compiler frontend Compiler Middleend Aspect orientation Uncertainty ensitivity Model Compiler WP3 Parallel C ode Multi-core Real-time Code Gen Hybrid Q imul CodeGen & imulation WP4 TLM-based Co-simulation Model Ext Format Modeling Ontology Control Interop Interoperability WP5 On-line analysis 3D animation Graphical Presentation Graphical Presentation WP2 37 Current OPENPROD Expanded to 28 Partners iemens Industrial TurboMachinery AB iemens AG, ector Energy Bosch-Rexroth AG KF verige AB Nokia Pöyry LM Imagine.A. Electricité de France Equa imulation AB MathCore Engineering AB TLK Thermo GmbH IFP University of Lyon VTT INA Fraunhofer FIRT PA INRIA Rocquencourt EAD CEA LIT Plexim Linköping University XRG imulation Fachhochschule Modelon Bielefeld ETH Zürich Technische Universität Braunschweig Metso Automation Appedge 38

OpenModelica Main Events ummary 2009 Jan 2009. OpenModelica 1.4.5 released. Feb 2009. First Annual OpenModelica Workshop in Linköping, weden. March 2009. OMC has increased to 21 organizational members June 2009. tart of OPENPROD ITEA2 11 million, 27-partner project including substantial OpenModelica development. ept 2009. Most comment-preserving unparser/refactoring functionality completed. ept 2009. OpenModelica at Modelica conference. Oct 2009. OpenModelica 1.5 RC1 released, including improved Modelica library flattening, new Java-interface, Python interoperability, enhanced ModelicaML UML-Modelica profile prototype. Complete the new solver interface Dec 2009. OMC has increased to 28 members. Draft OpenModelica Text template language for producing code generators. Used to develop next generation C and C# code generators from OpenModelica. 39 Conclusions OpenModelica work accelerated during the past year The Open ource Modelica Consortium expanded from 19 to 28 organizational members Good progress towards supporting the MultiBody and Media/Fluid libraries, but needed work was underestimated. Now more people (3-4) working on the compiler frontend since Dec 2009. Also increasing work on compiler backend. Good prospects for the future towards a standard high quality open source Modelica implementation in Modelica, and increasing tool support for integrated systems engineering. Questions? www.openmodelica.org 40