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.001442/0.001442, allocations: 109.9 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001268/0.001268, allocations: 204.1 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.004e-05, allocations: 2.281 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DemoPowerSupply): time 0.002855/0.002884, allocations: 2.055 MB / 361.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.003886, allocations: 0.5728 MB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.213e-05/0.00398, allocations: 7.938 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.0041, allocations: 19.78 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.004213, allocations: 43.64 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.004559, allocations: 71.91 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.004848, allocations: 231.3 kB / 362.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.004991, allocations: 49.05 kB / 362.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.23e-05/0.00509, allocations: 83.7 kB / 362.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.005268, allocations: 83.72 kB / 362.6 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.005336, allocations: 20 kB / 362.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.005403, allocations: 24 kB / 362.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001924/0.005604, allocations: 245.6 kB / 362.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.077e-05/0.00567, allocations: 130 kB / 363 MB, free: 9.328 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.005712, allocations: 27.94 kB / 363 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.039e-05/0.005747, allocations: 11.92 kB / 363 MB, free: 9.289 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.0008086/0.00656, allocations: 0.7992 MB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.557e-05/0.006602, allocations: 19.97 kB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00052/0.007128, allocations: 0.5116 MB / 364.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of simplify1: time 2.589e-05/0.007162, allocations: 27.97 kB / 364.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Alias: time 0.0008331/0.008, allocations: 0.6005 MB / 365 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simplify2: time 2.073e-05/0.008033, allocations: 19.98 kB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of Detect States: time 0.000234/0.008272, allocations: 179 kB / 365.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of Events: time 0.0002592/0.00854, allocations: 132.1 kB / 365.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001278/0.008676, allocations: 112.2 kB / 365.4 MB, free: 6.652 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004869/0.009171, allocations: 423.9 kB / 365.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003564/0.009536, allocations: 428.2 kB / 366.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of Inline: time 0.0005944/0.01014, allocations: 0.6688 MB / 366.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of Partitioning: time 3.15e-05/0.01018, allocations: 36.09 kB / 366.9 MB, free: 5.035 MB / 302.1 MB Notification: Performance of Cleanup: time 2.223e-05/0.01021, allocations: 19.97 kB / 366.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006066/0.01082, allocations: 0.5343 MB / 367.5 MB, free: 4.473 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!