Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer.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.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=199998,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") translateModel(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=199998,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001394/0.001394, allocations: 110.1 kB / 18.46 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.001562/0.001562, allocations: 207.9 kB / 19.42 MB, free: 3.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.295e-05, allocations: 2.281 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupplyWithBuffer): time 0.004663/0.004696, allocations: 2.617 MB / 362 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.006736, allocations: 0.6777 MB / 362.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.007041, allocations: 4 kB / 362.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.00729, allocations: 39.66 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.007563, allocations: 79.27 kB / 362.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.007938, allocations: 95.86 kB / 362.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.00845, allocations: 406.6 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.008658, allocations: 90.36 kB / 363.3 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.008874, allocations: 147.5 kB / 363.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.00914, allocations: 147.4 kB / 363.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.126e-05/0.009229, allocations: 32 kB / 363.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.124e-05/0.009318, allocations: 35.94 kB / 363.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004564/0.009781, allocations: 459.2 kB / 364.2 MB, free: 8.082 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002135/0.01, allocations: 260.1 kB / 364.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.01015, allocations: 51.81 kB / 364.5 MB, free: 7.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.187e-05/0.01023, allocations: 4 kB / 364.5 MB, free: 7.77 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: 50 (50) * Number of variables: 50 (50) Notification: Performance of Bindings: time 0.001647/0.01189, allocations: 1.381 MB / 365.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.938e-05/0.01196, allocations: 51.88 kB / 365.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000744/0.01271, allocations: 0.7414 MB / 366.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of simplify1: time 7.204e-05/0.01279, allocations: 55.92 kB / 366.7 MB, free: 5.402 MB / 302.1 MB Notification: Performance of Alias: time 0.001494/0.01429, allocations: 1.128 MB / 367.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simplify2: time 5.774e-05/0.01436, allocations: 39.89 kB / 367.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of Detect States: time 0.00034/0.01471, allocations: 258.6 kB / 368.1 MB, free: 3.844 MB / 302.1 MB Notification: Performance of Events: time 0.0003059/0.01502, allocations: 188.1 kB / 368.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002677/0.0153, allocations: 211.5 kB / 368.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009209/0.01623, allocations: 0.7709 MB / 369.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006221/0.01686, allocations: 0.6467 MB / 369.9 MB, free: 1.98 MB / 302.1 MB Notification: Performance of Inline: time 0.001025/0.0179, allocations: 0.9409 MB / 370.9 MB, free: 1.008 MB / 302.1 MB Notification: Performance of Partitioning: time 6.105e-05/0.01797, allocations: 42.38 kB / 370.9 MB, free: 0.957 MB / 302.1 MB Notification: Performance of Cleanup: time 6.313e-05/0.01804, allocations: 47.88 kB / 370.9 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of Causalize: time 0.1818/0.1999, allocations: 1.057 MB / 372 MB, free: 15.26 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_33) [----] [----] elseif dcPowerSupply.cc then [----] [----] [SCAL] (1) -dcPowerSupply.i = dcPowerSupply.I0 - dcPowerSupply.Gcc * dcPowerSupply.v ($RES_SIM_34) [----] [----] else [----] [----] [SCAL] (1) dcPowerSupply.P0 = dcPowerSupply.v * (-dcPowerSupply.i) ($RES_SIM_35) [----] [----] end if; [----] else [----] [-IF-] (1)if dcPowerSupply.cv then [----] [----] [SCAL] (1) dcPowerSupply.v = dcPowerSupply.V0 - dcPowerSupply.Rcv * (-dcPowerSupply.i) ($RES_SIM_37) [----] [----] else [----] [----] [SCAL] (1) -dcPowerSupply.i = dcPowerSupply.I0 - dcPowerSupply.Gcc * dcPowerSupply.v ($RES_SIM_38) [----] [----] end if; [----] end if; Error: Internal error NBInitialization.main failed to apply modules!