Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 118.7 kB / 17.76 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 183 kB / 18.69 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1678/0.1678, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/1.789e-05, allocations: 2.281 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.007229/0.007247, allocations: 6.513 MB / 465.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.009791, allocations: 1.321 MB / 466.6 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003565/0.01015, allocations: 27.81 kB / 466.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004652/0.01061, allocations: 130.9 kB / 466.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001239/0.01185, allocations: 429.9 kB / 467.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006588/0.01251, allocations: 227.6 kB / 467.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.01426, allocations: 1.219 MB / 468.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.01459, allocations: 137.4 kB / 468.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007726/0.01536, allocations: 0.502 MB / 469.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005754/0.01594, allocations: 414.4 kB / 469.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.859e-05/0.01601, allocations: 48 kB / 469.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.01614, allocations: 48 kB / 469.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0008204/0.01696, allocations: 1.04 MB / 470.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004842/0.01744, allocations: 0.6944 MB / 471.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.01756, allocations: 103.6 kB / 471.6 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001062/0.01766, allocations: 15.94 kB / 471.6 MB, free: 9.988 MB / 350.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(dc_ac.modulator.t0) + 2.495e-4)) then dc_ac.modulator.gates[{1, 2}] = pre(dc_ac.modulator.gates[{2, 1}]); dc_ac.modulator.gates[{3, 4}] = pre(dc_ac.modulator.gates[{4, 3}]); dc_ac.modulator.sigdel_t = -pre(dc_ac.modulator.sigdel_t); dc_ac.modulator.t0 = pre(dc_ac.modulator.t0) + 5e-4; elseif true then dc_ac.modulator.gates = pre(dc_ac.modulator.gates); dc_ac.modulator.sigdel_t = pre(dc_ac.modulator.sigdel_t); dc_ac.modulator.t0 = pre(dc_ac.modulator.t0) + 0.001; end if