Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.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.002131/0.002131, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 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.001573/0.001573, allocations: 190.1 kB / 24.53 MB, free: 3.852 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.541/1.541, 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.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.467e-05, allocations: 2.281 kB / 371.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2734/0.2734, allocations: 13.23 MB / 385 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.2852, allocations: 4.845 MB / 389.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.2897, allocations: 118.1 kB / 389.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004057/0.2938, allocations: 1.056 MB / 391 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.2998, allocations: 1.301 MB / 392.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003087/0.3028, allocations: 0.8758 MB / 393.2 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007927/0.3108, allocations: 4.333 MB / 397.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.3133, allocations: 1.065 MB / 398.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.317, allocations: 1.58 MB / 400.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004305/0.3213, allocations: 1.625 MB / 401.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007401/0.3221, allocations: 299 kB / 402.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003713/0.3258, allocations: 0.7751 MB / 402.8 MB, free: 5.234 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006525/0.3323, allocations: 5.765 MB / 408.6 MB, free: 0.9844 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.004391/0.3367, allocations: 3.618 MB / 412.2 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.3379, allocations: 206.2 kB / 412.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000816/0.3387, allocations: 64.03 kB / 412.5 MB, free: 14.37 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.02419/0.3629, allocations: 16.3 MB / 428.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.00325/0.3662, allocations: 1.847 MB / 430.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.01381/0.38, allocations: 9.342 MB / 440 MB, free: 2.621 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003527/0.3835, allocations: 1.212 MB / 441.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01984/0.4033, allocations: 10.24 MB / 451.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002235/0.4056, allocations: 0.9202 MB / 452.4 MB, free: 5.168 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0009183/0.4065, allocations: 0.584 MB / 452.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.002177/0.4087, allocations: 1.527 MB / 454.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0004883/0.4092, allocations: 216 kB / 454.7 MB, free: 2.703 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.00367/0.4128, allocations: 2.523 MB / 457.2 MB, free: 120 kB / 350.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.865668802987784] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'speedSensor.flange.phi'] 0.45343061996391043 0.46812926499999996 0.126019287 Calling exit ...