Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupply") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 118 kB / 18.47 MB, free: 4.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 210.8 kB / 19.42 MB, free: 3.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.683e-05, allocations: 2.281 kB / 359.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.003112/0.003148, allocations: 2.054 MB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.004193, allocations: 0.5806 MB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.004295, allocations: 0 / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.004426, allocations: 23.78 kB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.774e-05/0.00452, allocations: 39.64 kB / 362 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.004798, allocations: 67.84 kB / 362.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.00511, allocations: 239.3 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.005279, allocations: 49.05 kB / 362.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.005394, allocations: 83.7 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.005583, allocations: 91.64 kB / 362.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.005625, allocations: 20 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.005689, allocations: 20 kB / 362.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000188/0.005883, allocations: 241.6 kB / 362.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.417e-05/0.005963, allocations: 133.9 kB / 363 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.006002, allocations: 23.94 kB / 363 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.321e-05/0.00604, allocations: 7.984 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.0007993/0.006846, allocations: 0.8031 MB / 363.8 MB, free: 8.371 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.015e-05/0.006883, allocations: 15.98 kB / 363.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005062/0.007395, allocations: 0.5194 MB / 364.3 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simplify1: time 3.057e-05/0.007435, allocations: 27.97 kB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of Alias: time 0.0008087/0.008249, allocations: 0.6005 MB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simplify2: time 2.301e-05/0.008283, allocations: 19.97 kB / 365 MB, free: 7.074 MB / 302.1 MB Notification: Performance of Events: time 0.000205/0.008494, allocations: 136 kB / 365.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001934/0.008696, allocations: 188 kB / 365.3 MB, free: 6.742 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001454/0.008851, allocations: 124.1 kB / 365.4 MB, free: 6.605 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004995/0.009357, allocations: 420.1 kB / 365.8 MB, free: 6.184 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003807/0.009747, allocations: 424.2 kB / 366.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of Inline: time 0.0006282/0.01038, allocations: 0.6687 MB / 366.9 MB, free: 5.039 MB / 302.1 MB Notification: Performance of Partitioning: time 2.783e-05/0.01042, allocations: 24.12 kB / 366.9 MB, free: 5.008 MB / 302.1 MB Notification: Performance of Cleanup: time 2.092e-05/0.01045, allocations: 23.97 kB / 367 MB, free: 4.984 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006569/0.01111, allocations: 0.5421 MB / 367.5 MB, free: 4.434 MB / 302.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if dcPowerSupply.cp then [----] [-IF-] (1)if dcPowerSupply.cv then [----] [----] [SCAL] (1) dcPowerSupply.v = dcPowerSupply.V0 - dcPowerSupply.Rcv * (-dcPowerSupply.i) ($RES_SIM_14) [----] [----] elseif dcPowerSupply.cc then [----] [----] [SCAL] (1) -dcPowerSupply.i = dcPowerSupply.I0 - dcPowerSupply.Gcc * dcPowerSupply.v ($RES_SIM_15) [----] [----] else [----] [----] [SCAL] (1) dcPowerSupply.P0 = dcPowerSupply.v * (-dcPowerSupply.i) ($RES_SIM_16) [----] [----] end if; [----] else [----] [-IF-] (1)if dcPowerSupply.cv then [----] [----] [SCAL] (1) dcPowerSupply.v = dcPowerSupply.V0 - dcPowerSupply.Rcv * (-dcPowerSupply.i) ($RES_SIM_18) [----] [----] else [----] [----] [SCAL] (1) -dcPowerSupply.i = dcPowerSupply.I0 - dcPowerSupply.Gcc * dcPowerSupply.v ($RES_SIM_19) [----] [----] end if; [----] end if; Error: Internal error NBInitialization.main failed to apply modules!