- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OMEdit (1.9.0 beta4+dev 15786-1)...
OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
After running example models (Mechanics.Rotational.Examples.First and others)
the statistic message window pops up, the view changes for plotting but
OMEdit is frozen with a CPU load of 100%.
I already checked:
omc processes are running
/usr/bin/omc +c=OMEdit109ba09837000136729992600000060720044073207235 +d=interactiveCorba +locale=de_DE
...
the last entry in omeditcommands.log: readSimulationResultVars(...) Elapsed Time :: 0.044 secs
strace -p <pid of OMEdit> shows that the process is writing all the time
write(7, "\1\0\0\0\0\0\0\0", 8) = 8
system has enought memory, it is not swapping
I installed OpenModelica (nightly build) on a i386 Debian/Wheezy from
deb http://build.openmodelica.org/apt nightly contrib
OMShell OMNotebook are running nice.
Any suggestions?
Wolfgang
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
Are you sure that's the repository your packages are coming from? It's discontinued and to me it looks rather empty: http://build.openmodelica.org/apt/dists … 6/Packages (some other packages are left)
Are you using deb-src or some other repo?
apt-cache show omc | grep ^Filename:
- sjoelund.se
- 1700 Posts
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
thank you for the hint. Hmm I believe it worked 2 week ago .. .
Anyway I changed it to
deb http://build.openmodelica.org/apt squeeze nightly
and got an update to Version: 15923-1.
unfortunately the problem remains the same. Do you think
I should compile everything from source?
$ apt-cache show omc
Package: omc
...
Installed-Size: 24356
Maintainer: OpenModelica Build System <build@openmodelica.org>
Architecture: i386
Source: openmodelica
Version: 15923-1
Filename: pool/contrib-squeeze/omc_15923-1_i386.deb
Size: 3868022
...
MD5sum: 750c13e43d18dfd432b3094cee7d6a2b
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
I have a wheezy repository in the pipeline. Let's say 4 or 5 hours from now you will be able to use wheezy nightly if everything works out fine. Hopefully that will solve it. Else, "raring" (2013) or "quantal" (2012) probably work better than squeeze (2011). I would really like for wheezy to be released soon so I can stop supporting squeeze.
- sjoelund.se
- 1700 Posts
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
Ok, wheezy is up. Of course there were problems
- sjoelund.se
- 1700 Posts
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
Thanks a lot. I installed all packages from the new repository and
everything is up to date
apt-cache show omc | grep ^Filename:
Filename: pool/contrib-wheezy/omedit_15947-1_i386.deb
Unfortunately the problem still remains. I tried again:
Mechanics.Rotational.Examples.First:
After the simulation run I have to wait approx 5 minutes. Then CPU load went down and
I could use the plotting view. After switching to modeling view and back to plotting
OMEdit was frozen agein.
similar (but not exactly reproducable) results happen with other examples (Blocks.Examples.PID_Controler)
Next I would like to test OMEdit on a fresh installed Ubuntu distribution.
Do you have suggestions how to track down the problem?
Meanwhile I terminate OMEdit after the simulation run, read the mat file
with octave and do plotting from there.
Thank you for your help
Wolfgang
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
OK. Subscribe to the follow bug report https://trac.openmodelica.org/OpenModelica/ticket/2145. I think it's related and possibly a reason why wheezy was not released yet. Although more likely is OMEdit does something bad (it often does).
- sjoelund.se
- 1700 Posts
Re: OMEdit (1.9.0 beta4+dev 15786-1) frozen with 100% CPU load
I just want to mention my latest experience.
The problem seems related to Debian Wheezy and KDE. If I use another Desktop Environment
( I tried icewm) the problem vanished and OMEdit works like a charme.
Starting a fresh KDE Desktop environment for an new created user will not solve
the problem.
Also the experiment to copy the OMEdit executable together
with all shared libraries from a Ubuntu 12.04 system to my Debian box, didn't
help.
I wonder if OMEdit is working on a Kubuntu system. Maybe somebody else can try ..
For now I have found a workaround and I can concentrate my work
on developping Modelica Simulation models.
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » OMEdit (1.9.0 beta4+dev 15786-1)...