Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001505/0.001505, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001991/0.001991, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.652/1.652, allocations: 230.5 MB / 258.2 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.234e-05, allocations: 2.281 kB / 379.1 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_CurrentSource): time 0.2441/0.2442, allocations: 13.77 MB / 392.8 MB, free: 7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.2569, allocations: 5.087 MB / 397.9 MB, free: 3.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005382/0.2623, allocations: 123.5 kB / 398 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004269/0.2665, allocations: 1.072 MB / 399.1 MB, free: 2.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.2727, allocations: 1.28 MB / 400.4 MB, free: 2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.2757, allocations: 0.903 MB / 401.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007659/0.2833, allocations: 4.388 MB / 405.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/0.2859, allocations: 1.066 MB / 406.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.2899, allocations: 1.58 MB / 408.3 MB, free: 13.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004663/0.2946, allocations: 1.628 MB / 410 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008294/0.2954, allocations: 299.7 kB / 410.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003547/0.2989, allocations: 0.7935 MB / 411.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.007533/0.3065, allocations: 5.798 MB / 416.9 MB, free: 7.254 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004531/0.311, allocations: 3.64 MB / 420.5 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.3121, allocations: 208 kB / 420.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008854/0.313, allocations: 75.67 kB / 420.8 MB, free: 3.297 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.02288/0.3359, allocations: 16.38 MB / 437.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002714/0.3386, allocations: 1.825 MB / 439 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.01144/0.3501, allocations: 9.371 MB / 448.3 MB, free: 7.188 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002903/0.353, allocations: 1.212 MB / 449.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.01751/0.3705, allocations: 10.24 MB / 459.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001871/0.3724, allocations: 0.9302 MB / 460.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008233/0.3732, allocations: 0.5906 MB / 461.3 MB, free: 9.086 MB / 366.1 MB Notification: Performance of [SIM] Detect States: time 0.002145/0.3753, allocations: 1.535 MB / 462.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of [SIM] Events: time 0.0004064/0.3757, allocations: 203.9 kB / 463 MB, free: 7.254 MB / 366.1 MB Notification: Performance of [SIM] Partitioning: time 0.00326/0.379, allocations: 2.527 MB / 465.6 MB, free: 4.668 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.8915542940376326] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'speedSensor.flange.phi'] 0.4128905689576641 0.42731175200000004 0.11104820200000001 Calling exit ...