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.711/1.711, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-05/5.28e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2131, allocations: 38.76 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.3477, allocations: 86.73 MB / 350.5 MB, free: 2.965 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.348, allocations: 87.94 kB / 350.6 MB, free: 2.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7472/1.095, allocations: 147.1 MB / 497.7 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.95e-06/1.095, allocations: 4 kB / 497.7 MB, free: 7.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005824/1.096, allocations: 144 kB / 497.8 MB, free: 7.551 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.5126/1.608, allocations: 8.554 MB / 0.4945 GB, free: 36.91 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.682e-05/1.609, allocations: 12.55 kB / 0.4945 GB, free: 36.91 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08657/1.695, allocations: 16.69 MB / 0.5108 GB, free: 36.4 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03707/1.732, allocations: 13.14 MB / 0.5236 GB, free: 35.86 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005625/1.733, allocations: 498.4 kB / 0.5241 GB, free: 35.84 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/1.736, allocations: 0.6667 MB / 0.5248 GB, free: 35.83 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05368/1.79, allocations: 16.69 MB / 0.5411 GB, free: 31.77 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008156/1.79, allocations: 104 kB / 0.5412 GB, free: 31.76 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003702/1.794, allocations: 320.2 kB / 0.5415 GB, free: 31.76 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004224/1.798, allocations: 1.476 MB / 0.5429 GB, free: 31.74 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03601/1.834, allocations: 13.21 MB / 0.5558 GB, free: 30.29 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1143/1.949, allocations: 76.75 MB / 0.6307 GB, free: 11.3 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03443/1.983, allocations: 8.512 MB / 0.6391 GB, free: 4.41 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01382/1.997, allocations: 4.101 MB / 0.6431 GB, free: 0.668 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2282/2.225, allocations: 1.337 MB / 0.6444 GB, free: 80.21 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/2.226, allocations: 63.66 kB / 0.6444 GB, free: 80.18 MB / 394.8 MB Notification: Performance of pre-optimization done (n=268): time 8.635e-06/2.226, allocations: 0 / 0.6444 GB, free: 80.18 MB / 394.8 MB Notification: Performance of matching and sorting (n=354): time 0.1841/2.41, allocations: 46.86 MB / 0.6902 GB, free: 74.22 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00211/2.412, allocations: 3.23 MB / 0.6933 GB, free: 71.17 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01431/2.426, allocations: 6.496 MB / 0.6997 GB, free: 70.64 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008527/2.427, allocations: 77.03 kB / 0.6998 GB, free: 70.61 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004443/2.432, allocations: 5.196 MB / 0.7048 GB, free: 68.28 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001817/2.433, allocations: 1.355 MB / 0.7062 GB, free: 67.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/2.434, allocations: 191.1 kB / 0.7063 GB, free: 67.5 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0005486/2.435, allocations: 0.7039 MB / 0.707 GB, free: 67.18 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008891/2.444, allocations: 4.503 MB / 0.7114 GB, free: 66.72 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01184/2.456, allocations: 9.726 MB / 0.7209 GB, free: 58.11 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/2.468, allocations: 6.553 MB / 0.7273 GB, free: 56.03 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/2.468, allocations: 54.19 kB / 0.7274 GB, free: 56.03 MB / 394.8 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.08448/2.553, allocations: 30.96 MB / 0.7576 GB, free: 36.63 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/2.553, allocations: 90.44 kB / 0.7577 GB, free: 36.55 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05656/2.61, allocations: 20.63 MB / 0.7778 GB, free: 16.73 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2971/2.907, allocations: 16.59 MB / 0.794 GB, free: 65.83 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009863/2.917, allocations: 2.115 MB / 0.7961 GB, free: 65.83 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05939/2.976, allocations: 33.32 MB / 0.8287 GB, free: 60.63 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.988, allocations: 0.7778 MB / 0.8294 GB, free: 60.63 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002233/2.99, allocations: 0.5562 MB / 0.83 GB, free: 60.63 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * 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 (1091): * Single equations (assignments): 1078 * 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.002799/2.993, allocations: 0.8122 MB / 0.8308 GB, free: 60.52 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001729/2.995, allocations: 0.6729 MB / 0.8314 GB, free: 60.52 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02608/3.021, allocations: 10.24 MB / 0.8414 GB, free: 57.97 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02176/3.043, allocations: 8.924 MB / 0.8501 GB, free: 54.99 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.194e-05/3.043, allocations: 15.88 kB / 0.8501 GB, free: 54.99 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-05/3.043, allocations: 24.84 kB / 0.8502 GB, free: 54.99 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05761/3.101, allocations: 23.53 MB / 0.8731 GB, free: 45.45 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.813e-05/3.101, allocations: 4 kB / 0.8731 GB, free: 45.44 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/3.104, allocations: 0.5558 MB / 0.8737 GB, free: 45.04 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01662/3.121, allocations: 4.017 MB / 0.8776 GB, free: 42.41 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009216/3.122, allocations: 99.55 kB / 0.8777 GB, free: 42.33 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03749/3.16, allocations: 23.99 MB / 0.9011 GB, free: 20.17 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002138/3.162, allocations: 2.955 MB / 0.904 GB, free: 16.97 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03195/3.194, allocations: 15.69 MB / 0.9193 GB, free: 1.508 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004534/3.198, allocations: 1.381 MB / 0.9207 GB, free: 108 kB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002242/3.201, allocations: 91.91 kB / 0.9208 GB, free: 16 kB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005869/3.207, allocations: 328.9 kB / 0.9211 GB, free: 15.7 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2453/3.452, allocations: 246.5 kB / 0.9213 GB, free: 80.79 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006537/3.453, allocations: 101.8 kB / 0.9214 GB, free: 80.79 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01136/3.464, allocations: 4.645 MB / 0.926 GB, free: 80.55 MB / 410.8 MB Notification: Performance of sort global known variables: time 2.228e-06/3.464, allocations: 0 / 0.926 GB, free: 80.55 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01326/3.477, allocations: 2.126 MB / 0.928 GB, free: 80.55 MB / 410.8 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.001163/3.478, allocations: 226.1 kB / 0.9283 GB, free: 80.46 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02279/3.501, allocations: 11.56 MB / 0.9395 GB, free: 79.73 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/3.501, allocations: 3.375 kB / 0.9395 GB, free: 79.73 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009894/3.511, allocations: 5.125 MB / 0.9445 GB, free: 78.82 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/3.518, allocations: 0.9489 MB / 0.9455 GB, free: 78.78 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03966/3.558, allocations: 16.31 MB / 0.9614 GB, free: 75.88 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/3.569, allocations: 5.513 MB / 0.9668 GB, free: 75 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.01205/3.581, allocations: 3.177 MB / 0.9699 GB, free: 74.9 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002744/3.584, allocations: 450.8 kB / 0.9703 GB, free: 74.89 MB / 410.8 MB Notification: Performance of SimCode: time 1.977e-06/3.584, allocations: 3 kB / 0.9703 GB, free: 74.89 MB / 410.8 MB Notification: Performance of Templates: time 0.4634/4.047, allocations: 97.7 MB / 1.066 GB, free: 88.46 MB / 410.8 MB