Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_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.SM_ctrl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrl") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrl,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 115.7 kB / 17.75 MB, free: 5.305 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.001077/0.001077, allocations: 190 kB / 18.69 MB, free: 4.379 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.269/1.269, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1582/0.1582, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.51e-05, allocations: 6.219 kB / 432.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrl): time 0.006368/0.006401, allocations: 7.5 MB / 440 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003708/0.01012, allocations: 3.213 MB / 443.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003951/0.01053, allocations: 35.81 kB / 443.2 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009752/0.01151, allocations: 401.5 kB / 443.6 MB, free: 4.512 MB / 318.1 MB [/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'. Notification: Performance of NFTyping.typeBindings: time 0.001289/0.01281, allocations: 0.8009 MB / 444.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.01349, allocations: 465.5 kB / 444.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.01477, allocations: 1.871 MB / 446.8 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/0.01572, allocations: 1.177 MB / 447.9 MB, free: 184 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007099/0.01644, allocations: 0.7203 MB / 448.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006263/0.01708, allocations: 0.6148 MB / 449.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.01721, allocations: 112 kB / 449.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009424/0.01816, allocations: 0.7528 MB / 450.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001091/0.01926, allocations: 1.701 MB / 451.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005696/0.01984, allocations: 1.072 MB / 452.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.02003, allocations: 179.4 kB / 453.1 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001886/0.02023, allocations: 31.81 kB / 453.1 MB, free: 10.96 MB / 334.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(sm_ctrl.inverter.modulator.t0[k]) + 2.495e-4)) then sm_ctrl.inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(sm_ctrl.inverter.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); sm_ctrl.inverter.modulator.sigdel_t[k] = -pre(sm_ctrl.inverter.modulator.sigdel_t[k]); sm_ctrl.inverter.modulator.t0[k] = pre(sm_ctrl.inverter.modulator.t0[k]) + 5e-4; elseif true then sm_ctrl.inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(sm_ctrl.inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); sm_ctrl.inverter.modulator.sigdel_t[k] = pre(sm_ctrl.inverter.modulator.sigdel_t[k]); sm_ctrl.inverter.modulator.t0[k] = pre(sm_ctrl.inverter.modulator.t0[k]) + 0.001; end if