Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001469/0.001469, allocations: 99.64 kB / 21.25 MB, free: 428 kB / 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.001663/0.001663, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.472/1.472, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.56 MB / 353.3 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] 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.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.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.328e-05, allocations: 3.688 kB / 493.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.008979/0.009002, allocations: 6.264 MB / 0.4884 GB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.01242, allocations: 1.613 MB / 0.4899 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003333/0.01275, allocations: 39.62 kB / 0.49 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.01334, allocations: 146.8 kB / 0.4901 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.01436, allocations: 461.8 kB / 0.4905 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.01513, allocations: 343.5 kB / 0.4909 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.01699, allocations: 1.551 MB / 0.4924 GB, free: 9.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000355/0.01735, allocations: 140.6 kB / 0.4925 GB, free: 9.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.01857, allocations: 0.7283 MB / 0.4932 GB, free: 8.926 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008041/0.01937, allocations: 0.5137 MB / 0.4937 GB, free: 8.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.01949, allocations: 68 kB / 0.4938 GB, free: 8.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.01972, allocations: 91.94 kB / 0.4939 GB, free: 8.254 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001481/0.02121, allocations: 1.395 MB / 0.4952 GB, free: 6.848 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007059/0.02191, allocations: 0.8344 MB / 0.4961 GB, free: 6.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.02203, allocations: 52 kB / 0.4961 GB, free: 5.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001043/0.02214, allocations: 19.88 kB / 0.4961 GB, free: 5.934 MB / 366.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(inverter.modulator.t0) + 2.495e-4)) then inverter.modulator.gates[{1, 2}] = pre(inverter.modulator.gates[{2, 1}]); inverter.modulator.gates[{3, 4}] = pre(inverter.modulator.gates[{4, 3}]); inverter.modulator.sigdel_t = -pre(inverter.modulator.sigdel_t); inverter.modulator.t0 = pre(inverter.modulator.t0) + 5e-4; elseif true then inverter.modulator.gates = pre(inverter.modulator.gates); inverter.modulator.sigdel_t = pre(inverter.modulator.sigdel_t); inverter.modulator.t0 = pre(inverter.modulator.t0) + 0.001; end if " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.691414498956874] Failed to read output from testmodel.py, exit status != 0: 0.0332038490450941 0.047793955000000006 0.022564514 Calling exit ...