Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl.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_ctrl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 116.9 kB / 17.75 MB, free: 5.402 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.001515/0.001515, allocations: 184.7 kB / 18.68 MB, free: 4.477 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.281/1.281, 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.1662/0.1662, allocations: 38.04 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.063e-05/4.063e-05, allocations: 2.281 kB / 458.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.01436/0.0144, allocations: 7.747 MB / 466.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.02288, allocations: 5.02 MB / 471.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.02364, allocations: 35.81 kB / 471.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009666/0.03331, allocations: 4.912 MB / 476.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.03519, allocations: 0.6649 MB / 477.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.03663, allocations: 0.5296 MB / 477.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.04053, allocations: 2.784 MB / 480.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.04226, allocations: 1.025 MB / 481.5 MB, free: 76 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.04366, allocations: 0.8332 MB / 482.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.04471, allocations: 0.677 MB / 483 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.04496, allocations: 120 kB / 483.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.04924, allocations: 2.464 MB / 485.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.00179/0.05103, allocations: 1.844 MB / 487.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.001017/0.05204, allocations: 1.196 MB / 488.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004351/0.05248, allocations: 175.4 kB / 488.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0003145/0.05279, allocations: 39.81 kB / 488.8 MB, free: 8.688 MB / 366.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(asm_ctrl.inverter.modulator.t0[k]) + 2.495e-4)) then asm_ctrl.inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(asm_ctrl.inverter.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); asm_ctrl.inverter.modulator.sigdel_t[k] = -pre(asm_ctrl.inverter.modulator.sigdel_t[k]); asm_ctrl.inverter.modulator.t0[k] = pre(asm_ctrl.inverter.modulator.t0[k]) + 5e-4; elseif true then asm_ctrl.inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(asm_ctrl.inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); asm_ctrl.inverter.modulator.sigdel_t[k] = pre(asm_ctrl.inverter.modulator.sigdel_t[k]); asm_ctrl.inverter.modulator.t0[k] = pre(asm_ctrl.inverter.modulator.t0[k]) + 0.001; end if