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.001102/0.001102, allocations: 111.3 kB / 17.75 MB, free: 5.297 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.001297/0.001297, allocations: 190.3 kB / 18.69 MB, free: 4.375 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1728/0.1728, allocations: 38.04 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.375e-05, allocations: 2.281 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.009817/0.009849, allocations: 6.929 MB / 465.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004199/0.01407, allocations: 2.033 MB / 467.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.0148, allocations: 27.88 kB / 467.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.01644, allocations: 493.6 kB / 468.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.01823, allocations: 0.5678 MB / 468.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.01973, allocations: 399.2 kB / 469.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.0222, allocations: 1.36 MB / 470.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008939/0.02311, allocations: 496.2 kB / 471 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.02423, allocations: 0.5916 MB / 471.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009064/0.02515, allocations: 458.2 kB / 472.1 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.02533, allocations: 60 kB / 472.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009209/0.02626, allocations: 471.3 kB / 472.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001156/0.02743, allocations: 1.16 MB / 473.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007081/0.02815, allocations: 0.7561 MB / 474.5 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003211/0.02848, allocations: 115.6 kB / 474.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001814/0.02867, allocations: 19.88 kB / 474.6 MB, free: 6.906 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