Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.72e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09173, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3929/0.4847, allocations: 103 MB / 445.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.485, allocations: 85.52 kB / 445.6 MB, free: 7.426 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6644/1.149, allocations: 97.56 MB / 0.5304 GB, free: 93.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.66e-06/1.149, allocations: 3.188 kB / 0.5305 GB, free: 93.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003025/1.15, allocations: 99.22 kB / 0.5305 GB, free: 93.75 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: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.03116/1.181, allocations: 5.991 MB / 0.5364 GB, free: 91.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.181, allocations: 10 kB / 0.5364 GB, free: 91.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02214/1.203, allocations: 4.397 MB / 0.5407 GB, free: 91.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01588/1.219, allocations: 5.09 MB / 0.5457 GB, free: 90.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004127/1.22, allocations: 382.4 kB / 0.546 GB, free: 90.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002487/1.222, allocations: 0.4967 MB / 0.5465 GB, free: 90.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.033/1.255, allocations: 12.7 MB / 0.5589 GB, free: 88.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/1.255, allocations: 68.31 kB / 0.559 GB, free: 88.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001734/1.257, allocations: 234.9 kB / 0.5592 GB, free: 88.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002095/1.259, allocations: 1.094 MB / 0.5603 GB, free: 88.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02979/1.289, allocations: 10.96 MB / 0.571 GB, free: 87.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07639/1.365, allocations: 55.86 MB / 0.6255 GB, free: 48.28 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02238/1.388, allocations: 5.79 MB / 0.6312 GB, free: 45.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/1.393, allocations: 3.387 MB / 0.6345 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001981/1.395, allocations: 1.04 MB / 0.6355 GB, free: 41.81 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.395, allocations: 51.88 kB / 0.6356 GB, free: 41.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=214): time 7.202e-06/1.395, allocations: 0 / 0.6356 GB, free: 41.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=252): time 0.0922/1.488, allocations: 26.81 MB / 0.6617 GB, free: 19.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/1.488, allocations: 209.9 kB / 0.6619 GB, free: 19.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007585/1.495, allocations: 3.794 MB / 0.6656 GB, free: 15.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006757/1.496, allocations: 61.7 kB / 0.6657 GB, free: 15.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002336/1.498, allocations: 3.376 MB / 0.669 GB, free: 12.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.5, allocations: 0.9403 MB / 0.6699 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008174/1.501, allocations: 135.9 kB / 0.67 GB, free: 11.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004376/1.501, allocations: 0.5959 MB / 0.6706 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006571/1.508, allocations: 3.395 MB / 0.6739 GB, free: 7.469 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009281/1.517, allocations: 7.214 MB / 0.681 GB, free: 14.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01068/1.528, allocations: 4.906 MB / 0.6858 GB, free: 9.434 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/1.528, allocations: 40 kB / 0.6858 GB, free: 9.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=881) (initialization): time 0.3012/1.829, allocations: 12.03 MB / 0.6976 GB, free: 93.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/1.829, allocations: 63.91 kB / 0.6976 GB, free: 93.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000241/1.829, allocations: 135.8 kB / 0.6978 GB, free: 93.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008992/1.838, allocations: 2.276 MB / 0.7 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008702/1.847, allocations: 1.634 MB / 0.7016 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/1.873, allocations: 15.29 MB / 0.7165 GB, free: 89.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007965/1.881, allocations: 460.8 kB / 0.717 GB, free: 89.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.883, allocations: 431.9 kB / 0.7174 GB, free: 89.44 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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 (808): * Single equations (assignments): 802 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002311/1.885, allocations: 0.6108 MB / 0.718 GB, free: 89.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001153/1.886, allocations: 395.5 kB / 0.7183 GB, free: 89.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.905, allocations: 7.552 MB / 0.7257 GB, free: 89.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/1.905, allocations: 32.36 kB / 0.7257 GB, free: 89.15 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.906, allocations: 9.5 kB / 0.7258 GB, free: 89.15 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/1.906, allocations: 10.97 kB / 0.7258 GB, free: 89.15 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03682/1.942, allocations: 14.96 MB / 0.7404 GB, free: 86.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/1.943, allocations: 0 / 0.7404 GB, free: 86.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003762/1.946, allocations: 443 kB / 0.7408 GB, free: 86.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008322/1.955, allocations: 2.039 MB / 0.7428 GB, free: 85.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006853/1.955, allocations: 45.39 kB / 0.7428 GB, free: 85.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02296/1.978, allocations: 13.85 MB / 0.7564 GB, free: 78.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.754e-06/1.978, allocations: 0 / 0.7564 GB, free: 78.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02505/2.003, allocations: 11.89 MB / 0.768 GB, free: 73.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/2.005, allocations: 447.1 kB / 0.7684 GB, free: 73.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001543/2.006, allocations: 41.22 kB / 0.7684 GB, free: 73.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003925/2.01, allocations: 213.2 kB / 0.7686 GB, free: 73.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.011, allocations: 161.8 kB / 0.7688 GB, free: 73.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005151/2.012, allocations: 66.31 kB / 0.7689 GB, free: 73.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006181/2.018, allocations: 2.648 MB / 0.7714 GB, free: 72.35 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.799e-06/2.018, allocations: 0 / 0.7714 GB, free: 72.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008608/2.027, allocations: 1.393 MB / 0.7728 GB, free: 72.21 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (195): * Single equations (assignments): 189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009638/2.028, allocations: 207 kB / 0.773 GB, free: 72.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01683/2.045, allocations: 8.387 MB / 0.7812 GB, free: 69.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.045, allocations: 0 / 0.7812 GB, free: 69.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00733/2.052, allocations: 3.639 MB / 0.7847 GB, free: 66.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/2.055, allocations: 455.5 kB / 0.7852 GB, free: 65.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/2.08, allocations: 10.72 MB / 0.7956 GB, free: 56.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007616/2.088, allocations: 3.849 MB / 0.7994 GB, free: 53.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/2.09, allocations: 366.8 kB / 0.7998 GB, free: 53.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.894e-06/2.09, allocations: 3.656 kB / 0.7998 GB, free: 53.48 MB / 458.7 MB Notification: Performance of Templates: time 0.4975/2.588, allocations: 131.7 MB / 0.9284 GB, free: 80.59 MB / 474.7 MB