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 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.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.001012/0.001012, allocations: 117.3 kB / 17.76 MB, free: 5.293 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.00106/0.00106, allocations: 184.4 kB / 18.69 MB, free: 4.371 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1643/0.1643, allocations: 38.02 MB / 330.6 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.577e-05, allocations: 5.938 kB / 458.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrl): time 0.009609/0.009635, allocations: 7.486 MB / 466.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005831/0.01547, allocations: 3.19 MB / 469.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009881/0.01645, allocations: 35.81 kB / 469.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.01796, allocations: 409.5 kB / 469.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.02018, allocations: 0.801 MB / 470.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.02133, allocations: 455.2 kB / 471.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.02376, allocations: 1.875 MB / 473 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.02539, allocations: 0.9586 MB / 474 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.02669, allocations: 0.7203 MB / 474.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.02778, allocations: 0.6109 MB / 475.3 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.02806, allocations: 112 kB / 475.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.02946, allocations: 0.749 MB / 476.2 MB, free: 5.41 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.00153/0.03099, allocations: 1.705 MB / 477.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008431/0.03183, allocations: 1.076 MB / 478.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.03218, allocations: 167.5 kB / 479.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002661/0.03245, allocations: 35.75 kB / 479.1 MB, free: 2.398 MB / 350.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