Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.899e-05/2.906e-05, allocations: 7.984 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09011, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.4775, allocations: 100 MB / 443.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4778, allocations: 80.77 kB / 443.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8185/1.296, allocations: 149.8 MB / 0.5791 GB, free: 92.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.086e-06/1.296, allocations: 0 / 0.5791 GB, free: 92.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005523/1.297, allocations: 148.6 kB / 0.5792 GB, free: 92.83 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.03836/1.335, allocations: 8.538 MB / 0.5875 GB, free: 89.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.335, allocations: 11.22 kB / 0.5876 GB, free: 89.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09764/1.433, allocations: 16.68 MB / 0.6039 GB, free: 85.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03425/1.467, allocations: 12.54 MB / 0.6161 GB, free: 73.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/1.468, allocations: 0.489 MB / 0.6166 GB, free: 72.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/1.471, allocations: 0.6707 MB / 0.6172 GB, free: 72.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03958/1.51, allocations: 16.7 MB / 0.6335 GB, free: 54.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003898/1.511, allocations: 107 kB / 0.6336 GB, free: 54.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00187/1.512, allocations: 317.1 kB / 0.6339 GB, free: 53.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002437/1.515, allocations: 1.486 MB / 0.6354 GB, free: 52.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03326/1.548, allocations: 13.21 MB / 0.6483 GB, free: 39.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4087/1.957, allocations: 76.74 MB / 0.7232 GB, free: 33.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05461/2.012, allocations: 8.506 MB / 0.7315 GB, free: 32.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006584/2.018, allocations: 4.102 MB / 0.7355 GB, free: 32.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/2.02, allocations: 1.348 MB / 0.7369 GB, free: 31.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.123e-05/2.02, allocations: 61.47 kB / 0.7369 GB, free: 31.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 8.416e-06/2.021, allocations: 0 / 0.7369 GB, free: 31.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.1915/2.212, allocations: 46.67 MB / 0.7825 GB, free: 21.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002139/2.214, allocations: 3.225 MB / 0.7856 GB, free: 18.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01408/2.228, allocations: 6.456 MB / 0.7919 GB, free: 16.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008514/2.229, allocations: 77.12 kB / 0.792 GB, free: 16.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004431/2.234, allocations: 5.194 MB / 0.7971 GB, free: 12.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/2.236, allocations: 1.35 MB / 0.7984 GB, free: 11.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/2.237, allocations: 189 kB / 0.7986 GB, free: 11.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006146/2.237, allocations: 0.7136 MB / 0.7993 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009149/2.247, allocations: 4.508 MB / 0.8037 GB, free: 8.355 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/2.259, allocations: 9.758 MB / 0.8132 GB, free: 12.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/2.273, allocations: 6.552 MB / 0.8196 GB, free: 7.328 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/2.273, allocations: 52 kB / 0.8197 GB, free: 7.277 MB / 458.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.1544/2.428, allocations: 31.4 MB / 0.8503 GB, free: 13.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/2.428, allocations: 87.95 kB / 0.8504 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3472/2.775, allocations: 20.62 MB / 0.8706 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06029/2.835, allocations: 16.61 MB / 0.8868 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/2.845, allocations: 2.123 MB / 0.8889 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06074/2.906, allocations: 33.32 MB / 0.9214 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.918, allocations: 0.7713 MB / 0.9221 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002207/2.92, allocations: 0.5638 MB / 0.9227 GB, free: 107.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1094): * Single equations (assignments): 1081 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002909/2.923, allocations: 0.8147 MB / 0.9235 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001702/2.925, allocations: 0.6802 MB / 0.9242 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02559/2.95, allocations: 10.23 MB / 0.9341 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02261/2.973, allocations: 8.923 MB / 0.9429 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.604e-05/2.973, allocations: 15.78 kB / 0.9429 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.279e-05/2.973, allocations: 19.44 kB / 0.9429 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0563/3.029, allocations: 23.51 MB / 0.9659 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-05/3.029, allocations: 4 kB / 0.9659 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003735/3.033, allocations: 0.5633 MB / 0.9664 GB, free: 83.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01629/3.05, allocations: 4.011 MB / 0.9703 GB, free: 79.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000912/3.05, allocations: 103.9 kB / 0.9704 GB, free: 79.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03428/3.085, allocations: 23.99 MB / 0.9939 GB, free: 54.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001903/3.087, allocations: 2.961 MB / 0.9967 GB, free: 51.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03056/3.117, allocations: 15.69 MB / 1.012 GB, free: 35.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/3.12, allocations: 0.7082 MB / 1.013 GB, free: 35.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002146/3.122, allocations: 91.91 kB / 1.013 GB, free: 35.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005363/3.127, allocations: 323.5 kB / 1.013 GB, free: 34.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/3.129, allocations: 249.9 kB / 1.013 GB, free: 34.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007526/3.129, allocations: 96.58 kB / 1.013 GB, free: 34.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01088/3.14, allocations: 4.61 MB / 1.018 GB, free: 29.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.031e-06/3.14, allocations: 3.938 kB / 1.018 GB, free: 29.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01204/3.152, allocations: 2.128 MB / 1.02 GB, free: 27.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$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 (246): * Single equations (assignments): 235 * 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.001124/3.153, allocations: 244.2 kB / 1.02 GB, free: 27.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0218/3.175, allocations: 11.56 MB / 1.032 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.926e-06/3.175, allocations: 2 kB / 1.032 GB, free: 15.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2859/3.461, allocations: 5.13 MB / 1.037 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006649/3.468, allocations: 0.9428 MB / 1.038 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04614/3.514, allocations: 16.29 MB / 1.053 GB, free: 115 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01264/3.527, allocations: 5.499 MB / 1.059 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01252/3.539, allocations: 3.177 MB / 1.062 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002906/3.542, allocations: 447.8 kB / 1.062 GB, free: 113.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.989e-06/3.542, allocations: 0 / 1.062 GB, free: 113.9 MB / 490.7 MB Notification: Performance of Templates: time 0.2356/3.778, allocations: 97.67 MB / 1.158 GB, free: 59.77 MB / 490.7 MB