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_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.668/1.668, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.78e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08108/0.08112, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.3453/0.4265, allocations: 74.54 MB / 341.5 MB, free: 5.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0481/0.4747, allocations: 16.15 MB / 357.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02036/0.4951, allocations: 414.9 kB / 358 MB, free: 5.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01422/0.5094, allocations: 3.974 MB / 362 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04192/0.5513, allocations: 10.82 MB / 372.8 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.5584, allocations: 1.248 MB / 374.1 MB, free: 4.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.09697/0.6554, allocations: 33.02 MB / 407.1 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.6702, allocations: 7.078 MB / 414.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.6745, allocations: 1.683 MB / 415.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005548/0.6801, allocations: 2.482 MB / 418.3 MB, free: 8.629 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004568/0.6848, allocations: 1.33 MB / 419.6 MB, free: 7.297 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00204/0.6869, allocations: 220 kB / 419.9 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005177/0.6921, allocations: 2.992 MB / 422.9 MB, free: 4.082 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00257/0.6947, allocations: 0.496 MB / 423.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01589/0.7106, allocations: 9.843 MB / 433.2 MB, free: 9.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7107, allocations: 4 kB / 433.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7107, allocations: 0 / 433.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004405/0.7111, allocations: 3.938 kB / 433.2 MB, free: 9.711 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: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.0382/0.7494, allocations: 8.134 MB / 441.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.7494, allocations: 8.031 kB / 441.3 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6666/1.416, allocations: 26.74 MB / 468.1 MB, free: 116.8 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02338/1.439, allocations: 8.021 MB / 476.1 MB, free: 108.8 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004138/1.44, allocations: 382 kB / 476.5 MB, free: 108.5 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003586/1.443, allocations: 0.6908 MB / 477.2 MB, free: 107.9 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.046/1.49, allocations: 16.67 MB / 493.8 MB, free: 90.23 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003389/1.49, allocations: 87.2 kB / 493.9 MB, free: 90.14 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/1.492, allocations: 240.1 kB / 494.2 MB, free: 89.96 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005941/1.498, allocations: 2.658 MB / 496.8 MB, free: 87.3 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04437/1.542, allocations: 13.95 MB / 0.4988 GB, free: 73.32 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/1.652, allocations: 66.4 MB / 0.5636 GB, free: 5.512 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2739/1.926, allocations: 8.723 MB / 0.5722 GB, free: 115.1 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/1.928, allocations: 1.048 MB / 0.5732 GB, free: 114.2 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/1.928, allocations: 64.53 kB / 0.5732 GB, free: 114.2 MB / 362.8 MB Notification: Performance of pre-optimization done (n=268): time 6.712e-06/1.928, allocations: 0.7656 kB / 0.5732 GB, free: 114.2 MB / 362.8 MB Notification: Performance of matching and sorting (n=348): time 0.2662/2.195, allocations: 52.79 MB / 0.6248 GB, free: 81.96 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002661/2.197, allocations: 3.266 MB / 0.628 GB, free: 78.36 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01531/2.213, allocations: 7.379 MB / 0.6352 GB, free: 71.03 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001179/2.214, allocations: 79.5 kB / 0.6353 GB, free: 70.95 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004857/2.219, allocations: 5.138 MB / 0.6403 GB, free: 65.81 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002408/2.221, allocations: 1.327 MB / 0.6416 GB, free: 64.5 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/2.223, allocations: 186.1 kB / 0.6418 GB, free: 64.32 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0007184/2.224, allocations: 0.7186 MB / 0.6425 GB, free: 63.6 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01099/2.235, allocations: 4.672 MB / 0.647 GB, free: 58.92 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01413/2.249, allocations: 9.883 MB / 0.6567 GB, free: 46.57 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/2.263, allocations: 6.637 MB / 0.6632 GB, free: 39.93 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/2.263, allocations: 56 kB / 0.6632 GB, free: 39.88 MB / 362.8 MB Notification: Performance of matching and sorting (n=1239) (initialization): time 0.1211/2.384, allocations: 31.9 MB / 0.6944 GB, free: 7.93 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.385, allocations: 87.94 kB / 0.6944 GB, free: 7.844 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3249/2.71, allocations: 20.93 MB / 0.7149 GB, free: 93.9 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08535/2.795, allocations: 16.9 MB / 0.7314 GB, free: 88.85 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/2.809, allocations: 2.19 MB / 0.7335 GB, free: 88.42 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0793/2.888, allocations: 37.01 MB / 0.7697 GB, free: 55.83 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01264/2.901, allocations: 0.7806 MB / 0.7704 GB, free: 55.08 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001849/2.902, allocations: 0.5607 MB / 0.771 GB, free: 54.52 MB / 362.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.007596/2.91, allocations: 3.37 MB / 0.7743 GB, free: 51.2 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00181/2.912, allocations: 0.6679 MB / 0.7749 GB, free: 50.89 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03096/2.943, allocations: 10.48 MB / 0.7852 GB, free: 40.41 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02766/2.971, allocations: 9.179 MB / 0.7941 GB, free: 31.22 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.419e-05/2.971, allocations: 16 kB / 0.7941 GB, free: 31.2 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.066e-05/2.971, allocations: 15.94 kB / 0.7941 GB, free: 31.19 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0646/3.035, allocations: 24.25 MB / 0.8178 GB, free: 7.023 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/3.035, allocations: 4 kB / 0.8178 GB, free: 7.02 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0066/3.042, allocations: 0.6675 MB / 0.8185 GB, free: 6.352 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02262/3.065, allocations: 4.136 MB / 0.8225 GB, free: 2.277 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001035/3.066, allocations: 87.94 kB / 0.8226 GB, free: 2.191 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2914/3.357, allocations: 24.37 MB / 0.8464 GB, free: 104.4 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002368/3.36, allocations: 2.994 MB / 0.8493 GB, free: 101.5 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04208/3.402, allocations: 16.26 MB / 0.8652 GB, free: 95.09 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00531/3.407, allocations: 1.443 MB / 0.8666 GB, free: 94.67 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00315/3.41, allocations: 84.34 kB / 0.8667 GB, free: 94.62 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00772/3.418, allocations: 329.4 kB / 0.867 GB, free: 94.58 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001615/3.42, allocations: 242.4 kB / 0.8673 GB, free: 94.55 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005105/3.42, allocations: 99.52 kB / 0.8673 GB, free: 94.53 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.01153/3.432, allocations: 5.342 MB / 0.8726 GB, free: 92.83 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.042e-06/3.432, allocations: 0 / 0.8726 GB, free: 92.83 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.01196/3.444, allocations: 2.17 MB / 0.8747 GB, free: 92.62 MB / 378.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.001518/3.445, allocations: 241.2 kB / 0.8749 GB, free: 92.46 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.02708/3.473, allocations: 12.14 MB / 0.8868 GB, free: 86.05 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/3.473, allocations: 0 / 0.8868 GB, free: 86.05 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0121/3.485, allocations: 5.187 MB / 0.8918 GB, free: 81.46 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008326/3.493, allocations: 0.9498 MB / 0.8928 GB, free: 80.67 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04574/3.539, allocations: 21.37 MB / 0.9136 GB, free: 61.51 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01087/3.55, allocations: 5.509 MB / 0.919 GB, free: 56.21 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.01387/3.564, allocations: 3.143 MB / 0.9221 GB, free: 53.06 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003185/3.567, allocations: 463.3 kB / 0.9225 GB, free: 52.61 MB / 378.8 MB Notification: Performance of SimCode: time 1.462e-06/3.567, allocations: 4 kB / 0.9225 GB, free: 52.6 MB / 378.8 MB Notification: Performance of Templates: time 0.5162/4.083, allocations: 102.4 MB / 1.023 GB, free: 80.12 MB / 378.8 MB