Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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/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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 114.5 kB / 17.75 MB, free: 5.336 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.001319/0.001319, allocations: 183.1 kB / 18.68 MB, free: 4.414 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.247/1.247, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1644/0.1644, allocations: 38.04 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.44e-05/1.44e-05, allocations: 2.281 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.008773/0.008788, allocations: 6.939 MB / 465.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.01314, allocations: 2.037 MB / 467.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.01378, allocations: 27.81 kB / 467.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.01543, allocations: 0.4898 MB / 468.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001815/0.01725, allocations: 0.5639 MB / 468.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.01852, allocations: 395.2 kB / 469.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002165/0.02069, allocations: 1.36 MB / 470.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00094/0.02163, allocations: 348.2 kB / 470.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.02289, allocations: 0.6033 MB / 471.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009477/0.02383, allocations: 458.2 kB / 472 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.024, allocations: 56 kB / 472 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.02503, allocations: 479.3 kB / 472.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001332/0.02636, allocations: 1.16 MB / 473.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007265/0.02709, allocations: 0.7561 MB / 474.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.02734, allocations: 115.6 kB / 474.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001438/0.02748, allocations: 19.88 kB / 474.5 MB, free: 7.027 MB / 350.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(ac_dc.modulator.t0[k]) + 2.495e-4)) then ac_dc.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(ac_dc.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); ac_dc.modulator.sigdel_t[k] = -pre(ac_dc.modulator.sigdel_t[k]); ac_dc.modulator.t0[k] = pre(ac_dc.modulator.t0[k]) + 5e-4; elseif true then ac_dc.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(ac_dc.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); ac_dc.modulator.sigdel_t[k] = pre(ac_dc.modulator.sigdel_t[k]); ac_dc.modulator.t0[k] = pre(ac_dc.modulator.t0[k]) + 0.001; end if