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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.407e-05, allocations: 0 / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08426, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4437, allocations: 98.11 MB / 415 MB, free: 6.309 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.444, allocations: 83.39 kB / 415.1 MB, free: 6.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.792/1.236, allocations: 148 MB / 0.5499 GB, free: 84.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.135e-06/1.236, allocations: 4 kB / 0.5499 GB, free: 84.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005581/1.237, allocations: 142.7 kB / 0.5501 GB, free: 84.34 MB / 426.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.04065/1.277, allocations: 8.56 MB / 0.5584 GB, free: 81.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.277, allocations: 9.344 kB / 0.5585 GB, free: 81.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08338/1.361, allocations: 16.68 MB / 0.5747 GB, free: 80.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03713/1.398, allocations: 13.17 MB / 0.5876 GB, free: 79.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005469/1.399, allocations: 499.8 kB / 0.5881 GB, free: 79.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/1.401, allocations: 0.6629 MB / 0.5887 GB, free: 79.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0418/1.443, allocations: 16.7 MB / 0.605 GB, free: 64.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003895/1.444, allocations: 110.5 kB / 0.6051 GB, free: 64.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.446, allocations: 317.4 kB / 0.6054 GB, free: 64.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002661/1.448, allocations: 1.478 MB / 0.6069 GB, free: 63.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0337/1.482, allocations: 13.21 MB / 0.6198 GB, free: 49.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4272/1.909, allocations: 76.86 MB / 0.6949 GB, free: 43.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03379/1.943, allocations: 8.5 MB / 0.7032 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008644/1.952, allocations: 4.097 MB / 0.7072 GB, free: 42.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/1.954, allocations: 1.345 MB / 0.7085 GB, free: 41.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/1.954, allocations: 68.23 kB / 0.7085 GB, free: 41.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 8.26e-06/1.954, allocations: 7.016 kB / 0.7085 GB, free: 41.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.2376/2.191, allocations: 46.87 MB / 0.7543 GB, free: 33.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002669/2.194, allocations: 3.23 MB / 0.7575 GB, free: 30.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01349/2.208, allocations: 6.514 MB / 0.7638 GB, free: 28.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008722/2.209, allocations: 77.66 kB / 0.7639 GB, free: 28.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004376/2.213, allocations: 5.216 MB / 0.769 GB, free: 24.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/2.215, allocations: 1.35 MB / 0.7703 GB, free: 23.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/2.216, allocations: 185 kB / 0.7705 GB, free: 23.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006596/2.217, allocations: 0.7103 MB / 0.7712 GB, free: 23.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008848/2.226, allocations: 4.508 MB / 0.7756 GB, free: 21.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/2.238, allocations: 9.746 MB / 0.7851 GB, free: 9.797 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/2.252, allocations: 6.555 MB / 0.7915 GB, free: 4.496 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001797/2.253, allocations: 52 kB / 0.7916 GB, free: 4.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.09963/2.352, allocations: 31.23 MB / 0.822 GB, free: 12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/2.352, allocations: 86.03 kB / 0.8221 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06664/2.419, allocations: 20.63 MB / 0.8423 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3312/2.75, allocations: 16.59 MB / 0.8585 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01025/2.761, allocations: 2.126 MB / 0.8605 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05997/2.821, allocations: 33.34 MB / 0.8931 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.832, allocations: 0.7745 MB / 0.8939 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002208/2.835, allocations: 0.5617 MB / 0.8944 GB, free: 119.8 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.002929/2.838, allocations: 0.8161 MB / 0.8952 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001744/2.839, allocations: 0.6799 MB / 0.8959 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/2.866, allocations: 10.23 MB / 0.9059 GB, free: 115.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02336/2.89, allocations: 8.93 MB / 0.9146 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.55e-05/2.89, allocations: 20.75 kB / 0.9146 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-05/2.89, allocations: 18.84 kB / 0.9146 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05909/2.949, allocations: 23.52 MB / 0.9376 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/2.949, allocations: 0 / 0.9376 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00439/2.954, allocations: 0.5639 MB / 0.9381 GB, free: 104.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01797/2.972, allocations: 4.019 MB / 0.9421 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009363/2.973, allocations: 96.73 kB / 0.9422 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03687/3.01, allocations: 24 MB / 0.9656 GB, free: 80.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001909/3.012, allocations: 2.951 MB / 0.9685 GB, free: 77.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03178/3.043, allocations: 15.71 MB / 0.9838 GB, free: 63.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004501/3.048, allocations: 1.383 MB / 0.9852 GB, free: 62.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002234/3.05, allocations: 96.47 kB / 0.9853 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005784/3.056, allocations: 324.1 kB / 0.9856 GB, free: 61.98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/3.057, allocations: 244.8 kB / 0.9858 GB, free: 61.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006122/3.058, allocations: 98.23 kB / 0.9859 GB, free: 61.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01094/3.069, allocations: 4.647 MB / 0.9904 GB, free: 57.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.308e-06/3.069, allocations: 0 / 0.9904 GB, free: 57.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0123/3.081, allocations: 2.136 MB / 0.9925 GB, free: 54.91 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.001138/3.083, allocations: 240.4 kB / 0.9927 GB, free: 54.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0218/3.104, allocations: 11.56 MB / 1.004 GB, free: 43.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.919e-06/3.104, allocations: 4 kB / 1.004 GB, free: 43.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009363/3.114, allocations: 5.125 MB / 1.009 GB, free: 38.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006294/3.12, allocations: 0.9416 MB / 1.01 GB, free: 37.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3096/3.43, allocations: 16.33 MB / 1.026 GB, free: 122.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/3.443, allocations: 5.52 MB / 1.031 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0132/3.456, allocations: 3.185 MB / 1.034 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002712/3.459, allocations: 454.2 kB / 1.035 GB, free: 121.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.146e-06/3.459, allocations: 0 / 1.035 GB, free: 121.4 MB / 490.7 MB Notification: Performance of Templates: time 0.2296/3.689, allocations: 97.83 MB / 1.13 GB, free: 80.78 MB / 490.7 MB