Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 100 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002408/0.002408, allocations: 199.5 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.2.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.874e-05/1.874e-05, allocations: 2.281 kB / 371.7 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter): time 0.2755/0.2755, allocations: 17.56 MB / 389.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01554/0.291, allocations: 5.685 MB / 395 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005556/0.2966, allocations: 167.2 kB / 395.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004755/0.3013, allocations: 1.35 MB / 396.5 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008764/0.3101, allocations: 1.997 MB / 398.5 MB, free: 5.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.3138, allocations: 1.198 MB / 399.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.3256, allocations: 7.404 MB / 407.1 MB, free: 1.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003332/0.329, allocations: 1.68 MB / 408.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005885/0.3349, allocations: 2.676 MB / 411.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006136/0.341, allocations: 2.726 MB / 414.2 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.3424, allocations: 0.5057 MB / 414.7 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004664/0.347, allocations: 1.016 MB / 415.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.01333/0.3604, allocations: 9.396 MB / 425.1 MB, free: 1.898 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.007888/0.3683, allocations: 5.847 MB / 431 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.3704, allocations: 340 kB / 431.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.001255/0.3717, allocations: 107.5 kB / 431.4 MB, free: 11.54 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 (848) * Number of variables: 1347 (810) Notification: Performance of [SIM] Bindings: time 0.03951/0.4112, allocations: 25.86 MB / 457.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.006234/0.4174, allocations: 3.024 MB / 460.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.02587/0.4433, allocations: 15.59 MB / 475.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.007495/0.4508, allocations: 1.991 MB / 477.9 MB, free: 12.27 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.0332/0.484, allocations: 17.24 MB / 495.1 MB, free: 9.676 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.003678/0.4877, allocations: 1.593 MB / 496.7 MB, free: 7.938 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.001746/0.4894, allocations: 1.007 MB / 497.7 MB, free: 6.836 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.003571/0.493, allocations: 2.583 MB / 0.4886 GB, free: 4.16 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.001191/0.4942, allocations: 0.5471 MB / 0.4891 GB, free: 3.602 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.006162/0.5003, allocations: 4.274 MB / 0.4933 GB, free: 15.23 MB / 414.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) Real[2] smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.abs_V_m = {Modelica.ComplexMath.abs(smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[$singlePhaseElectroMagneticConverter1].V_m) for $singlePhaseElectroMagneticConverter1 in 1:2} slice: {0} " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.0881961369886994] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertiaE.phi', 'loadInertiaE.w', 'loadInertiaM.phi', 'loadInertiaM.w', 'smrE.is[1]', 'smrE.is[2]', 'smrE.idq_rr[1]', 'smrE.idq_rr[2]', 'smrE.idq_sr[1]', 'smrE.idq_sr[2]', 'smrM.is[1]', 'smrM.is[2]', 'smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'vfController.x'] 0.5610568480333313 0.5770649139999999 0.20181563200000002 Calling exit ...