Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009467/0.0009468, allocations: 184.6 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.602/1.602, allocations: 194.3 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001881/0.001881, allocations: 120 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.199e-05/2.202e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/0.09316, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4611, allocations: 91.83 MB / 434.4 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.4614, allocations: 85.27 kB / 434.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6076/1.069, allocations: 144.2 MB / 0.5651 GB, free: 67.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.069, allocations: 0 / 0.5651 GB, free: 67.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004904/1.07, allocations: 141.7 kB / 0.5652 GB, free: 67.12 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.0353/1.105, allocations: 8.559 MB / 0.5736 GB, free: 64.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/1.105, allocations: 7.375 kB / 0.5736 GB, free: 64.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05849/1.163, allocations: 16.68 MB / 0.5899 GB, free: 63.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02991/1.193, allocations: 13.13 MB / 0.6027 GB, free: 62.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/1.194, allocations: 218.1 kB / 0.6029 GB, free: 62.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/1.196, allocations: 414.1 kB / 0.6033 GB, free: 62.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01458/1.211, allocations: 9.003 MB / 0.6121 GB, free: 61.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/1.233, allocations: 14.13 MB / 0.6259 GB, free: 49.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/1.234, allocations: 106.3 kB / 0.626 GB, free: 49.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008979/1.235, allocations: 48 kB / 0.626 GB, free: 49.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00171/1.236, allocations: 1.476 MB / 0.6275 GB, free: 48.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3861/1.622, allocations: 74.52 MB / 0.7003 GB, free: 32.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008737/1.631, allocations: 5.359 MB / 0.7055 GB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005688/1.637, allocations: 4.018 MB / 0.7094 GB, free: 31.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/1.639, allocations: 1.35 MB / 0.7107 GB, free: 30.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/1.639, allocations: 61.48 kB / 0.7108 GB, free: 30.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=268): time 5.42e-06/1.639, allocations: 3.969 kB / 0.7108 GB, free: 30.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=349): time 0.1012/1.74, allocations: 44.77 MB / 0.7545 GB, free: 23.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.74, allocations: 296.9 kB / 0.7548 GB, free: 22.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.75, allocations: 5.647 MB / 0.7603 GB, free: 20.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001179/1.752, allocations: 25.7 kB / 0.7603 GB, free: 20.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003744/1.755, allocations: 5.255 MB / 0.7655 GB, free: 17.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002386/1.758, allocations: 1.297 MB / 0.7667 GB, free: 16.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006555/1.758, allocations: 0 / 0.7667 GB, free: 16.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004315/1.759, allocations: 0.7104 MB / 0.7674 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005324/1.764, allocations: 4.288 MB / 0.7716 GB, free: 14.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008146/1.772, allocations: 9.655 MB / 0.7811 GB, free: 5.242 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00943/1.782, allocations: 6.321 MB / 0.7872 GB, free: 1.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.782, allocations: 52 kB / 0.7873 GB, free: 1.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.07777/1.86, allocations: 30.27 MB / 0.8168 GB, free: 13.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.86, allocations: 87.95 kB / 0.8169 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05097/1.911, allocations: 20.27 MB / 0.8367 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04896/1.96, allocations: 16.52 MB / 0.8529 GB, free: 10.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009716/1.97, allocations: 2.148 MB / 0.855 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3137/2.284, allocations: 31.46 MB / 0.8857 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.294, allocations: 0.5946 MB / 0.8863 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002845/2.297, allocations: 0.5743 MB / 0.8868 GB, free: 121.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1110): * Single equations (assignments): 1097 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002338/2.3, allocations: 0.5889 MB / 0.8874 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001644/2.301, allocations: 0.6232 MB / 0.888 GB, free: 121.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/2.319, allocations: 9.742 MB / 0.8975 GB, free: 120.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01437/2.334, allocations: 8.556 MB / 0.9059 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/2.334, allocations: 23.56 kB / 0.9059 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-05/2.334, allocations: 14.3 kB / 0.9059 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04287/2.377, allocations: 22.2 MB / 0.9276 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.857e-05/2.377, allocations: 6.594 kB / 0.9276 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/2.38, allocations: 0.5474 MB / 0.9281 GB, free: 111.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/2.392, allocations: 3.97 MB / 0.932 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009025/2.393, allocations: 51.58 kB / 0.9321 GB, free: 110.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02456/2.417, allocations: 22.76 MB / 0.9543 GB, free: 97.31 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001392/2.419, allocations: 2.839 MB / 0.9571 GB, free: 94.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/2.44, allocations: 15.07 MB / 0.9718 GB, free: 85.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003727/2.444, allocations: 1.296 MB / 0.973 GB, free: 84.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001504/2.445, allocations: 42.17 kB / 0.9731 GB, free: 84.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003697/2.449, allocations: 272.8 kB / 0.9733 GB, free: 84.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/2.45, allocations: 245 kB / 0.9736 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002939/2.45, allocations: 99.91 kB / 0.9737 GB, free: 84.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006604/2.457, allocations: 3.889 MB / 0.9775 GB, free: 81.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.2e-07/2.457, allocations: 3.156 kB / 0.9775 GB, free: 81.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01077/2.468, allocations: 1.895 MB / 0.9793 GB, free: 79.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 230 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 35,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007397/2.468, allocations: 178.4 kB / 0.9795 GB, free: 79.02 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01622/2.485, allocations: 11.31 MB / 0.9905 GB, free: 69.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.485, allocations: 0 / 0.9905 GB, free: 69.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008983/2.494, allocations: 4.973 MB / 0.9954 GB, free: 64.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005958/2.5, allocations: 0.7963 MB / 0.9962 GB, free: 64.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0322/2.532, allocations: 15.94 MB / 1.012 GB, free: 50.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007144/2.539, allocations: 5.505 MB / 1.017 GB, free: 45.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008856/2.548, allocations: 3.146 MB / 1.02 GB, free: 42.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001892/2.55, allocations: 431.3 kB / 1.021 GB, free: 42.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/2.55, allocations: 0 / 1.021 GB, free: 42.07 MB / 474.7 MB Notification: Performance of Templates: time 0.4016/2.952, allocations: 89.64 MB / 1.108 GB, free: 111 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)