Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 121.1 kB / 17.76 MB, free: 5.293 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.001325/0.001325, allocations: 184.6 kB / 18.69 MB, free: 4.371 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.284/1.284, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.165/0.165, allocations: 38.03 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.378e-05, allocations: 2.281 kB / 458.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.007119/0.007143, allocations: 5.968 MB / 464.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.009756, allocations: 1.566 MB / 466.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.01016, allocations: 19.88 kB / 466.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.01075, allocations: 154.8 kB / 466.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009012/0.01165, allocations: 354.2 kB / 466.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.01231, allocations: 327.5 kB / 467.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.01342, allocations: 1.204 MB / 468.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.01365, allocations: 123 kB / 468.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.01425, allocations: 0.5333 MB / 469 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.01477, allocations: 422.5 kB / 469.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.513e-05/0.01486, allocations: 64 kB / 469.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.01504, allocations: 79.94 kB / 469.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007604/0.0158, allocations: 0.9944 MB / 470.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003669/0.01617, allocations: 0.5978 MB / 471.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.01627, allocations: 87.69 kB / 471.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.959e-05/0.01635, allocations: 19.88 kB / 471.2 MB, free: 10.33 MB / 350.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