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 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.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.001317/0.001318, allocations: 110.6 kB / 17.75 MB, free: 5.324 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.00156/0.00156, allocations: 187.1 kB / 18.68 MB, free: 4.41 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.927/1.927, 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.2063/0.2063, allocations: 37.99 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.456e-05, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrl): time 0.01043/0.01048, allocations: 7.761 MB / 440.2 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009721/0.02024, allocations: 5.04 MB / 445.3 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.02245, allocations: 35.81 kB / 445.3 MB, free: 2.828 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.0124/0.03488, allocations: 4.893 MB / 450.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.03824, allocations: 0.6571 MB / 450.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.04034, allocations: 0.5247 MB / 451.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005853/0.04621, allocations: 2.769 MB / 454.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.04922, allocations: 1.263 MB / 455.4 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.05186, allocations: 0.8294 MB / 456.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.054, allocations: 0.6808 MB / 456.9 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000622/0.05465, allocations: 120 kB / 457.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006794/0.06146, allocations: 2.464 MB / 459.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.003416/0.06492, allocations: 1.844 MB / 461.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001446/0.0664, allocations: 1.196 MB / 462.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009142/0.06735, allocations: 179.5 kB / 462.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0005578/0.06793, allocations: 39.75 kB / 462.8 MB, free: 1.293 MB / 334.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