Hi,
Unfortunately the pictures don't tell me too much. The only program that we run during the installation is called UpdateEnv.exe and it just applies the environment variable changes in the system so that the user doesn't have to restart the computer. The program is part of the package and there are no other dependencies. So, it seems that there are some problems when running UpdateEnv.exe, but what those problems are I cannot tell as this never happen before. It would really, really help me if you could run the installer in logging mode: Start->Run->cmd > cd /path/to/where/you/saved/the/installer > msiexec /i OpenModelica-NIGHTLY-BUILD.msi /L*v "omlog.txt" This will create a file called omlog.txt that describes all the steps taken by the installer during installation. You could zip the omlog.txt file and send it to me. Thank you, Adrian Pop/ BENJELLOUN-DABAGHI Zakia wrote:
Hi Adrian, attached the error display, when i want to install the new version. Probably the hold version can't be killed? It seems i need some thing else for the new version? Thanks for any help Zakia -----Message d'origine----- De : [email protected] [mailto:[email protected]]de la part de Adrian Pop Envoyé : vendredi 12 décembre 2008 14:53 À : [email protected] Objet : Re: Problem with OpenModelica simulation Hi, You shouldn't need to install anything else. The installation should work without any problem. You should uninstall any old installation first. Any error messages? What Windows do you have? To help me point out where the problem might be can you run from command line: msiexec /i "C:\path\to\OM.msi" /L*v "omlog.txt" OM=OpenModelica-NIGTHLY-BUILD...msi then zip and send me directly the omlog.txt file. Cheers, Adrian Pop/ BENJELLOUN-DABAGHI Zakia wrote:Dear Adrian, i just tried to install openmodelica, but the installation failed. Do i need to install another program to use openmodelica? Thanks a lot Zakia/IFP -----Message d'origine----- De : [email protected] [mailto:[email protected]]de la part de Adrian Pop Envoyé : vendredi 12 décembre 2008 04:46 À : [email protected] Objet : Re: Problem with OpenModelica simulation Hi, There is a new nightly-build available here: http://www.ida.liu.se/~pelab/modelica/OpenModelica/OMC/nightly-builds/ which should (hopefully :) deal with your problem. Cheers, Adrian Pop/ Pranesh Rao wrote:I found the problem in my simulation. I had to add a small capacitor between the anode of diode D6 and ground g. The model works in Dymola but still not in OpenModelica because of the data structure problem that Adrian pointed out. Thanks. Pranesh -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Pranesh Rao Sent: Tuesday, December 09, 2008 8:09 AM To: [email protected] Subject: RE: Problem with OpenModelica simulation Adrian, Thank you for your help. I will look at the model and see what I am missing - perhaps a decoupling capacitor or something. Again, thanks. Pranesh Rao -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Adrian Pop Sent: Tuesday, December 09, 2008 5:12 AM To: [email protected] Subject: Re: Problem with OpenModelica simulation Hi, Some of the fixed data structures inside the simulation runtime need to be increased. They should actually be dynamic, but that's another story. I'll generate a new nightly-build in a couple of days and let you know when is available.The generated system of equations seems to be singular so you might also need to do some changes in your model. Maybe some other people on the list can help you with that.Cheers, Adrian Pop/ Pranesh Rao wrote:Hi, I am trying to simulate the following model using OpenModelica 1.4.4 and the Modelica 3.0 library:model br3ph1 "three phase diode bridge feeding R-L load (source inductance present)"constant Real PI = Modelica.Constants.pi;Modelica.Electrical.Analog.Sources.SineVoltage src_a(V=120.0,phase=0,freqHz=60.0);Modelica.Electrical.Analog.Sources.SineVoltage src_b(V=120.0,phase=-2*PI/3,freqHz=60.0);Modelica.Electrical.Analog.Sources.SineVoltage src_c(V=120.0,phase=2*PI/3,freqHz=60.0);Modelica.Electrical.Analog.Basic.Resistor rs[3](each R=0.1) "source resistance"; Modelica.Electrical.Analog.Basic.Inductor ls[3](each L=1e-3) "source inductance"; Modelica.Electrical.Analog.Ideal.IdealDiode D1,D2,D3,D4,D5,D6; Modelica.Electrical.Analog.Basic.Resistor r_l(R=1) "load resistance"; Modelica.Electrical.Analog.Basic.Inductor l_l(L=0.1) "load inductance"; Modelica.Electrical.Analog.Basic.Ground g; Real v_out, i_out; equation connect(src_a.p,rs[1].p); connect(src_b.p,rs[2].p); connect(src_c.p,rs[3].p); connect(src_a.n,src_b.n); connect(src_b.n,src_c.n); connect(src_c.n,g.p); connect(rs[1].n,ls[1].p); connect(rs[2].n,ls[2].p); connect(rs[3].n,ls[3].p); connect(ls[1].n,D1.p); connect(D1.p,D4.n); connect(ls[2].n,D3.p); connect(D3.p,D6.n); connect(ls[3].n,D5.p); connect(D5.p,D2.n); connect(D1.n,D3.n); connect(D3.n,D5.n); connect(D5.n,r_l.p); connect(r_l.n,l_l.p); connect(l_l.n,D2.p); connect(D2.p,D6.p); connect(D6.p,D4.p); v_out = r_l.p.v - l_l.n.v; i_out = r_l.p.i; end br3ph1; When I run it using simulate(br3ph1,stopTime=1.0, numberOfIntervals=5000) I get a Simulation failed message. The output.log file contains the following: Assertion failed: current_state.real_buffer_ptr +n < NR_REAL_ELEMENTS, file memory_pool.c, line 99 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I am new to Modelica so this could well be operator error. Any help would be much appreciated. Regards, Pranesh Rao
