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.001299/0.001298, allocations: 115.9 kB / 17.75 MB, free: 5.168 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.001384/0.001384, allocations: 193.9 kB / 18.69 MB, free: 4.242 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1973/0.1973, allocations: 38.03 MB / 330.6 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.231e-05, allocations: 2.281 kB / 458.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.007608/0.007639, allocations: 5.964 MB / 464.7 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003152/0.01081, allocations: 1.558 MB / 466.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005433/0.01138, allocations: 23.88 kB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006524/0.01204, allocations: 142.8 kB / 466.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.01327, allocations: 370.2 kB / 466.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009199/0.01429, allocations: 319.5 kB / 467.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.01619, allocations: 1.208 MB / 468.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.01675, allocations: 214.9 kB / 468.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.01824, allocations: 0.5294 MB / 469.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.01961, allocations: 422.5 kB / 469.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003242/0.01995, allocations: 64 kB / 469.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.02048, allocations: 79.94 kB / 469.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001196/0.0217, allocations: 0.9944 MB / 470.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005467/0.02225, allocations: 0.594 MB / 471.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.02252, allocations: 95.69 kB / 471.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001466/0.02267, allocations: 15.94 kB / 471.3 MB, free: 10.3 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