Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001721/0.001721, allocations: 109.3 kB / 21.99 MB, free: 4.594 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.002168/0.002168, allocations: 214 kB / 25.3 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 207.7 MB / 236.2 MB, free: 9.75 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.w|speedSensor.flange.phi|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.473e-05, allocations: 2.281 kB / 348.5 MB, free: 9.336 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_CurrentSource): time 0.01907/0.0191, allocations: 13.19 MB / 361.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.03264, allocations: 4.867 MB / 366.6 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004192/0.03684, allocations: 111.2 kB / 366.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.04141, allocations: 1.044 MB / 367.8 MB, free: 6.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007594/0.049, allocations: 1.247 MB / 369 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004715/0.05372, allocations: 0.904 MB / 369.9 MB, free: 3.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009256/0.06297, allocations: 4.274 MB / 374.2 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.06645, allocations: 1.025 MB / 375.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/0.07075, allocations: 1.573 MB / 376.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004604/0.07535, allocations: 1.618 MB / 378.4 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001261/0.07661, allocations: 296 kB / 378.7 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.08064, allocations: 0.7687 MB / 379.5 MB, free: 10.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.008864/0.08951, allocations: 5.726 MB / 385.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004993/0.0945, allocations: 3.606 MB / 388.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.09577, allocations: 208 kB / 389 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000814/0.09658, allocations: 59.75 kB / 389 MB, free: 0.543 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 (510) * Number of variables: 826 (503) Notification: Performance of [SIM] Bindings: time 0.2895/0.3861, allocations: 16.2 MB / 405.2 MB, free: 22.16 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003053/0.3891, allocations: 1.89 MB / 407.1 MB, free: 21 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.01044/0.3996, allocations: 9.265 MB / 416.4 MB, free: 15.24 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.003105/0.4027, allocations: 1.208 MB / 417.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01512/0.4178, allocations: 10.27 MB / 427.9 MB, free: 9.082 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001761/0.4196, allocations: 0.9167 MB / 428.8 MB, free: 8.527 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006975/0.4203, allocations: 0.581 MB / 429.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001503/0.4218, allocations: 1.513 MB / 430.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0004046/0.4222, allocations: 218.8 kB / 431.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00242/0.4246, allocations: 2.504 MB / 433.6 MB, free: 4.293 MB / 318.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: {1} " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1143331300118007] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.w', 'speedSensor.flange.phi', 'smpm.is[1]', 'smpm.is[2]'] 0.46197399497032166 0.47704464300000005 0.37688578100000003 Calling exit ...