- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation progress in Omedit
Simulation progress in Omedit
Simulation progress in Omedit
When one runs a simulation from Omedit he does not know how it is going until when it has finished., since no information is available on the current simulated time.
This is an issue in case of lenghty simulations:
1) it is very difficult (or impossible) to estimate when the simulation ends
2) in case of an hanging simulation, the issue is not known and therefore the user will wait a very long time before resorting to kill the process
I'm posting this because I've not seen it in the "Omedit wish list" available in the OpenModelica site.
- ceraolo
- 147 Posts
Re: Simulation progress in Omedit
Took me some time to find this post again since I only searched for my own posts. Seems I forgot to reply earlier, then...
Anyway, OpenModelica r10271+ now has this feature (in addition to a cancel simulation option instead of forcing users to kill processes themselves).
- sjoelund.se
- 1700 Posts
Re: Simulation progress in Omedit
That is very good news.
This morning I've downloaded build 10304, eager to try the new additions.
I tried to run a file named "frazabbass.mo" that used to work very well on OM versions up to around 10200.
I got troubles related to difficulties of OM to find the compiler.
The message in Omedit is too long to display, and to see it fully needs to be copied and pasted in Notepad.
(this is a first issue I suggest you to evaluate)
The pasted message in Notepad is as follows
Transalation 09:27:53 0:0-0:0 Error building simulator. Buildlog: gcc -O3 -falign-functions -msse2 -mfpmath=sse -I"C:/OpenModelica1.8.0//include/omc" -I. -L"C:/Documents and Settings/Max/Documenti/OM/Working/4_Frazionat" -c -o FrazAbbass.o FrazAbbass.c
"gcc" non Š riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
\MinGW\bin\mingw32-make: *** [FrazAbbass.o] Error 1
The part in Italian language can be translated as follows:
"gcc" is not recognised as an internal or external command, an executable program of a batch file"
I've checked in the directory
C:\OpenModelica1.8.0\MinGW\bin
and found that the file gcc.exe is present there.
Massimo
- ceraolo
- 147 Posts
Re: Simulation progress in Omedit
Hi,
Ok, this seems to be a bug in the last build. We'll try to fix it soon.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Simulation progress in Omedit
Hi,
Can you download Compile.bat from:
http://openmodelica.org/svn/OpenModelic … r/scripts/
user: anonymous
pass: none <-- write "none" here
and replace the Compile.bat in your OpenModelica installation here:
C:\Programmi\OpenModelica\share\omc\scripts
then try to compile again from OMEdit.
Let me know if is working.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Simulation progress in Omedit
I've done as you suggested, but nothing changed.
Please, let me know it it is better for you that I make additional tests or just wait for the next builds.
(note that there is also a mispell in the error message: "transalation" instead of "translation")
Massimo
- ceraolo
- 147 Posts
Re: Simulation progress in Omedit
The type "transalation" was already fixed
Adeel.
- adeas
- 454 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Simulation progress in Omedit