Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001065, allocations: 117 kB / 17.75 MB, free: 5.324 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.001112/0.001113, allocations: 184.6 kB / 18.68 MB, free: 4.402 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1723/0.1723, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.347e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.007628/0.007659, allocations: 6.935 MB / 465.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.01156, allocations: 2.033 MB / 467.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.01204, allocations: 23.88 kB / 467.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.01339, allocations: 0.4937 MB / 468.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.01486, allocations: 0.5522 MB / 468.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009826/0.01586, allocations: 407.2 kB / 469.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.01772, allocations: 1.348 MB / 470.6 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00083/0.01856, allocations: 0.4884 MB / 471 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.01966, allocations: 0.5994 MB / 471.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00069/0.02037, allocations: 458.2 kB / 472.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.46e-05/0.02047, allocations: 56 kB / 472.1 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009006/0.02138, allocations: 467.3 kB / 472.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0008991/0.02229, allocations: 1.164 MB / 473.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004767/0.02278, allocations: 0.7523 MB / 474.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.02297, allocations: 115.6 kB / 474.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001815/0.02315, allocations: 19.88 kB / 474.7 MB, free: 6.957 MB / 350.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(ac_dc.modulator.t0[k]) + 2.495e-4)) then ac_dc.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(ac_dc.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); ac_dc.modulator.sigdel_t[k] = -pre(ac_dc.modulator.sigdel_t[k]); ac_dc.modulator.t0[k] = pre(ac_dc.modulator.t0[k]) + 5e-4; elseif true then ac_dc.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(ac_dc.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); ac_dc.modulator.sigdel_t[k] = pre(ac_dc.modulator.sigdel_t[k]); ac_dc.modulator.t0[k] = pre(ac_dc.modulator.t0[k]) + 0.001; end if