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.001556/0.001556, allocations: 107.6 kB / 21.2 MB, free: 0.6641 MB / 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.002073/0.002073, allocations: 209.2 kB / 24.49 MB, free: 3.961 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.29e-05/3.29e-05, allocations: 6.219 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.1934/0.1934, allocations: 13.78 MB / 392.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.2042, allocations: 5.083 MB / 397.8 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004113/0.2083, allocations: 124.2 kB / 397.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003834/0.2121, allocations: 1.072 MB / 399 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.2175, allocations: 1.282 MB / 400.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.2215, allocations: 0.9072 MB / 401.2 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009465/0.231, allocations: 4.381 MB / 405.6 MB, free: 15.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004571/0.2356, allocations: 1.121 MB / 406.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.239, allocations: 1.584 MB / 408.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003994/0.243, allocations: 1.764 MB / 410.1 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00113/0.2442, allocations: 303.7 kB / 410.4 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.2478, allocations: 0.8173 MB / 411.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.007648/0.2554, allocations: 5.798 MB / 417 MB, free: 7.262 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004014/0.2594, allocations: 3.635 MB / 420.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008374/0.2603, allocations: 208 kB / 420.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008051/0.2611, allocations: 67.69 kB / 420.9 MB, free: 3.316 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.02676/0.2878, allocations: 16.35 MB / 437.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003713/0.2915, allocations: 1.824 MB / 439 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.01215/0.3037, allocations: 9.315 MB / 448.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003324/0.307, allocations: 1.384 MB / 449.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.01666/0.3237, allocations: 9.998 MB / 459.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001805/0.3255, allocations: 1.038 MB / 460.8 MB, free: 9.77 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007574/0.3262, allocations: 0.5906 MB / 461.4 MB, free: 9.121 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.001783/0.328, allocations: 1.531 MB / 462.9 MB, free: 7.508 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0003451/0.3284, allocations: 216.3 kB / 463.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.003195/0.3316, allocations: 2.523 MB / 465.6 MB, free: 4.707 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.5975831570103765] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'speedSensor.flange.phi'] 0.37279827799648046 0.377462995 0.113125823 Calling exit ...