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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001181/0.001181, allocations: 196.5 kB / 17.29 MB, free: 4.484 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.671/1.671, allocations: 194.2 MB / 212.2 MB, free: 2.375 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001914/0.001914, allocations: 123.8 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2022/0.2022, allocations: 37.95 MB / 338.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.526e-05, allocations: 2.281 kB / 401.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.007749/0.007788, allocations: 7.52 MB / 409.3 MB, free: 61.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005028/0.01285, allocations: 2.825 MB / 412.1 MB, free: 58.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006916/0.01356, allocations: 47.69 kB / 412.1 MB, free: 58.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.01491, allocations: 390.3 kB / 412.5 MB, free: 57.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.01607, allocations: 0.5488 MB / 413.1 MB, free: 57.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008979/0.01698, allocations: 455.3 kB / 413.5 MB, free: 56.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01804, allocations: 1.372 MB / 414.9 MB, free: 55.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006422/0.01869, allocations: 0.4971 MB / 415.4 MB, free: 55.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.01938, allocations: 0.6697 MB / 416.1 MB, free: 54.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.01998, allocations: 0.5294 MB / 416.6 MB, free: 53.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.83e-05/0.02009, allocations: 80 kB / 416.7 MB, free: 53.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.02092, allocations: 0.6161 MB / 417.3 MB, free: 53.21 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.0006839/0.02162, allocations: 1.266 MB / 418.6 MB, free: 51.94 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0003208/0.02195, allocations: 0.7135 MB / 419.3 MB, free: 51.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.02209, allocations: 111.7 kB / 419.4 MB, free: 51.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.968e-05/0.02219, allocations: 7.938 kB / 419.4 MB, free: 51.1 MB / 314.7 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(inverter.modulator.t0[k]) + 0.0002495)) 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]) + 0.0005; 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