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
  • » ufechner
  • » Profile

Posts

Posts

Hello,

I just upgrade to 1.9.0 beta4+dev (r15750), and the problem is gone.

Thank's for the good work! current/smile

Regards:

Uwe Fechner

Hello,

I tried to install the nightly build on Ubuntu 12.04, 32 bits. I use the following apt source:
deb http://build.openmodelica.org/apt precise nightly

OMShell etc is working:
Connected to OpenModelica 1.8.0 (r10967)

but OMEdit is not launching. I get the error message:
Unable to find OMEdit server, Object reference file /tmp/openmodelica.ufechner.objid.OMEdit10ffd3c241ae2ec31a136527985961153900000021510143222419662 not created.

Any idea how to fix that?

Best regards:

Uwe Fechner, TU Delft

Mar-01-12 16:29:40
Couldn't find an option to change the size of the white page

I created a model. It is becoming quite big. I found out, that I can place components on the right and the
left of the page, but how can I increase the page size or decrease the size of the components on the page?

I want to have all of the components on the page. I use subcomponents already.

I talk here about the diagram view.

Best regards:

Uwe Fechner

Using OMEdit 1.8.1 on Ubuntu 10.10 32 bit.

Oct-18-11 17:48:18
Modelling a changing mechanical system
Category: Programming

Hello,
we need to model an electric winch. A tether (cable) is reeled out. We want to model the tether
as a number of segments, each of them consists of a point-mass and a spring-damper.
Aerodynamic drag shall also be attached.
We have a Java model, that works like this: During reel-out a new segment is added,
each time when the last segment reaches the maximal segment length. The new segment
has an initial length of zero, which is continuously increased during reel-out, until another
new segment is needed. Now my question:
- Is it possible in modelica, to add components dynamically during runtime?
  We want to add new point-masses and new spring-damper elements, and also
  remove them, if they are not needed, because the tether is getting shorter by
  reeling in.
- Is it possible in modelica, to change the mass and the initial length of a spring-damper
  at runtime? Is there a big simulation time penalty, if we do this?

Best regards:
Uwe Fechner
www.kitepower.eu

Oct-18-11 17:36:59
Run Modelica model in Simulink

Hello,

I think, with the following commercial product exporting a model to simulink might be possible:
http://www.modelon.com/products/fmi-toolbox-for-matlab/

It would require, to export the model as FMI first.

Regards:
Uwe Fechner

Oct-14-11 16:30:44
Bug related to spring damper components?

Hello,

I cannot open the following components with OpenModelica, Version: 1.8.0 (r10089):

- Multibody Forces SpringDamperParallel
- Multibody Forces SpringDamperSeries

I can open any other component of the package multibody->Forces.

I am using Ubuntu 10.10, 32 bit.

Any idea?

If I try to open these components or try to add them to my model,
OMEdit hangs without giving any error message.

Regards:

Uwe Fechner

Oct-14-11 16:19:21
The text of components is only shown, if they are rotated.
Category: Developer

Hello,
this bug is fixed in 1.8.0 (r10089).

Probably it was already fixed earlier.

Thank you very much.

Regards:

Uwe Fechner

Sep-05-11 17:03:22
functional mockup unit export fmu fmi

Hello,
is it possible, to export a model as functional mockup unit (FMU) with the current version of openmodelica?
If yes, how?

Regards:

Uwe Fechner

Sep-04-11 13:01:13
The text of components is only shown, if they are rotated.
Category: Developer

adeas wrote:

This bug was already reported...

I cannot find it in the bug tracker. Shall I open a new bug there?

Regards:

Uwe

Sep-03-11 12:43:59
The text of components is only shown, if they are rotated.
Category: Developer

Hello,

I am investigating  the bug, that the text of components is not shown, unless they are rotated.

Here you can find a screenshot:
http://www.kieltech.de/~ufechner/ScreenshotGraphicsBug.png

The first column shows the unrotated components, the second column they are rotated 90 degree and
the third column rotated by one degree (even 0.1 degree is sufficient, to see the text).

In which file of the sourcecode do I have to look, to find the place, where the text is drawn
on the canvas?

I can reproduce this bug on three different machines, running Ubuntu 10.10, 11.04 in
32 and 64 bit, so it is not related to the graphics driver.

Regards:

Uwe

Sep-02-11 22:18:33
compile core duo
Category: Developer

Hi,

Thanks a lot for your quick response.

Some additional remarks:

If compile openmodelica in the documented way, than one library is missing.
To fix this error, type:

> cd /usr/lib/
> sudo cp i386-linux-gnu/libsqlite3.a .

