MDT - Modelica Development Tooling

MDT screenshot

The Modelica Development Tooling (MDT) Eclipse Plug-In integrates the OpenModelica compiler with Eclipse. MDT, together with the OpenModelica compiler, provides an environment for working with Modelica projects.

The following features are available: [Cool Screen Dumps]

  • Browsing support for Modelica projects, packages, and classes
  • Wizards for creating Modelica projects, packages, and classes
  • Syntax color highlighting
  • Syntax checking
  • Browsing of the Modelica Standard Library
  • Simple code completion
  • Code indentation correction
  • Paranthesis matching
  • MetaModelica browsing and assistance
  • OpenModelica command console

  • MDT was developed by two loony undergraduate students in their eternal quest for a degree. They have finished with their master thesis in April 2006 and, since then, the responsible with maintaining and enhancing MDT is Adrian Pop. The work on the plugin is a part of the larger project by PELAB which aims to create a complete Modelica and MetaModelica modeling, compilation and simulation environment.
    MDT is used at PELAB for the development of the OpenModelica compiler.

    News

    Saturday, 01 November 2009
    A short document on MDT installation HowTo.

    Saturday, 04 October 2009
    We have a new website for ModelicaML - A UML Profile for Modelica.

    Saturday, 01 March 2008
    Subversion repository moved to: https://openmodelica.ida.liu.se/svn/MDT/

    Tuesday, 21 August 2007
    Version 0.7.2 has been released. You can get the binary release from the update site.
    For this release, you can use the OpenModelica 1.4.3

  • this MDT does not work with OpenModelica less than 1.4.3
  • this MDT works with Eclipse 3.3.0 (Europa) and
    DOES NOT WORK WITH Eclipse 3.2.0! Please install 0.7.1 for Eclipse 3.2.0

    Friday, 13 July 2007
    Version 0.7.1 has been released. You can get the binary release from the update site.
    For this release, you can use the OpenModelica 1.4.3

  • this MDT does not work with OpenModelica less than 1.4.3
  • a lot of improvements
  • debugging of MetaModelica now works quite well
  • hovering information for all identifiers
  • pre-loading of *.mo files from your project for faster code assistance
  • check the OpenModelica Users Guide for more information.

    Monday, 13 November 2006
    Version 0.6.9 has been released. You can get the binary release from the update site.
    For this release, you can use the OpenModelica 1.4.3 BETA

  • changes to OMC interface (this MDT does not work with OpenModelica less than 1.4.3)
  • bug fixes for normal Modelica package browsing.
  • implemented an OpenModelica console from where you can send commands to OMC.
  • to activate console follow Window->Show View->OpenModelica Console.

    Thursday, 06 November 2006
    Version 0.6.8.1 has been released. You can get the binary release from the update site.
    For this release, you can use the OpenModelica 1.4.3 BETA

  • changes to OMC interface (this MDT does not work with OpenModelica less than 1.4.3)
  • implemented better MetaModelica browsing

    Saturday, 02 September 2006
    Version 0.6.7 has been released. You can get the binary release from the update site.
    For this release, you can use the latest OpenModelica-1.4.2 Release
    Changes:

  • changes to OMC interface (this MDT does not work with OpenModelica less than 1.4.2)
  • implemented MetaModelica browsing

    Tuesday, 06 June 2006
    Version 0.6.6 has been released. You can get the binary release from the update site.
    For this release, you can use the latest OpenModelica-1.4.0 Release
    Changes:

  • fixed some errors that prevented MetaModelica build errors using OMDev builder to appear in the "Problems" list.
  • keyword "replaceable" corrected from wrong "replacable"

    Monday, 22 May 2006
    Version 0.6.5 has been released. You can get the binary release from the update site.
    For this release, you can use the latest OpenModelica-1.4.0 Release
    Changes:

  • MetaModelica build errors using OMDev builder are now displayed in the "Problems" list.
  • Matching parentheses highlighting is now working correctly.

    Saturday, 6 May 2006
    Version 0.6.3 has been released. You can get the binary release from the update site.
    For this release, you can use the latest OpenModelica-1.4.0 Release
    Changes:

  • Comment handling is better for all type of comments.
  • Sources can be indented by using the "Correct indentation" action.
  • Matching parentheses are highlighted.

    Tuesday, 04 April 2006
    Version 0.6.1 has been released. You can get the binary release from the update site.
    For this release, you can use the old OpenModelica Compiler 1.3.2 BETA or a newer version.
    Changes consist of bugfixes and some auto-indentation support, courtesy of Adrian Pop.

    Wednesday, 15 March 2006
    Version 0.6 is released. You can get it from the update site.
    NB! For this release of MDT, you will need the OpenModelica Compiler 1.3.2 BETA.
    Some changes include better code completion and class collapsing.

    Friday, 17 February 2006
    Version 0.5 of MDT is released. As always, it is available from the update site.
    NB! You will need a specific nightly build of the OpenModelica Compiler (2006-02-17).
    The biggest changes for this release are internal. Some visible changes
    are improved error handling and that line and column number are shown at
    the bottom of the Modelica editor.

    Friday, 09 December 2005
    Version 0.4 is released. It's available from the update site.
    Some new features are code completion, browsing of system library source code and gradual updates of the projects tree view.

    Using

    To use MDT you need the OpenModelica Compiler and Eclipse 3 installed on your system.
    You will also need Java 5.0 (aka 1.5) to use the plugin. We hope to support Java 1.4 soon.

    Installing

    The most convenient way to install MDT is by instructing Eclipse to fetch the plugin from the
    update site which is located at http://www.ida.liu.se/~pelab/modelica/OpenModelica/MDT/.
    If you are not sure how to accomplish this, just follow the instructions below.

  • Start Eclipse
  • Select Help -> Software Updates -> Find and Install... from the menu
  • Select Search for new features to install and click Next
  • Select New Remote Site...
  • Enter MDT as name and http://www.ida.liu.se/labs/pelab/modelica/OpenModelica/MDT/ as URL and click OK
  • Make sure MDT is selected and click Finish
  • In the updates dialog select the MDT feature and click Next
  • Read through the license agreement, select I accept... and click Next
  • Click Finish to install MDT
  • Another way to install MDT is by downloading a zip file, unzip it locally and point the Eclipse to the unpacked directory.

  • Download the latest zip file from here
  • The zip file will unpack to a local directory called "mdt"
  • Start Eclipse, then go Help->Software Updates...
  • Add the "mdt" directory as a local site (this is different from version to version) and then install the latest version of MDT from this local site.

    Contributing

    Modelica Development Tooling (MDT) is part of OpenModelica and is free software distributed under the OSMC-PL License.
    This basically means you can do whatever you want with it non-commercially.
    To use it comercially you need to be a member of the Open Source Modelica Consortium.
    Please, help us improve! Download the tool and report bugs, or, even better, take the
    source and implement something you always wanted, and contribute it to the MDT!

    Source code

    You can access the source code from the project's repository at https://openmodelica.ida.liu.se/svn/MDT/.
    Anonymous read access is not enabled. You must use user: anonymous password: none.

    Documentation

    The primary source of information for the aspiring MDT developer is the MDT hacking manual.
    The manual has information on code repository structure, how to build the package
    and other important information. To checkout the manual and other documentation type:

    svn co https://openmodelica.ida.liu.se/svn/MDT/docs
    user: anonymous
    pass: none
    

    Contact

    If you want to contact the current author and maintainer of MDT send an email to Adrian Pop [adrpo@ida.liu.se].
    The MDT authors can be contacted via: or .
    Bug reports, patches, general feed back or anything else is welcome.

    Updates

    Latest update: 2009-11-01 04:05 by Adrian Pop