Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 115.7 kB / 17.76 MB, free: 5.273 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.001111/0.001111, allocations: 186 kB / 18.68 MB, free: 4.355 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.276/1.276, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1662/0.1662, allocations: 38.03 MB / 330.6 MB, free: 8.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.763e-05, allocations: 5.797 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006934/0.006952, allocations: 6.484 MB / 465.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003776/0.01073, allocations: 2.462 MB / 467.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004054/0.01113, allocations: 23.88 kB / 467.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.01225, allocations: 437.8 kB / 468.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.01346, allocations: 0.599 MB / 468.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.01439, allocations: 487.1 kB / 469.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.01586, allocations: 1.532 MB / 470.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005402/0.0164, allocations: 369.1 kB / 471.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000882/0.01728, allocations: 0.6893 MB / 471.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/0.018, allocations: 0.5372 MB / 472.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.01814, allocations: 80 kB / 472.4 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008563/0.01899, allocations: 0.5694 MB / 473 MB, free: 8.574 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001006/0.02, allocations: 1.242 MB / 474.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005263/0.02053, allocations: 0.7408 MB / 475 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.02071, allocations: 103.7 kB / 475.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001007/0.02081, allocations: 19.88 kB / 475.1 MB, free: 6.449 MB / 350.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(inverter.modulator.t0[k]) + 2.495e-4)) then inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(inverter.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); inverter.modulator.sigdel_t[k] = -pre(inverter.modulator.sigdel_t[k]); inverter.modulator.t0[k] = pre(inverter.modulator.t0[k]) + 5e-4; elseif true then inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); inverter.modulator.sigdel_t[k] = pre(inverter.modulator.sigdel_t[k]); inverter.modulator.t0[k] = pre(inverter.modulator.t0[k]) + 0.001; end if