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 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.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.001335/0.001335, allocations: 113 kB / 17.75 MB, free: 5.344 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.001313/0.001313, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.066/1.066, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1509/0.1509, allocations: 37.98 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/9.388e-06, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.004644/0.004661, allocations: 6.918 MB / 439.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.006721, allocations: 2.08 MB / 441.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.00693, allocations: 27.88 kB / 441.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008695/0.007806, allocations: 0.5014 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006814/0.008501, allocations: 0.556 MB / 442.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.009006, allocations: 395.2 kB / 443 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007591/0.009776, allocations: 1.36 MB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000423/0.01021, allocations: 492.1 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.01059, allocations: 0.5839 MB / 445.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003457/0.01094, allocations: 462.1 kB / 445.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.001e-05/0.01101, allocations: 56 kB / 445.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004016/0.01142, allocations: 463.3 kB / 446.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004873/0.01192, allocations: 1.164 MB / 447.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002817/0.0122, allocations: 0.7483 MB / 448.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.01232, allocations: 123.6 kB / 448.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.187e-05/0.01237, allocations: 19.88 kB / 448.4 MB, free: 15.73 MB / 334.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