Then compiling with the following command works fine, if you have four cores:
> time MAKE="make -j4" apt-get -b source openmodelica

In this way I needed only 7 minutes instead of 23 minutes on a 3.8 Ghz
machine current/smile.

Best regards:

Uwe Fechner

Sep-02-11 21:50:21
compile core duo
Category: Developer

Hello,

I am currently compiling open modelica, using the following commands:

Code:


sudo apt-get install devscripts debhelper
mkdir ~/tmp
cd ~/tmp
sudo apt-get build-dep openmodelica
apt-get -b source openmodelica
sudo dpkg -i *.deb

This needs a lot of time, because only one core is used.

How can I do this in a way, that uses all cores of my CPU?

Best regards:

Uwe Fechner

Ok, I compiled the packages from the source, but the problem is the same:
No icons in the modelica library, if I draw an element to a model, all you see
is a model-sheet with constant color.

I will try to file a bug report.

Uwe

Ok, in another tread it was mentioned, that OMEdit works on Ubuntu 11.04, but not on Ubuntu 10.10.
I tried this, and the color/ icon problem is gone on Ubuntu 11.04. But the simulation crashes for other
reasons.
Will this problem (OMEdit on Ubuntu 10.10 doesn't work) be fixed?
Is there a bug-tracker?

Is there a workaround, e.g. compiling from source or linking a different qt library version?
I just added the following lines to the file sources.list:

Code:


deb http://build.openmodelica.org/apt nightly contrib
deb-src http://build.openmodelica.org/apt nightly contrib

and no I can compile the sources. Let's see, if this works better.

Regards:

Uwe Fechner

Hello,

I am trying OMEdit 1.7.0.
It doesn't work.
If I start it, the icons of the modelica components are all sqares of one colour, e.g. blue, green or red.

I try to follow OpenModelicaUsersGuide.pdf, page 30.
I can create a new model.

If I add the GND component from Modelica.Analog.Electrical.Basic, than the whole Model becames blue
(I can see nothing else than the constant blue color, no drawings or details or anything).

The modelica text view seems to be OK:

Code:


model DCMotor
  Modelica.Electrical.Analog.Basic.Ground ground1 annotation(Placement(visible = true, transformation(origin = {-26.5,-20.5}, extent = {{-15,-15},{15,15}}, rotation = 0)));
end DCMotor;

Any idea, what is going wrong here?

I am using Ubuntu 32 bit, version 10.10 and the OpenModelica debian package.

Best regards:

Uwe Fechner

Hello,
I installed the release packages now, and they work.

Would you suggest the fixed stable packages, instead?

Regards:

Uwe Fechner

Hello,
I am not successful in installing open modelica on Ubuntu 10.10, 32 bit.

When I use the .deb packages I get the message:
Die folgenden Pakete haben unerfüllte Abhängigkeiten:
openmodelica : Hängt ab von: drmodelica ist aber nicht installierbar
                Hängt ab von: drcontrol ist aber nicht installierbar
E: Beschädigte Pakete

When I try to compile the openmodelica source package, the system
hangs when the tests are executed.

I than tried to install from svn, and get the following error:
notebook.cpp: In member function ‘void IAEX::NotebookWindow::openFile(QString)’:
notebook.cpp:2521: error: call of overloaded ‘QString(int)’ is ambiguous
/usr/include/qt4/QtCore/qstring.h:428: note: candidates are: QString::QString(const QByteArray&)
/usr/include/qt4/QtCore/qstring.h:426: note:                 QString::QString(const char*)
/usr/include/qt4/QtCore/qstring.h:727: note:                 QString::QString(const QString&)
/usr/include/qt4/QtCore/qstring.h:106: note:                 QString::QString(QChar)
/usr/include/qt4/QtCore/qstring.h:105: note:                 QString::QString(const QChar*)
make[2]: *** [notebook.o] Fehler 1
make[2]: Verlasse Verzeichnis '/home/ufechner/modelica/OPENMODELICA_1_5_0/OMNotebook/OMNotebookQT4'
make[1]: *** [OMNotebook] Fehler 2
make[1]: Verlasse Verzeichnis '/home/ufechner/modelica/OPENMODELICA_1_5_0/OMNotebook/OMNotebookQT4'
make: *** [omnotebook] Fehler 2

Any idea?

Best regards:

Uwe Fechner
TU Delft

Hello,

I use windows 7 (64 bit), and successfully installed openmodelica.

Now I try to install SimForge, but it doesn't work.

I always get the message: "This directory can not be written to."

I cannot use "Runas" to the .jar file.

Any idea?

Best regards:

Uwe Fechner
University of Applied Science
Kiel, Germany

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