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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.495e-05, allocations: 11.94 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3058, allocations: 44.51 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.14/0.4459, allocations: 74.54 MB / 377.8 MB, free: 2.984 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.07716/0.5231, allocations: 16.16 MB / 394 MB, free: 2.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01776/0.5409, allocations: 418.9 kB / 394.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.555, allocations: 3.974 MB / 398.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04054/0.5956, allocations: 10.82 MB / 409.2 MB, free: 3.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007403/0.6031, allocations: 1.229 MB / 410.4 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.3947/0.9979, allocations: 33.01 MB / 443.4 MB, free: 17.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/1.012, allocations: 7.073 MB / 450.5 MB, free: 16.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004449/1.016, allocations: 1.682 MB / 452.2 MB, free: 16.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005407/1.022, allocations: 2.474 MB / 454.7 MB, free: 16.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/1.027, allocations: 1.346 MB / 456 MB, free: 16.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002525/1.029, allocations: 219.2 kB / 456.2 MB, free: 16.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005382/1.035, allocations: 2.989 MB / 459.2 MB, free: 16.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003501/1.038, allocations: 0.4907 MB / 459.7 MB, free: 16.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01483/1.053, allocations: 9.841 MB / 469.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.053, allocations: 3.938 kB / 469.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.827e-06/1.053, allocations: 0 / 469.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005166/1.054, allocations: 0 / 469.6 MB, free: 10.46 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.0489/1.103, allocations: 8.133 MB / 477.7 MB, free: 2.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/1.103, allocations: 12.02 kB / 477.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3136/1.416, allocations: 26.74 MB / 0.4926 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02785/1.444, allocations: 8.022 MB / 0.5005 GB, free: 3.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005595/1.445, allocations: 381.1 kB / 0.5008 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004177/1.449, allocations: 0.6852 MB / 0.5015 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05759/1.507, allocations: 16.67 MB / 0.5178 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005045/1.507, allocations: 82.48 kB / 0.5179 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/1.51, allocations: 245.9 kB / 0.5181 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007413/1.517, allocations: 2.66 MB / 0.5207 GB, free: 3.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05158/1.569, allocations: 13.95 MB / 0.5343 GB, free: 9.277 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6947/2.264, allocations: 66.41 MB / 0.5992 GB, free: 144.9 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04668/2.31, allocations: 8.727 MB / 0.6077 GB, free: 144.2 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00231/2.313, allocations: 1.043 MB / 0.6087 GB, free: 143.4 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/2.313, allocations: 65.11 kB / 0.6088 GB, free: 143.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=268): time 7.114e-06/2.313, allocations: 5.375 kB / 0.6088 GB, free: 143.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=348): time 0.2745/2.587, allocations: 52.78 MB / 0.6603 GB, free: 104.5 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002624/2.59, allocations: 3.264 MB / 0.6635 GB, free: 101 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01735/2.607, allocations: 7.379 MB / 0.6707 GB, free: 93.64 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001243/2.609, allocations: 78.95 kB / 0.6708 GB, free: 93.55 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004589/2.613, allocations: 4.822 MB / 0.6755 GB, free: 88.75 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002629/2.616, allocations: 1.323 MB / 0.6768 GB, free: 87.43 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/2.618, allocations: 182.6 kB / 0.6769 GB, free: 87.26 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008846/2.619, allocations: 0.7156 MB / 0.6776 GB, free: 86.53 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01182/2.631, allocations: 4.672 MB / 0.6822 GB, free: 81.85 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01479/2.646, allocations: 9.886 MB / 0.6919 GB, free: 69.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/2.66, allocations: 6.639 MB / 0.6983 GB, free: 63.11 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/2.661, allocations: 52 kB / 0.6984 GB, free: 63.06 MB / 458.8 MB Notification: Performance of matching and sorting (n=1239) (initialization): time 0.1239/2.785, allocations: 31.58 MB / 0.7292 GB, free: 31.65 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/2.785, allocations: 85.09 kB / 0.7293 GB, free: 31.57 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08861/2.873, allocations: 20.94 MB / 0.7498 GB, free: 10.59 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.366/3.239, allocations: 16.89 MB / 0.7663 GB, free: 162.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/3.254, allocations: 2.179 MB / 0.7684 GB, free: 162.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08419/3.338, allocations: 37.01 MB / 0.8045 GB, free: 147.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01369/3.352, allocations: 0.7857 MB / 0.8053 GB, free: 147 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0024/3.354, allocations: 0.5493 MB / 0.8058 GB, free: 146.4 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.009567/3.364, allocations: 3.368 MB / 0.8091 GB, free: 143.6 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002299/3.366, allocations: 0.671 MB / 0.8098 GB, free: 143.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0373/3.403, allocations: 10.49 MB / 0.82 GB, free: 133.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03114/3.435, allocations: 9.178 MB / 0.829 GB, free: 124.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-05/3.435, allocations: 16 kB / 0.829 GB, free: 124.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.927e-05/3.435, allocations: 21.86 kB / 0.829 GB, free: 124.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07059/3.506, allocations: 24.23 MB / 0.8527 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.964e-05/3.506, allocations: 4 kB / 0.8527 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00691/3.513, allocations: 0.6708 MB / 0.8534 GB, free: 99.64 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02339/3.536, allocations: 4.132 MB / 0.8574 GB, free: 95.57 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/3.537, allocations: 95.94 kB / 0.8575 GB, free: 95.47 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05044/3.588, allocations: 24.39 MB / 0.8813 GB, free: 70.62 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00338/3.591, allocations: 2.981 MB / 0.8842 GB, free: 67.38 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06108/3.652, allocations: 16.27 MB / 0.9001 GB, free: 51.17 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007274/3.66, allocations: 1.441 MB / 0.9015 GB, free: 49.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003815/3.663, allocations: 79.98 kB / 0.9016 GB, free: 49.62 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01065/3.674, allocations: 332.9 kB / 0.9019 GB, free: 49.3 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002412/3.677, allocations: 250.1 kB / 0.9021 GB, free: 49.05 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001419/3.678, allocations: 95.95 kB / 0.9022 GB, free: 48.96 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01638/3.695, allocations: 5.333 MB / 0.9074 GB, free: 43.67 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.133e-06/3.695, allocations: 3.75 kB / 0.9074 GB, free: 43.67 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0195/3.714, allocations: 2.168 MB / 0.9096 GB, free: 41.51 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.002161/3.716, allocations: 232 kB / 0.9098 GB, free: 41.29 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.03739/3.754, allocations: 12.15 MB / 0.9216 GB, free: 29.14 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/3.754, allocations: 4 kB / 0.9216 GB, free: 29.13 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01411/3.768, allocations: 5.185 MB / 0.9267 GB, free: 23.85 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/3.779, allocations: 0.9398 MB / 0.9276 GB, free: 22.93 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3333/4.113, allocations: 22.22 MB / 0.9493 GB, free: 156.8 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01376/4.126, allocations: 5.5 MB / 0.9547 GB, free: 155.9 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005191/4.132, allocations: 0.515 MB / 0.9552 GB, free: 155.9 MB / 458.8 MB Notification: Performance of SimCode: time 1.824e-06/4.132, allocations: 0 / 0.9552 GB, free: 155.9 MB / 458.8 MB Notification: Performance of Templates: time 0.807/4.939, allocations: 300.3 MB / 1.248 GB, free: 22.95 MB / 458.8 MB