Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001346/0.001346, 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.001909/0.001909, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.501/1.501, allocations: 230.7 MB / 258.3 MB, free: 7.766 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.2006/0.2006, allocations: 38.56 MB / 353.3 MB, free: 12.29 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.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.734e-05, allocations: 2.281 kB / 493.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.008867/0.008895, allocations: 6.258 MB / 0.4883 GB, free: 13.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.01273, allocations: 1.617 MB / 0.4899 GB, free: 12.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004329/0.01317, allocations: 39.62 kB / 0.49 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.0138, allocations: 146.8 kB / 0.4901 GB, free: 12.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.01495, allocations: 465.8 kB / 0.4905 GB, free: 11.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.01571, allocations: 347.4 kB / 0.4909 GB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001675/0.01739, allocations: 1.547 MB / 0.4924 GB, free: 9.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003245/0.01771, allocations: 132.6 kB / 0.4925 GB, free: 9.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.01875, allocations: 0.7322 MB / 0.4932 GB, free: 8.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.01946, allocations: 0.5137 MB / 0.4937 GB, free: 8.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.01958, allocations: 68 kB / 0.4938 GB, free: 8.312 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.0198, allocations: 91.92 kB / 0.4939 GB, free: 8.223 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001319/0.02112, allocations: 1.391 MB / 0.4952 GB, free: 6.82 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006903/0.02181, allocations: 0.8382 MB / 0.4961 GB, free: 5.973 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.02192, allocations: 52 kB / 0.4961 GB, free: 5.922 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.196e-05/0.02201, allocations: 19.88 kB / 0.4961 GB, free: 5.902 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.792964378022589] Failed to read output from testmodel.py, exit status != 0: 0.03306258097290993 0.04785015 0.022695390000000003 Calling exit ...