Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 109.5 kB / 17.7 MB, free: 5.383 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.001152/0.001152, allocations: 188.7 kB / 18.64 MB, free: 4.457 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.25/1.25, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1644/0.1644, allocations: 38.04 MB / 330.5 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.525e-05, allocations: 2.281 kB / 400.2 MB, free: 33.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006035/0.006076, allocations: 6.494 MB / 406.7 MB, free: 26.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.008116, allocations: 1.317 MB / 408 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.008383, allocations: 27.81 kB / 408 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.008706, allocations: 122.9 kB / 408.2 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000775/0.009528, allocations: 424.4 kB / 408.6 MB, free: 25.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.009922, allocations: 228.7 kB / 408.8 MB, free: 24.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008101/0.01074, allocations: 1.223 MB / 410 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002834/0.01103, allocations: 241.6 kB / 410.3 MB, free: 23.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.01144, allocations: 498 kB / 410.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.01186, allocations: 410.3 kB / 411.2 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.897e-05/0.01193, allocations: 48 kB / 411.2 MB, free: 22.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.01202, allocations: 48 kB / 411.2 MB, free: 22.36 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0005134/0.01254, allocations: 1.036 MB / 412.3 MB, free: 21.31 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002571/0.01281, allocations: 0.6945 MB / 413 MB, free: 20.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.01291, allocations: 99.69 kB / 413.1 MB, free: 20.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.995e-05/0.01298, allocations: 19.88 kB / 413.1 MB, free: 20.49 MB / 302.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(dc_ac.modulator.t0) + 2.495e-4)) then dc_ac.modulator.gates[{1, 2}] = pre(dc_ac.modulator.gates[{2, 1}]); dc_ac.modulator.gates[{3, 4}] = pre(dc_ac.modulator.gates[{4, 3}]); dc_ac.modulator.sigdel_t = -pre(dc_ac.modulator.sigdel_t); dc_ac.modulator.t0 = pre(dc_ac.modulator.t0) + 5e-4; elseif true then dc_ac.modulator.gates = pre(dc_ac.modulator.gates); dc_ac.modulator.sigdel_t = pre(dc_ac.modulator.sigdel_t); dc_ac.modulator.t0 = pre(dc_ac.modulator.t0) + 0.001; end if