Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 103.6 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 212 kB / 24.55 MB, free: 3.824 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1889/0.1889, allocations: 38.57 MB / 353.3 MB, free: 12.26 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,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.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.617e-05, allocations: 6.219 kB / 493.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.009271/0.009297, allocations: 6.693 MB / 0.4888 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.01389, allocations: 2.267 MB / 0.491 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.01431, allocations: 47.62 kB / 0.491 GB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001604/0.01591, allocations: 0.4977 MB / 0.4915 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.01737, allocations: 0.6106 MB / 0.4921 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.01863, allocations: 0.5146 MB / 0.4926 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001938/0.02057, allocations: 1.742 MB / 0.4943 GB, free: 7.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006846/0.02125, allocations: 392.6 kB / 0.4947 GB, free: 7.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.02243, allocations: 0.849 MB / 0.4955 GB, free: 6.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008254/0.02326, allocations: 0.5799 MB / 0.4961 GB, free: 5.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.02338, allocations: 76 kB / 0.4962 GB, free: 5.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009401/0.02432, allocations: 0.5733 MB / 0.4967 GB, free: 5.285 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.00147/0.02579, allocations: 1.584 MB / 0.4983 GB, free: 3.688 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007194/0.02651, allocations: 0.9465 MB / 0.4992 GB, free: 2.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.02662, allocations: 56 kB / 0.4993 GB, free: 2.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001123/0.02674, allocations: 19.88 kB / 0.4993 GB, free: 2.656 MB / 366.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 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.804614420980215] Failed to read output from testmodel.py, exit status != 0: 0.03739852301077917 0.05166010599999994 0.021950613 Calling exit ...