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

Posts

Posts

Jan-09-12 16:55:39
Advanced Dymola user, first steps with OpenModelica

Thanks a lot!

Jan-09-12 10:26:45
Advanced Dymola user, first steps with OpenModelica

OK, I now installed nighly build 10878.

I found the log file, I cannot post everything, but at least the beginning after opening OMEdit and the end when trying to simulate.

Code:


loadModel(Modelica,{"default"}) 08:17:53:743
true 08:17:56:103
Elapsed Time :: 2.36 secs

errors:=getMessagesStringInternal() 08:17:56:103
{} 08:17:56:306
Elapsed Time :: 0.203 secs

size(errors,1) 08:17:56:306
0 08:17:56:321
Elapsed Time :: 0.015 secs

loadModel(ModelicaReference,{"default"}) 08:17:56:321
true 08:17:56:353
Elapsed Time :: 0.032 secs

errors:=getMessagesStringInternal() 08:17:56:353
{record .OpenModelica.Scripting.ErrorMessage
    info = record .OpenModelica.Scripting.SourceInfo
    filename = "",
    readonly = false,
    lineStart = 0,
    columnStart = 0,
    lineEnd = 0,
    columnEnd = 0
end .OpenModelica.Scripting.SourceInfo;,
    message = "Requested package Modelica of version 3.2, but this package was already loaded with version 3.1. You might experience problems if these versions are incompatible.",
    kind = .OpenModelica.Scripting.ErrorKind.scripting,
    level = .OpenModelica.Scripting.ErrorLevel.warning,
    id = 183
end .OpenModelica.Scripting.ErrorMessage;} 08:17:56:462
Elapsed Time :: 0.109 secs

size(errors,1) 08:17:56:462
1 08:17:56:462
Elapsed Time :: 0 secs

currentError:=errors[1] 08:17:56:462
record .OpenModelica.Scripting.ErrorMessage
    info = record .OpenModelica.Scripting.SourceInfo
    filename = "",
    readonly = false,
    lineStart = 0,
    columnStart = 0,
    lineEnd = 0,
    columnEnd = 0
end .OpenModelica.Scripting.SourceInfo;,
    message = "Requested package Modelica of version 3.2, but this package was already loaded with version 3.1. You might experience problems if these versions are incompatible.",
    kind = .OpenModelica.Scripting.ErrorKind.scripting,
    level = .OpenModelica.Scripting.ErrorLevel.warning,
    id = 183
end .OpenModelica.Scripting.ErrorMessage; 08:17:56:462
Elapsed Time :: 0 secs

Code:


getSimulationOptions(Modelica.Electrical.Analog.Examples.Rectifier) 08:20:14:801
{0.0, 0.1, 10000, 1e-006, "dassl", "Modelica.Electrical.Analog.Examples.Rectifier", false, false, "", "mat", ".*", false, ""} /* startTime, stopTime, numberOfIntervals, tolerance, method, fileNamePrefix, storeInTemp, noClean, options, outputFormat */ 08:20:14:801
Elapsed Time :: 0 secs

buildModel(Modelica.Electrical.Analog.Examples.Rectifier,startTime=0.0, stopTime=1, numberOfIntervals=1000, method="dassl", tolerance=0.000001, outputFormat="mat") 08:20:23:426
{"",""} 08:20:24:613
Elapsed Time :: 1.187 secs

errors:=getMessagesStringInternal() 08:20:24:613
{} 08:20:24:629
Elapsed Time :: 0.016 secs

size(errors,1) 08:20:24:629
0 08:20:24:645
Elapsed Time :: 0.016 secs

getVersion() 08:21:32:752
"1.8.0 (r10787)" 08:21:32:815
Elapsed Time :: 0.063 secs

Jan-06-12 16:50:53
Advanced Dymola user, first steps with OpenModelica

Hi Adeel,

sorry for not giving this information. Yes I´m using OMEdit!

I have no message in the message-window. It´s just blank.

I´m sending you an email...

Jan-06-12 16:11:05
Advanced Dymola user, first steps with OpenModelica

Hello,

since a couple of years I´m using Dymola but I´m really do appreciate the work that is done on OpenModelica. So I installed OM 1.8 and the look and feel is great!

Platform: Windows XP.

I wanted to start with a very simple model (see screenshot). When I click on "check" everthing is fine: "Check of test completed successfully."

But when I click on "simulate" the simulation window pops up, then I click on "simulate!". Another window open for a short time but then nothing happens. No plot window appears...nothing.

Is there a parameter etc. that I might have forgotten to set?

I wanted to attach a screenshot but I doesn´t work either current/sad. Any hints? I used the "Attachments" link and chose a png-picture but then a have a white screen that won´t dissapear.

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