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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.1 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.812e-05, allocations: 0 / 228.1 MB, free: 5.898 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.08934, allocations: 38.77 MB / 266.9 MB, free: 15.04 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.3338/0.4232, allocations: 74.54 MB / 341.4 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05171/0.4749, allocations: 16.15 MB / 357.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02079/0.4958, allocations: 410.9 kB / 358 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01548/0.5113, allocations: 3.982 MB / 362 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04468/0.5561, allocations: 10.81 MB / 372.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007625/0.5637, allocations: 1.24 MB / 374 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0968/0.6606, allocations: 33.03 MB / 407.1 MB, free: 9.641 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01521/0.6759, allocations: 7.073 MB / 414.1 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.6806, allocations: 1.683 MB / 415.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2814/0.9621, allocations: 2.475 MB / 418.3 MB, free: 36.55 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005939/0.9681, allocations: 1.334 MB / 419.6 MB, free: 36.55 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003178/0.9713, allocations: 225.1 kB / 419.8 MB, free: 36.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006435/0.9778, allocations: 2.988 MB / 422.8 MB, free: 36.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004379/0.9823, allocations: 0.4903 MB / 423.3 MB, free: 36.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01744/0.9997, allocations: 9.841 MB / 433.2 MB, free: 35.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9998, allocations: 0.9375 kB / 433.2 MB, free: 35.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.9998, allocations: 0 / 433.2 MB, free: 35.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005495/1, allocations: 3.969 kB / 433.2 MB, free: 35.69 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.04083/1.041, allocations: 8.134 MB / 441.3 MB, free: 31.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.041, allocations: 10.38 kB / 441.3 MB, free: 31.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2526/1.294, allocations: 26.76 MB / 468.1 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0277/1.322, allocations: 8.018 MB / 476.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/1.322, allocations: 380.2 kB / 476.4 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004473/1.327, allocations: 0.6844 MB / 477.1 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05577/1.383, allocations: 16.67 MB / 493.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004636/1.383, allocations: 90.64 kB / 493.9 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/1.386, allocations: 243.7 kB / 494.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00736/1.393, allocations: 2.66 MB / 496.8 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05267/1.446, allocations: 13.94 MB / 0.4988 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3999/1.846, allocations: 66.41 MB / 0.5636 GB, free: 117.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04833/1.894, allocations: 8.727 MB / 0.5721 GB, free: 116.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002286/1.896, allocations: 1.041 MB / 0.5732 GB, free: 115.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/1.896, allocations: 67.58 kB / 0.5732 GB, free: 115.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=268): time 6.492e-06/1.896, allocations: 0 / 0.5732 GB, free: 115.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=348): time 0.2674/2.164, allocations: 52.79 MB / 0.6248 GB, free: 88.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002529/2.166, allocations: 3.261 MB / 0.6279 GB, free: 85.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01877/2.185, allocations: 7.391 MB / 0.6352 GB, free: 77.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001483/2.187, allocations: 79.42 kB / 0.6352 GB, free: 77.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00493/2.192, allocations: 4.819 MB / 0.6399 GB, free: 73.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00277/2.195, allocations: 1.329 MB / 0.6412 GB, free: 71.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001714/2.196, allocations: 183.4 kB / 0.6414 GB, free: 71.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007522/2.197, allocations: 0.7117 MB / 0.6421 GB, free: 70.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/2.209, allocations: 4.672 MB / 0.6467 GB, free: 66.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01539/2.225, allocations: 9.884 MB / 0.6563 GB, free: 53.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/2.24, allocations: 6.639 MB / 0.6628 GB, free: 47.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001703/2.24, allocations: 52 kB / 0.6629 GB, free: 47.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=1239) (initialization): time 0.1253/2.365, allocations: 31.59 MB / 0.6937 GB, free: 16.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/2.365, allocations: 80 kB / 0.6938 GB, free: 16.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3404/2.706, allocations: 20.93 MB / 0.7142 GB, free: 135.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09116/2.797, allocations: 16.9 MB / 0.7307 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01463/2.812, allocations: 2.187 MB / 0.7329 GB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08495/2.897, allocations: 37.02 MB / 0.769 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0142/2.911, allocations: 0.7819 MB / 0.7698 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002591/2.914, allocations: 0.5565 MB / 0.7703 GB, free: 115.6 MB / 410.7 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.01031/2.924, allocations: 3.376 MB / 0.7736 GB, free: 112.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002146/2.926, allocations: 0.6675 MB / 0.7743 GB, free: 112 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03614/2.962, allocations: 10.48 MB / 0.7845 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03127/2.994, allocations: 9.174 MB / 0.7935 GB, free: 92.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.91e-05/2.994, allocations: 23.75 kB / 0.7935 GB, free: 92.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.529e-05/2.994, allocations: 15.94 kB / 0.7935 GB, free: 92.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0744/3.068, allocations: 24.24 MB / 0.8172 GB, free: 68.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-05/3.068, allocations: 4 kB / 0.8172 GB, free: 68.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006951/3.075, allocations: 0.6708 MB / 0.8178 GB, free: 67.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02379/3.099, allocations: 4.136 MB / 0.8219 GB, free: 63.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001268/3.101, allocations: 96.98 kB / 0.822 GB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04762/3.148, allocations: 24.38 MB / 0.8458 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002367/3.151, allocations: 2.996 MB / 0.8487 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04467/3.195, allocations: 16.27 MB / 0.8646 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005641/3.201, allocations: 1.443 MB / 0.866 GB, free: 17.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003109/3.204, allocations: 83.98 kB / 0.8661 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2592/3.463, allocations: 319.1 kB / 0.8664 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001956/3.466, allocations: 247.8 kB / 0.8666 GB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009581/3.466, allocations: 98.08 kB / 0.8667 GB, free: 134.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01611/3.483, allocations: 5.34 MB / 0.8719 GB, free: 134.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.142e-06/3.483, allocations: 0 / 0.8719 GB, free: 134.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01498/3.498, allocations: 2.165 MB / 0.874 GB, free: 134.2 MB / 410.7 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.001862/3.5, allocations: 246.6 kB / 0.8743 GB, free: 134.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.03154/3.531, allocations: 12.13 MB / 0.8861 GB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/3.531, allocations: 0 / 0.8861 GB, free: 131.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01345/3.545, allocations: 5.2 MB / 0.8912 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009286/3.554, allocations: 0.9445 MB / 0.8921 GB, free: 129 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05311/3.607, allocations: 22.21 MB / 0.9138 GB, free: 118.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/3.621, allocations: 5.516 MB / 0.9192 GB, free: 116.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003993/3.625, allocations: 0.517 MB / 0.9197 GB, free: 115.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/3.625, allocations: 0 / 0.9197 GB, free: 115.8 MB / 410.7 MB Notification: Performance of Templates: time 1.171/4.796, allocations: 300.2 MB / 1.213 GB, free: 100.5 MB / 410.7 MB