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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001441/0.00144, allocations: 111.8 kB / 17.75 MB, free: 5.328 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.001333/0.001333, allocations: 189.9 kB / 18.69 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1726/0.1726, allocations: 37.99 MB / 309.9 MB, free: 5.938 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.436e-05, allocations: 2.281 kB / 432.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006488/0.006531, allocations: 5.971 MB / 438.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.009137, allocations: 1.606 MB / 440.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.00949, allocations: 23.88 kB / 440.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006961/0.01019, allocations: 138.9 kB / 440.2 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008525/0.01109, allocations: 358.1 kB / 440.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.01176, allocations: 319.5 kB / 440.9 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.01291, allocations: 1.215 MB / 442.1 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.01328, allocations: 203 kB / 442.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.01392, allocations: 0.5256 MB / 442.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.01446, allocations: 426.5 kB / 443.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.459e-05/0.01455, allocations: 64 kB / 443.3 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.01473, allocations: 76 kB / 443.4 MB, free: 4.777 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0006101/0.01535, allocations: 1.006 MB / 444.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003044/0.01566, allocations: 0.594 MB / 445 MB, free: 3.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.01577, allocations: 91.69 kB / 445.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.842e-05/0.01588, allocations: 19.88 kB / 445.1 MB, free: 3.051 MB / 318.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