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 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.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.001259/0.001259, allocations: 113 kB / 17.75 MB, free: 5.32 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.001454/0.001454, allocations: 184.7 kB / 18.68 MB, free: 4.398 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1616/0.1616, allocations: 38.04 MB / 330.6 MB, free: 8.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.864e-05, allocations: 2.281 kB / 458.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007363/0.007382, allocations: 7.001 MB / 465.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.0112, allocations: 2.38 MB / 468.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.01165, allocations: 27.81 kB / 468.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.01313, allocations: 0.5249 MB / 468.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.01454, allocations: 0.595 MB / 469.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.0157, allocations: 0.5068 MB / 469.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001653/0.01735, allocations: 1.567 MB / 471.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.01797, allocations: 392.1 kB / 471.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.01901, allocations: 0.7086 MB / 472.5 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.01973, allocations: 0.5371 MB / 473 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01984, allocations: 76 kB / 473.1 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.02084, allocations: 0.5733 MB / 473.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0009985/0.02183, allocations: 1.285 MB / 474.9 MB, free: 6.641 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005243/0.02236, allocations: 0.787 MB / 475.7 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.02252, allocations: 111.6 kB / 475.8 MB, free: 5.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001701/0.02269, allocations: 23.88 kB / 475.9 MB, free: 5.711 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