Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8343/0.8343, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001692/0.001692, allocations: 147.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.755e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05456/0.0546, allocations: 25.17 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2292/0.2838, allocations: 51.41 MB / 256.8 MB, free: 16.78 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.2841, allocations: 67.23 kB / 256.9 MB, free: 16.77 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9791/1.263, allocations: 265.5 MB / 0.5102 GB, free: 5.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.034e-06/1.263, allocations: 0 / 0.5102 GB, free: 5.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.000736/1.264, allocations: 184 kB / 0.5103 GB, free: 5.652 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2972 * Number of variables: 2972 Notification: Performance of Generate backend data structure: time 0.4193/1.683, allocations: 12.84 MB / 0.5229 GB, free: 15.02 MB / 250.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.683, allocations: 9.844 kB / 0.5229 GB, free: 15.02 MB / 250.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1886/1.872, allocations: 42.38 MB / 0.5643 GB, free: 13.88 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04324/1.915, allocations: 15.5 MB / 0.5794 GB, free: 10.57 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/1.916, allocations: 0.6409 MB / 0.58 GB, free: 10.21 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009686/1.926, allocations: 0.8425 MB / 0.5808 GB, free: 9.656 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08287/2.009, allocations: 27.39 MB / 0.6076 GB, free: 1.77 MB / 266.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005696/2.01, allocations: 83.11 kB / 0.6077 GB, free: 1.719 MB / 266.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00641/2.016, allocations: 389.7 kB / 0.608 GB, free: 1.395 MB / 266.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.05267/2.069, allocations: 11.8 MB / 0.6196 GB, free: 5.594 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3269/2.396, allocations: 27.48 MB / 0.6464 GB, free: 42.78 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7939/3.19, allocations: 171.2 MB / 0.8136 GB, free: 3.793 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03017/3.22, allocations: 11.3 MB / 0.8247 GB, free: 11.02 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/3.23, allocations: 6.173 MB / 0.8307 GB, free: 7.281 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002435/3.233, allocations: 1.367 MB / 0.832 GB, free: 5.758 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/3.233, allocations: 81.72 kB / 0.8321 GB, free: 5.699 MB / 298.8 MB Notification: Performance of pre-optimization done (n=449): time 2.332e-05/3.233, allocations: 7 kB / 0.8321 GB, free: 5.695 MB / 298.8 MB Notification: Performance of matching and sorting (n=552): time 0.4056/3.638, allocations: 76.77 MB / 0.9071 GB, free: 54.38 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00197/3.641, allocations: 3.482 MB / 0.9105 GB, free: 51.05 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01759/3.658, allocations: 7.916 MB / 0.9182 GB, free: 50.28 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002034/3.66, allocations: 103.3 kB / 0.9183 GB, free: 50.25 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006641/3.667, allocations: 6.224 MB / 0.9244 GB, free: 46.59 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00422/3.671, allocations: 2.023 MB / 0.9264 GB, free: 45.1 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002852/3.674, allocations: 243 kB / 0.9266 GB, free: 44.91 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.0009104/3.675, allocations: 0.8417 MB / 0.9274 GB, free: 44.38 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0122/3.687, allocations: 6.984 MB / 0.9342 GB, free: 41.86 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01729/3.704, allocations: 13.53 MB / 0.9474 GB, free: 30.67 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/3.719, allocations: 8.874 MB / 0.9561 GB, free: 24.21 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002569/3.719, allocations: 64 kB / 0.9562 GB, free: 24.14 MB / 314.8 MB Notification: Performance of matching and sorting (n=1638) (initialization): time 0.3021/4.022, allocations: 37.35 MB / 0.9926 GB, free: 60.98 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/4.022, allocations: 100.8 kB / 0.9927 GB, free: 60.98 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05073/4.072, allocations: 23.02 MB / 1.015 GB, free: 60.66 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04575/4.118, allocations: 16.66 MB / 1.031 GB, free: 55.18 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/4.129, allocations: 2.903 MB / 1.034 GB, free: 52.36 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2534/4.383, allocations: 33.4 MB / 1.067 GB, free: 55.62 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02192/4.405, allocations: 2.454 MB / 1.069 GB, free: 55.62 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004173/4.409, allocations: 0.9188 MB / 1.07 GB, free: 55.62 MB / 314.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1037 * 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 (1456): * Single equations (assignments): 1425 * Array equations: 25 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004033/4.413, allocations: 0.9972 MB / 1.071 GB, free: 55.43 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002405/4.416, allocations: 0.8172 MB / 1.072 GB, free: 55.43 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02272/4.438, allocations: 12.63 MB / 1.084 GB, free: 54.96 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03261/4.471, allocations: 13.94 MB / 1.098 GB, free: 54.53 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.685e-05/4.471, allocations: 18.75 kB / 1.098 GB, free: 54.53 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001516/4.471, allocations: 30.66 kB / 1.098 GB, free: 54.53 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09742/4.569, allocations: 42.14 MB / 1.139 GB, free: 44.89 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/4.569, allocations: 14.44 kB / 1.139 GB, free: 44.89 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004184/4.573, allocations: 0.8788 MB / 1.14 GB, free: 44.86 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/4.585, allocations: 3.914 MB / 1.144 GB, free: 43.62 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001684/4.586, allocations: 225.6 kB / 1.144 GB, free: 43.46 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/4.611, allocations: 23.53 MB / 1.167 GB, free: 22.34 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001472/4.612, allocations: 2.986 MB / 1.17 GB, free: 19.21 MB / 314.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2346/4.847, allocations: 25.77 MB / 1.195 GB, free: 52.23 MB / 314.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006726/4.853, allocations: 2.094 MB / 1.197 GB, free: 52.14 MB / 314.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003043/4.856, allocations: 138.7 kB / 1.197 GB, free: 52.14 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01341/4.87, allocations: 1.771 MB / 1.199 GB, free: 52.14 MB / 314.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001754/4.872, allocations: 396 kB / 1.199 GB, free: 52.14 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008799/4.873, allocations: 330.9 kB / 1.2 GB, free: 52.14 MB / 314.8 MB Notification: Performance of sorting global known variables: time 0.01088/4.883, allocations: 5.639 MB / 1.205 GB, free: 51.85 MB / 314.8 MB Notification: Performance of sort global known variables: time 8.52e-07/4.883, allocations: 2.969 kB / 1.205 GB, free: 51.85 MB / 314.8 MB Notification: Performance of remove unused functions: time 0.0141/4.898, allocations: 2.728 MB / 1.208 GB, free: 51.85 MB / 314.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],rotor1D.rotorWith3DEffects.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (424): * Single equations (assignments): 403 * Array equations: 13 * 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.001365/4.899, allocations: 293.9 kB / 1.208 GB, free: 51.76 MB / 314.8 MB Notification: Performance of simCode: created initialization part: time 0.02463/4.924, allocations: 17.02 MB / 1.225 GB, free: 50.86 MB / 314.8 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/4.924, allocations: 0 / 1.225 GB, free: 50.86 MB / 314.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01103/4.935, allocations: 7.232 MB / 1.232 GB, free: 47.59 MB / 314.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/4.943, allocations: 1.018 MB / 1.233 GB, free: 47.16 MB / 314.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04103/4.984, allocations: 21.66 MB / 1.254 GB, free: 38.39 MB / 314.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01084/4.995, allocations: 6.677 MB / 1.261 GB, free: 33.56 MB / 314.8 MB Notification: Performance of simCode: alias equations: time 0.01549/5.011, allocations: 4.595 MB / 1.265 GB, free: 30.34 MB / 314.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004941/5.015, allocations: 0.9492 MB / 1.266 GB, free: 29.61 MB / 314.8 MB Notification: Performance of SimCode: time 5.91e-07/5.015, allocations: 0 / 1.266 GB, free: 29.61 MB / 314.8 MB Notification: Performance of Templates: time 0.6416/5.657, allocations: 144.2 MB / 1.407 GB, free: 65.59 MB / 330.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.pipe 2>&1)