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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.9 MB / 210.6 MB, free: 9.312 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.917e-05, allocations: 4 kB / 258.8 MB, free: 9.023 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 44.5 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.1107/0.4053, allocations: 74.54 MB / 377.9 MB, free: 2.887 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04539/0.4507, allocations: 16.16 MB / 394 MB, free: 2.672 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0168/0.4676, allocations: 410.9 kB / 394.4 MB, free: 2.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01313/0.4808, allocations: 3.986 MB / 398.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03798/0.5188, allocations: 10.83 MB / 409.2 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00664/0.5255, allocations: 1.217 MB / 410.5 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.3782/0.9037, allocations: 33.03 MB / 443.5 MB, free: 17.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01294/0.9167, allocations: 7.069 MB / 450.6 MB, free: 16.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003952/0.9207, allocations: 1.681 MB / 452.2 MB, free: 16.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00501/0.9258, allocations: 2.483 MB / 454.7 MB, free: 16.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004303/0.9301, allocations: 1.337 MB / 456.1 MB, free: 16.58 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00181/0.932, allocations: 220.4 kB / 456.3 MB, free: 16.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004391/0.9364, allocations: 2.992 MB / 459.3 MB, free: 16.58 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002742/0.9392, allocations: 0.4941 MB / 459.8 MB, free: 16.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.952, allocations: 9.84 MB / 469.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.952, allocations: 0 / 469.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.952, allocations: 0 / 469.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004161/0.9525, allocations: 0 / 469.6 MB, free: 10.21 MB / 362.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.06368/1.016, allocations: 8.136 MB / 477.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.016, allocations: 8.031 kB / 477.7 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2765/1.293, allocations: 26.74 MB / 0.4927 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02562/1.318, allocations: 8.023 MB / 0.5005 GB, free: 3.273 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/1.319, allocations: 379.4 kB / 0.5009 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003798/1.323, allocations: 0.6848 MB / 0.5015 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05165/1.374, allocations: 16.68 MB / 0.5178 GB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003714/1.375, allocations: 83.73 kB / 0.5179 GB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/1.376, allocations: 245.9 kB / 0.5181 GB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006759/1.383, allocations: 2.659 MB / 0.5207 GB, free: 3.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0495/1.433, allocations: 13.95 MB / 0.5343 GB, free: 9.027 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6753/2.108, allocations: 66.4 MB / 0.5992 GB, free: 145 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04546/2.154, allocations: 8.731 MB / 0.6077 GB, free: 144.3 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00217/2.156, allocations: 1.045 MB / 0.6087 GB, free: 143.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.513e-05/2.156, allocations: 59.75 kB / 0.6088 GB, free: 143.4 MB / 458.8 MB Notification: Performance of pre-optimization done (n=268): time 6.292e-06/2.156, allocations: 0 / 0.6088 GB, free: 143.4 MB / 458.8 MB Notification: Performance of matching and sorting (n=348): time 0.2641/2.42, allocations: 52.77 MB / 0.6603 GB, free: 104.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002473/2.423, allocations: 3.27 MB / 0.6635 GB, free: 100.8 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.015/2.438, allocations: 7.382 MB / 0.6707 GB, free: 93.44 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001177/2.439, allocations: 83.14 kB / 0.6708 GB, free: 93.36 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004553/2.443, allocations: 5.137 MB / 0.6758 GB, free: 88.22 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00236/2.446, allocations: 1.319 MB / 0.6771 GB, free: 86.91 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/2.447, allocations: 190.5 kB / 0.6773 GB, free: 86.73 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005286/2.448, allocations: 0.7137 MB / 0.678 GB, free: 86.01 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/2.458, allocations: 4.668 MB / 0.6825 GB, free: 81.34 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01384/2.472, allocations: 9.885 MB / 0.6922 GB, free: 69.08 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01416/2.486, allocations: 6.647 MB / 0.6987 GB, free: 62.59 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001226/2.487, allocations: 52 kB / 0.6987 GB, free: 62.54 MB / 458.8 MB Notification: Performance of matching and sorting (n=1239) (initialization): time 0.1229/2.61, allocations: 31.92 MB / 0.7299 GB, free: 30.79 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/2.61, allocations: 80 kB / 0.73 GB, free: 30.71 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08812/2.698, allocations: 20.94 MB / 0.7504 GB, free: 9.734 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3629/3.061, allocations: 16.89 MB / 0.7669 GB, free: 162.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/3.075, allocations: 2.182 MB / 0.7691 GB, free: 162.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0824/3.157, allocations: 37.01 MB / 0.8052 GB, free: 147.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/3.171, allocations: 0.7768 MB / 0.806 GB, free: 146.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/3.173, allocations: 0.5657 MB / 0.8065 GB, free: 146 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * 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 (1073): * Single equations (assignments): 1056 * Array equations: 11 * 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 {(4,100.0%) 41,(3,100.0%) 38} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.008361/3.181, allocations: 3.368 MB / 0.8098 GB, free: 143.1 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001861/3.183, allocations: 0.6673 MB / 0.8105 GB, free: 142.8 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03343/3.216, allocations: 10.48 MB / 0.8207 GB, free: 132.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0298/3.246, allocations: 9.173 MB / 0.8296 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.519e-05/3.246, allocations: 16 kB / 0.8297 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.751e-05/3.246, allocations: 19.89 kB / 0.8297 GB, free: 123.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06772/3.314, allocations: 24.24 MB / 0.8534 GB, free: 99.31 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.492e-05/3.314, allocations: 4 kB / 0.8534 GB, free: 99.31 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006836/3.321, allocations: 0.6708 MB / 0.854 GB, free: 98.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02335/3.344, allocations: 4.126 MB / 0.858 GB, free: 94.57 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/3.346, allocations: 100.4 kB / 0.8581 GB, free: 94.48 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0468/3.392, allocations: 24.39 MB / 0.8819 GB, free: 69.63 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002259/3.395, allocations: 2.989 MB / 0.8849 GB, free: 66.38 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0416/3.436, allocations: 16.26 MB / 0.9008 GB, free: 50.14 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005163/3.442, allocations: 1.445 MB / 0.9022 GB, free: 48.67 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002499/3.444, allocations: 77.55 kB / 0.9022 GB, free: 48.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007407/3.452, allocations: 327.2 kB / 0.9025 GB, free: 48.28 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001568/3.453, allocations: 246.1 kB / 0.9028 GB, free: 48.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004828/3.454, allocations: 102.2 kB / 0.9029 GB, free: 47.94 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01056/3.464, allocations: 5.336 MB / 0.9081 GB, free: 42.64 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.61e-07/3.464, allocations: 0 / 0.9081 GB, free: 42.64 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01157/3.476, allocations: 2.166 MB / 0.9102 GB, free: 40.49 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,$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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 234 * 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: 3 * 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: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/3.477, allocations: 242.8 kB / 0.9104 GB, free: 40.26 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02632/3.504, allocations: 12.14 MB / 0.9223 GB, free: 28.11 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/3.504, allocations: 0 / 0.9223 GB, free: 28.11 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01179/3.515, allocations: 5.18 MB / 0.9274 GB, free: 22.84 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007584/3.523, allocations: 0.9401 MB / 0.9283 GB, free: 21.91 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3193/3.842, allocations: 21.38 MB / 0.9492 GB, free: 157.1 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/3.854, allocations: 5.497 MB / 0.9545 GB, free: 156.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01435/3.868, allocations: 3.148 MB / 0.9576 GB, free: 156.1 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003503/3.872, allocations: 466 kB / 0.958 GB, free: 156.1 MB / 458.8 MB Notification: Performance of SimCode: time 1.723e-06/3.872, allocations: 0 / 0.958 GB, free: 156.1 MB / 458.8 MB Notification: Performance of Templates: time 0.2418/4.114, allocations: 102.4 MB / 1.058 GB, free: 64.75 MB / 458.8 MB