Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.721e-05/4.75e-05, allocations: 0 / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1002, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.5548, allocations: 100.1 MB / 442.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5551, allocations: 87.05 kB / 442.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.817/1.372, allocations: 149.8 MB / 0.5786 GB, free: 92.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.851e-06/1.372, allocations: 0 / 0.5786 GB, free: 92.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005354/1.373, allocations: 150.8 kB / 0.5788 GB, free: 92.83 MB / 442.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.0386/1.411, allocations: 8.543 MB / 0.5871 GB, free: 89.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.411, allocations: 11.66 kB / 0.5871 GB, free: 89.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07658/1.488, allocations: 16.68 MB / 0.6034 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03573/1.524, allocations: 12.53 MB / 0.6156 GB, free: 73.72 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005597/1.524, allocations: 0.4897 MB / 0.6161 GB, free: 73.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/1.527, allocations: 0.6787 MB / 0.6168 GB, free: 72.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04266/1.57, allocations: 16.7 MB / 0.6331 GB, free: 54.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005201/1.571, allocations: 111 kB / 0.6332 GB, free: 54.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/1.573, allocations: 311.7 kB / 0.6335 GB, free: 54.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/1.576, allocations: 1.48 MB / 0.6349 GB, free: 52.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0352/1.611, allocations: 13.22 MB / 0.6478 GB, free: 39.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3928/2.004, allocations: 76.74 MB / 0.7228 GB, free: 33.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03231/2.037, allocations: 8.509 MB / 0.7311 GB, free: 32.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006896/2.043, allocations: 4.1 MB / 0.7351 GB, free: 32.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0032/2.047, allocations: 1.349 MB / 0.7364 GB, free: 31.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/2.047, allocations: 66.5 kB / 0.7365 GB, free: 31.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 1.822e-05/2.047, allocations: 3.281 kB / 0.7365 GB, free: 31.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.223/2.27, allocations: 46.66 MB / 0.782 GB, free: 21.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002151/2.272, allocations: 3.226 MB / 0.7852 GB, free: 18.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/2.287, allocations: 6.459 MB / 0.7915 GB, free: 16.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009296/2.288, allocations: 74.72 kB / 0.7916 GB, free: 16.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004164/2.293, allocations: 4.87 MB / 0.7963 GB, free: 12.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001978/2.295, allocations: 1.354 MB / 0.7976 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/2.296, allocations: 188 kB / 0.7978 GB, free: 11.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007869/2.297, allocations: 0.7116 MB / 0.7985 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00923/2.306, allocations: 4.508 MB / 0.8029 GB, free: 8.562 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01325/2.319, allocations: 9.752 MB / 0.8124 GB, free: 13.02 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/2.334, allocations: 6.561 MB / 0.8189 GB, free: 7.531 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001872/2.334, allocations: 56 kB / 0.8189 GB, free: 7.477 MB / 458.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.09893/2.433, allocations: 30.87 MB / 0.8491 GB, free: 13.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001797/2.433, allocations: 85 kB / 0.8491 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3532/2.786, allocations: 20.63 MB / 0.8693 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05613/2.843, allocations: 16.6 MB / 0.8855 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009437/2.852, allocations: 2.12 MB / 0.8876 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06002/2.912, allocations: 33.33 MB / 0.9201 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01133/2.924, allocations: 0.7731 MB / 0.9209 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002184/2.926, allocations: 0.5604 MB / 0.9214 GB, free: 108.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * 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 (1094): * Single equations (assignments): 1081 * 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.002596/2.928, allocations: 0.8111 MB / 0.9222 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001697/2.93, allocations: 0.6726 MB / 0.9229 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02541/2.956, allocations: 10.23 MB / 0.9329 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0217/2.977, allocations: 8.927 MB / 0.9416 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-05/2.977, allocations: 23.56 kB / 0.9416 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-05/2.977, allocations: 18.28 kB / 0.9416 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.057/3.034, allocations: 23.51 MB / 0.9646 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.742e-05/3.035, allocations: 0 / 0.9646 GB, free: 84.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/3.038, allocations: 0.5655 MB / 0.9651 GB, free: 84.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01679/3.055, allocations: 4 MB / 0.969 GB, free: 80.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000941/3.056, allocations: 108.1 kB / 0.9691 GB, free: 80.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03694/3.093, allocations: 23.99 MB / 0.9926 GB, free: 55.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002015/3.095, allocations: 2.959 MB / 0.9955 GB, free: 52.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0318/3.127, allocations: 15.69 MB / 1.011 GB, free: 36.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00225/3.129, allocations: 0.7097 MB / 1.011 GB, free: 35.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002349/3.132, allocations: 84.53 kB / 1.012 GB, free: 35.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005717/3.137, allocations: 330 kB / 1.012 GB, free: 35.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001342/3.139, allocations: 252 kB / 1.012 GB, free: 35.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004881/3.139, allocations: 100.7 kB / 1.012 GB, free: 35.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01101/3.15, allocations: 4.606 MB / 1.017 GB, free: 30.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.294e-06/3.15, allocations: 2.625 kB / 1.017 GB, free: 30.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01239/3.163, allocations: 2.128 MB / 1.019 GB, free: 28.46 MB / 490.7 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.001122/3.164, allocations: 239.9 kB / 1.019 GB, free: 28.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02238/3.186, allocations: 11.57 MB / 1.03 GB, free: 16.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.946e-06/3.186, allocations: 4 kB / 1.03 GB, free: 16.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2875/3.474, allocations: 5.138 MB / 1.035 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006769/3.481, allocations: 0.9451 MB / 1.036 GB, free: 117.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04994/3.531, allocations: 17.12 MB / 1.053 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/3.544, allocations: 5.509 MB / 1.058 GB, free: 113.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0031/3.547, allocations: 0.5054 MB / 1.059 GB, free: 113.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.767e-06/3.547, allocations: 0 / 1.059 GB, free: 113.9 MB / 490.7 MB Notification: Performance of Templates: time 0.7083/4.256, allocations: 312.6 MB / 1.364 GB, free: 11.09 MB / 490.7 MB