Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 113.4 kB / 17.75 MB, free: 5.348 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.001148/0.001148, allocations: 184.2 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1586/0.1586, allocations: 37.97 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.29e-05, allocations: 2.281 kB / 432.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.006266/0.006298, allocations: 6.988 MB / 439.5 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.009767, allocations: 2.423 MB / 441.9 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005881/0.01037, allocations: 27.81 kB / 441.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.01173, allocations: 0.5132 MB / 442.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00134/0.0131, allocations: 0.6028 MB / 443 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.01406, allocations: 0.5069 MB / 443.6 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001566/0.01564, allocations: 1.571 MB / 445.1 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008125/0.01646, allocations: 0.5158 MB / 445.6 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.01769, allocations: 0.7086 MB / 446.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.01875, allocations: 0.5216 MB / 446.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.01901, allocations: 83.94 kB / 447 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.02018, allocations: 0.5772 MB / 447.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001417/0.02161, allocations: 1.277 MB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006799/0.0223, allocations: 0.7755 MB / 449.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.02255, allocations: 111.6 kB / 449.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001273/0.02268, allocations: 19.88 kB / 449.7 MB, free: 14.42 MB / 334.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