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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 224.8 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.018e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1088, allocations: 50.41 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.4238/0.5326, allocations: 77.82 MB / 422.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04835/0.581, allocations: 16.83 MB / 439.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02212/0.6032, allocations: 433.5 kB / 440 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01507/0.6183, allocations: 4.076 MB / 444.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04623/0.6646, allocations: 11.25 MB / 455.4 MB, free: 8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007495/0.6721, allocations: 1.222 MB / 456.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.2386/0.9107, allocations: 93.14 MB / 0.5368 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01535/0.9261, allocations: 7.084 MB / 0.5438 GB, free: 3.246 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004701/0.9309, allocations: 1.679 MB / 0.5454 GB, free: 1.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005801/0.9368, allocations: 2.471 MB / 0.5478 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004937/0.9417, allocations: 1.299 MB / 0.5491 GB, free: 13.79 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002184/0.944, allocations: 224 kB / 0.5493 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005374/0.9494, allocations: 2.973 MB / 0.5522 GB, free: 10.59 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.9524, allocations: 500 kB / 0.5527 GB, free: 10.1 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01692/0.9694, allocations: 9.781 MB / 0.5622 GB, free: 300 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9694, allocations: 0 / 0.5622 GB, free: 300 kB / 458.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.9695, allocations: 0 / 0.5622 GB, free: 300 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004789/0.97, allocations: 4 kB / 0.5622 GB, free: 296 kB / 458.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.3396/1.31, allocations: 7.654 MB / 0.5697 GB, free: 172.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.31, allocations: 8.938 kB / 0.5697 GB, free: 172.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2564/1.566, allocations: 26.75 MB / 0.5958 GB, free: 151.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0245/1.591, allocations: 7.396 MB / 0.6031 GB, free: 143.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000555/1.591, allocations: 377.9 kB / 0.6034 GB, free: 143.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004067/1.595, allocations: 0.6959 MB / 0.6041 GB, free: 142.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05295/1.648, allocations: 17.11 MB / 0.6208 GB, free: 124.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004134/1.649, allocations: 83.31 kB / 0.6209 GB, free: 124.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002164/1.651, allocations: 246.2 kB / 0.6211 GB, free: 124.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007234/1.658, allocations: 2.768 MB / 0.6238 GB, free: 121.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04958/1.708, allocations: 14.67 MB / 0.6382 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/1.823, allocations: 67.42 MB / 0.704 GB, free: 38.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05192/1.875, allocations: 9.085 MB / 0.7129 GB, free: 28.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/1.877, allocations: 1.037 MB / 0.7139 GB, free: 27.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.107e-05/1.877, allocations: 60.56 kB / 0.7139 GB, free: 27.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 8.436e-06/1.877, allocations: 0 / 0.7139 GB, free: 27.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=348): time 1.112/2.989, allocations: 54.81 MB / 0.7675 GB, free: 145.5 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002797/2.992, allocations: 3.261 MB / 0.7706 GB, free: 142.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01793/3.01, allocations: 7.351 MB / 0.7778 GB, free: 139.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001358/3.011, allocations: 82.84 kB / 0.7779 GB, free: 139.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004464/3.016, allocations: 4.804 MB / 0.7826 GB, free: 135.3 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002732/3.018, allocations: 1.325 MB / 0.7839 GB, free: 134.2 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002033/3.021, allocations: 186.8 kB / 0.7841 GB, free: 134 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009439/3.022, allocations: 0.7119 MB / 0.7848 GB, free: 133.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01201/3.034, allocations: 5.044 MB / 0.7897 GB, free: 128.5 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01526/3.049, allocations: 10.27 MB / 0.7997 GB, free: 115.8 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/3.064, allocations: 7.029 MB / 0.8066 GB, free: 109 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001801/3.064, allocations: 55.95 kB / 0.8066 GB, free: 109 MB / 458.8 MB Notification: Performance of matching and sorting (n=1242) (initialization): time 0.1265/3.191, allocations: 32.42 MB / 0.8383 GB, free: 76.56 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/3.191, allocations: 80.09 kB / 0.8384 GB, free: 76.48 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09092/3.282, allocations: 21.74 MB / 0.8596 GB, free: 54.7 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09299/3.375, allocations: 16.9 MB / 0.8761 GB, free: 37.75 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02041/3.396, allocations: 2.257 MB / 0.8783 GB, free: 35.49 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4943/3.89, allocations: 37.03 MB / 0.9145 GB, free: 131.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01459/3.905, allocations: 0.7839 MB / 0.9152 GB, free: 131.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002721/3.907, allocations: 0.5934 MB / 0.9158 GB, free: 131.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 833 * 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 (1076): * Single equations (assignments): 1059 * 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.0099/3.917, allocations: 3.371 MB / 0.9191 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002337/3.92, allocations: 0.6674 MB / 0.9198 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0373/3.957, allocations: 11.34 MB / 0.9308 GB, free: 126.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03304/3.99, allocations: 10.01 MB / 0.9406 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.177e-05/3.99, allocations: 15.75 kB / 0.9406 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-05/3.99, allocations: 18.61 kB / 0.9407 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08833/4.079, allocations: 25.53 MB / 0.9656 GB, free: 102 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-05/4.079, allocations: 4 kB / 0.9656 GB, free: 102 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01083/4.09, allocations: 0.7595 MB / 0.9663 GB, free: 101.3 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02412/4.114, allocations: 4.12 MB / 0.9704 GB, free: 97.2 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001341/4.115, allocations: 136.5 kB / 0.9705 GB, free: 97.06 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04838/4.164, allocations: 24.38 MB / 0.9943 GB, free: 72.23 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002504/4.166, allocations: 2.992 MB / 0.9972 GB, free: 68.99 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04731/4.214, allocations: 17.67 MB / 1.014 GB, free: 51.5 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002665/4.216, allocations: 0.7461 MB / 1.015 GB, free: 50.73 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003529/4.22, allocations: 87.92 kB / 1.015 GB, free: 50.64 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008661/4.229, allocations: 323.5 kB / 1.016 GB, free: 50.32 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001856/4.231, allocations: 295.3 kB / 1.016 GB, free: 50.04 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009958/4.232, allocations: 140.8 kB / 1.016 GB, free: 49.91 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01229/4.244, allocations: 5.305 MB / 1.021 GB, free: 44.64 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.213e-06/4.244, allocations: 0 / 1.021 GB, free: 44.64 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01458/4.259, allocations: 2.176 MB / 1.023 GB, free: 42.47 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.001943/4.261, allocations: 250.6 kB / 1.024 GB, free: 42.23 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02979/4.29, allocations: 12.92 MB / 1.036 GB, free: 29.31 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/4.29, allocations: 4 kB / 1.036 GB, free: 29.31 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01376/4.304, allocations: 5.614 MB / 1.042 GB, free: 23.6 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008711/4.313, allocations: 0.9447 MB / 1.043 GB, free: 22.66 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05673/4.37, allocations: 22.71 MB / 1.065 GB, free: 15.86 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01847/4.388, allocations: 5.504 MB / 1.07 GB, free: 10.32 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004982/4.724, allocations: 0.6246 MB / 1.071 GB, free: 144.1 MB / 474.8 MB Notification: Performance of SimCode: time 2.054e-06/4.724, allocations: 1.438 kB / 1.071 GB, free: 144.1 MB / 474.8 MB Notification: Performance of Templates: time 0.8471/5.571, allocations: 303 MB / 1.367 GB, free: 56.22 MB / 490.8 MB