Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » olifri
  • » Profile

Posts

Posts

May-17-11 13:50:58
Category: Developer

Hallo,

I'm running Eclipse Helios Basic on a Windows XP machine. I have installed Papyrus, Acceleo, the MDT plugin and ModelicaML as it is advised in the ModelicaML-installation.pdf. Then I've downloaded and imported the "TwoTanksExqample.zip" and entered "Modelica-getting started tutorial" on page 57. I try to simulate "TanksConnectedPI" but I don't get any variables to select for displaying as the tutorial shows on page 60. My Non-Interactive Simulation Control is totally blank, nothing to select, nothing to display.
Have I omitted anything important prior to page 57. I assume it deals with creating the model but man doesn't need to if it's downloaded and imported.

I'm an absolute newbie to Modelica at all, and still full of hope, that it is a great tool. Since I am an Eclipse fan, I appreciate the ModelicaML plugin, but didn't got it to work, so far.
Thanks a lot for any help
Oli

Hallo,
I'm trying to run the above mentioned combination. I'm running OpenModelica1.7.0 on Ubuntu 10.04 (Lucid lynx). My Eclipse is a Helios Modeling Tools Service release2. I have installed OpenModelica MDT 0.7.7.

There seems to be something wrong. In the Modelica Projects view I should get a file myClass.mo with a nested myClass icon. The myClass icon is missing, so I can't expand the myClass.mo as I am used to on my Offices XP machine (Office machine has Helios and MDT 0.7.7, too)
There's a package Modelica beneath the Libraries, but I cannot expand the package icon to access any models, at least the package is denoted with a package icon.
Next problem: The MDT console isn't working. If I open a MDT console, I get the Welcome message and the omc> prompt. Regardless of what command I enter, I don't receive any response message from omc, just the prompt agailn. Looks like this
omc> help()

omc>list()

omc> cd()

omc> quit()

omc> simulate(blablaModel, stopTime=10)

omc>

I've checked the OpenModelica 1.7.0 installation. I can edit and run a simple model from OMEdit, also I can contact OMC from OMShell and OMShell terminal and execute some queries like cd() or list(). However, help() doesn't work either, I eceive a ERROR: Error opening file: /usr/share/doc/omc/omc_helptext.txt.
Examing the directory I've found only omc_helptext.txt.gz. Do I have to extract archives manually during installation?

Some help would be heavily appreciated.
Thank you

Oliver

  • Index
  • » Users
  • » olifri
  • » Profile
You are here: