Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 212.7 kB / 24.55 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.227e-05, allocations: 2.281 kB / 379.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2342/0.2342, allocations: 13.78 MB / 392.9 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.2458, allocations: 5.087 MB / 397.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004288/0.2501, allocations: 124.2 kB / 398.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.254, allocations: 1.069 MB / 399.1 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005763/0.2597, allocations: 1.28 MB / 400.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.2623, allocations: 0.9001 MB / 401.3 MB, free: 1.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006909/0.2692, allocations: 4.386 MB / 405.7 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00261/0.2719, allocations: 1.07 MB / 406.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003526/0.2754, allocations: 1.577 MB / 408.3 MB, free: 13.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003731/0.2791, allocations: 1.633 MB / 410 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001068/0.2802, allocations: 298.8 kB / 410.3 MB, free: 12.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.2838, allocations: 0.8066 MB / 411.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.008642/0.2924, allocations: 5.792 MB / 416.9 MB, free: 7.395 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004043/0.2965, allocations: 3.637 MB / 420.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000804/0.2973, allocations: 212 kB / 420.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007538/0.298, allocations: 67.67 kB / 420.8 MB, free: 3.441 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 (516) * Number of variables: 826 (503) Notification: Performance of [SIM] Bindings: time 0.01913/0.3172, allocations: 16.38 MB / 437.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002986/0.3201, allocations: 1.821 MB / 439 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.01242/0.3326, allocations: 9.38 MB / 448.4 MB, free: 7.336 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003057/0.3356, allocations: 1.212 MB / 449.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.01721/0.3528, allocations: 10.24 MB / 459.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001825/0.3546, allocations: 0.9186 MB / 460.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008381/0.3555, allocations: 0.6022 MB / 461.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.001934/0.3574, allocations: 1.522 MB / 462.9 MB, free: 7.613 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0003946/0.3578, allocations: 219.4 kB / 463.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003433/0.3612, allocations: 2.527 MB / 465.6 MB, free: 4.809 MB / 366.1 MB Error: Internal error NBResolveSingularities.indexReduction failed because slicing during index reduction is not yet supported. needed sliced dummy: [STAT] (2) Real[2] rotorDisplacementAngle.rotatorVS2R.y slice: {0} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.820322892977856] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'speedSensor.flange.phi'] 0.39518207899527624 0.40936372499999996 0.108111445 Calling exit ...