Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 116.9 kB / 17.76 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.0009359/0.0009359, allocations: 184.7 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1635/0.1635, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.042e-05, allocations: 2.281 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008787/0.008808, allocations: 7.422 MB / 466.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.01662, allocations: 5.257 MB / 471.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005758/0.01719, allocations: 27.88 kB / 471.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.0272, allocations: 5.758 MB / 477.2 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.02905, allocations: 0.7078 MB / 477.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.03032, allocations: 0.5177 MB / 478.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003929/0.03425, allocations: 2.639 MB / 481.1 MB, free: 492 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.03554, allocations: 0.7452 MB / 481.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.03705, allocations: 0.7709 MB / 482.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.03819, allocations: 0.5914 MB / 483.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.0384, allocations: 88 kB / 483.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004254/0.04265, allocations: 2.628 MB / 485.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001507/0.04416, allocations: 1.601 MB / 487.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007039/0.04486, allocations: 1.046 MB / 488.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.0451, allocations: 147.6 kB / 488.7 MB, free: 8.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0002438/0.04534, allocations: 23.88 kB / 488.7 MB, free: 8.801 MB / 366.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(inverter.modulator.t0[k]) + 2.495e-4)) then inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(inverter.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); inverter.modulator.sigdel_t[k] = -pre(inverter.modulator.sigdel_t[k]); inverter.modulator.t0[k] = pre(inverter.modulator.t0[k]) + 5e-4; elseif true then inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); inverter.modulator.sigdel_t[k] = pre(inverter.modulator.sigdel_t[k]); inverter.modulator.t0[k] = pre(inverter.modulator.t0[k]) + 0.001; end if