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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.062e-05, allocations: 4 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08906/0.08911, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5381, allocations: 100 MB / 442.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5384, allocations: 90.12 kB / 442.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8196/1.358, allocations: 149.8 MB / 0.5786 GB, free: 93.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.373e-06/1.358, allocations: 4 kB / 0.5786 GB, free: 93.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004961/1.359, allocations: 147 kB / 0.5787 GB, free: 93.29 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.03696/1.396, allocations: 8.545 MB / 0.587 GB, free: 90.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.396, allocations: 9.938 kB / 0.5871 GB, free: 90.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07946/1.475, allocations: 16.68 MB / 0.6033 GB, free: 85.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03462/1.51, allocations: 12.54 MB / 0.6156 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005168/1.51, allocations: 496.6 kB / 0.6161 GB, free: 73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002808/1.513, allocations: 0.6728 MB / 0.6167 GB, free: 72.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/1.553, allocations: 16.7 MB / 0.633 GB, free: 54.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/1.554, allocations: 107 kB / 0.6331 GB, free: 54.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001675/1.556, allocations: 316 kB / 0.6334 GB, free: 53.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00252/1.558, allocations: 1.474 MB / 0.6349 GB, free: 52.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/1.592, allocations: 13.22 MB / 0.6478 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.381/1.973, allocations: 76.74 MB / 0.7227 GB, free: 33.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03345/2.006, allocations: 8.503 MB / 0.731 GB, free: 33.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006445/2.013, allocations: 4.106 MB / 0.735 GB, free: 33.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001842/2.015, allocations: 1.348 MB / 0.7364 GB, free: 31.97 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/2.015, allocations: 64.3 kB / 0.7364 GB, free: 31.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 9.75e-06/2.015, allocations: 7.047 kB / 0.7364 GB, free: 31.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.2285/2.243, allocations: 46.66 MB / 0.782 GB, free: 21.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002118/2.245, allocations: 3.219 MB / 0.7851 GB, free: 18.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/2.259, allocations: 6.456 MB / 0.7914 GB, free: 16.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008668/2.26, allocations: 78.72 kB / 0.7915 GB, free: 16.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004515/2.265, allocations: 5.191 MB / 0.7966 GB, free: 12.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001942/2.267, allocations: 1.354 MB / 0.7979 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/2.268, allocations: 192 kB / 0.7981 GB, free: 11.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005372/2.268, allocations: 0.7097 MB / 0.7988 GB, free: 11.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01221/2.28, allocations: 4.512 MB / 0.8032 GB, free: 8.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02063/2.301, allocations: 9.749 MB / 0.8127 GB, free: 12.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02343/2.325, allocations: 6.553 MB / 0.8191 GB, free: 7.406 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000281/2.325, allocations: 56 kB / 0.8192 GB, free: 7.352 MB / 458.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.162/2.487, allocations: 31.38 MB / 0.8498 GB, free: 13.28 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/2.487, allocations: 95.61 kB / 0.8499 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3444/2.832, allocations: 20.62 MB / 0.87 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05923/2.891, allocations: 16.61 MB / 0.8863 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009468/2.9, allocations: 2.119 MB / 0.8883 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0606/2.961, allocations: 33.32 MB / 0.9209 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.972, allocations: 0.7761 MB / 0.9216 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/2.975, allocations: 0.5617 MB / 0.9222 GB, free: 108.4 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.002494/2.977, allocations: 0.8105 MB / 0.923 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001681/2.979, allocations: 0.6759 MB / 0.9236 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02506/3.004, allocations: 10.23 MB / 0.9336 GB, free: 104.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02277/3.027, allocations: 8.93 MB / 0.9423 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.358e-05/3.027, allocations: 17.22 kB / 0.9423 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.698e-05/3.027, allocations: 15.7 kB / 0.9424 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0554/3.082, allocations: 23.51 MB / 0.9653 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/3.082, allocations: 4 kB / 0.9653 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/3.086, allocations: 0.5577 MB / 0.9659 GB, free: 83.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/3.103, allocations: 4.014 MB / 0.9698 GB, free: 79.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000922/3.104, allocations: 104.7 kB / 0.9699 GB, free: 79.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03539/3.139, allocations: 24 MB / 0.9933 GB, free: 54.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001938/3.141, allocations: 2.96 MB / 0.9962 GB, free: 51.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/3.173, allocations: 15.68 MB / 1.012 GB, free: 35.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/3.175, allocations: 0.7043 MB / 1.012 GB, free: 35.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002293/3.178, allocations: 95.34 kB / 1.012 GB, free: 35.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005576/3.183, allocations: 319.5 kB / 1.013 GB, free: 34.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/3.184, allocations: 253.5 kB / 1.013 GB, free: 34.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004671/3.185, allocations: 96.66 kB / 1.013 GB, free: 34.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01044/3.195, allocations: 4.61 MB / 1.017 GB, free: 29.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.06e-06/3.195, allocations: 0 / 1.017 GB, free: 29.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01237/3.208, allocations: 2.129 MB / 1.02 GB, free: 27.74 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.209, allocations: 242 kB / 1.02 GB, free: 27.51 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02148/3.23, allocations: 11.57 MB / 1.031 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.932e-06/3.231, allocations: 0 / 1.031 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2875/3.518, allocations: 5.126 MB / 1.036 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00706/3.525, allocations: 0.9487 MB / 1.037 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04448/3.57, allocations: 16.29 MB / 1.053 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/3.582, allocations: 5.499 MB / 1.058 GB, free: 114.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01216/3.594, allocations: 3.178 MB / 1.061 GB, free: 114.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002599/3.596, allocations: 453.8 kB / 1.062 GB, free: 114.4 MB / 490.7 MB Notification: Performance of SimCode: time 2.855e-06/3.596, allocations: 0 / 1.062 GB, free: 114.4 MB / 490.7 MB Notification: Performance of Templates: time 0.2312/3.828, allocations: 97.66 MB / 1.157 GB, free: 59.75 MB / 490.7 MB