Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.216e-05, allocations: 5.562 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09324, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5376, allocations: 99.69 MB / 442.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5379, allocations: 87.7 kB / 442.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6797/1.218, allocations: 104.3 MB / 0.5338 GB, free: 93.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.677e-06/1.218, allocations: 0 / 0.5338 GB, free: 93.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004516/1.218, allocations: 107.3 kB / 0.5339 GB, free: 93.01 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01948/1.238, allocations: 5.098 MB / 0.5389 GB, free: 91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.238, allocations: 9.156 kB / 0.5389 GB, free: 91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/1.273, allocations: 6.902 MB / 0.5456 GB, free: 90.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.293, allocations: 6.429 MB / 0.5519 GB, free: 89.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/1.293, allocations: 391.1 kB / 0.5523 GB, free: 89.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/1.296, allocations: 0.5212 MB / 0.5528 GB, free: 89.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03005/1.326, allocations: 12.15 MB / 0.5647 GB, free: 86.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003039/1.326, allocations: 84.28 kB / 0.5647 GB, free: 86.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/1.328, allocations: 243.2 kB / 0.565 GB, free: 86.85 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001755/1.329, allocations: 1.068 MB / 0.566 GB, free: 86.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02459/1.354, allocations: 9.677 MB / 0.5755 GB, free: 86.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06574/1.42, allocations: 55.56 MB / 0.6297 GB, free: 44.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/1.433, allocations: 4.129 MB / 0.6337 GB, free: 42.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/1.437, allocations: 2.217 MB / 0.6359 GB, free: 40.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02995/1.467, allocations: 9.364 MB / 0.6451 GB, free: 32.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/1.467, allocations: 51.56 kB / 0.6451 GB, free: 32.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=171): time 1.112e-05/1.467, allocations: 0 / 0.6451 GB, free: 32.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=197): time 0.07632/1.543, allocations: 15.07 MB / 0.6598 GB, free: 19.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.544, allocations: 201.2 kB / 0.66 GB, free: 19.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008982/1.553, allocations: 4.101 MB / 0.664 GB, free: 15.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000373/1.553, allocations: 57.7 kB / 0.6641 GB, free: 15.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.556, allocations: 3.516 MB / 0.6675 GB, free: 12.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009273/1.557, allocations: 0.7572 MB / 0.6682 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/1.557, allocations: 128 kB / 0.6684 GB, free: 11.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003704/1.557, allocations: 0.5732 MB / 0.6689 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00407/1.562, allocations: 2.029 MB / 0.6709 GB, free: 9.453 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006387/1.568, allocations: 5.831 MB / 0.6766 GB, free: 2.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007029/1.575, allocations: 3.465 MB / 0.68 GB, free: 15.08 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000124/1.575, allocations: 43.95 kB / 0.68 GB, free: 15.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02166/1.597, allocations: 7.834 MB / 0.6877 GB, free: 7.645 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.597, allocations: 67.47 kB / 0.6877 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002018/1.597, allocations: 136 kB / 0.6879 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003683/1.601, allocations: 0.9343 MB / 0.6888 GB, free: 6.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006583/1.608, allocations: 1.438 MB / 0.6902 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2827/1.89, allocations: 7.398 MB / 0.6974 GB, free: 93.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006544/1.897, allocations: 340.9 kB / 0.6977 GB, free: 93.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001302/1.898, allocations: 383 kB / 0.6981 GB, free: 93.75 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 755 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001426/1.9, allocations: 0.6067 MB / 0.6987 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009215/1.901, allocations: 414.3 kB / 0.6991 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008385/1.909, allocations: 3.154 MB / 0.7022 GB, free: 93.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/1.909, allocations: 22.73 kB / 0.7022 GB, free: 93.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/1.909, allocations: 11.53 kB / 0.7022 GB, free: 93.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/1.909, allocations: 12.81 kB / 0.7022 GB, free: 93.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02328/1.933, allocations: 8.533 MB / 0.7106 GB, free: 92.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.933, allocations: 4 kB / 0.7106 GB, free: 92.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/1.935, allocations: 296.9 kB / 0.7108 GB, free: 92.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002923/1.938, allocations: 0.6861 MB / 0.7115 GB, free: 92.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003304/1.938, allocations: 32.09 kB / 0.7115 GB, free: 92.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009852/1.948, allocations: 6.54 MB / 0.7179 GB, free: 90.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.085e-06/1.948, allocations: 5.25 kB / 0.7179 GB, free: 90.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.959, allocations: 5.686 MB / 0.7235 GB, free: 89.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.96, allocations: 457.3 kB / 0.7239 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009959/1.961, allocations: 27.08 kB / 0.7239 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.964, allocations: 100.9 kB / 0.724 GB, free: 89.64 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/1.964, allocations: 117.6 kB / 0.7242 GB, free: 89.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001903/1.965, allocations: 55.08 kB / 0.7242 GB, free: 89.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006563/1.971, allocations: 2.892 MB / 0.727 GB, free: 89.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.98e-07/1.971, allocations: 3.375 kB / 0.727 GB, free: 89.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007554/1.979, allocations: 1.134 MB / 0.7281 GB, free: 89.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006108/1.979, allocations: 172.3 kB / 0.7283 GB, free: 89.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01023/1.99, allocations: 5.049 MB / 0.7332 GB, free: 88.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.678e-06/1.99, allocations: 0 / 0.7332 GB, free: 88.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/1.993, allocations: 1.74 MB / 0.7349 GB, free: 87.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.997, allocations: 0.5234 MB / 0.7354 GB, free: 87.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/2.019, allocations: 9.387 MB / 0.7446 GB, free: 84.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007629/2.026, allocations: 3.974 MB / 0.7485 GB, free: 82.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/2.028, allocations: 314.2 kB / 0.7488 GB, free: 82.77 MB / 458.7 MB Notification: Performance of SimCode: time 2.159e-06/2.028, allocations: 0 / 0.7488 GB, free: 82.77 MB / 458.7 MB Notification: Performance of Templates: time 0.195/2.223, allocations: 106.1 MB / 0.8524 GB, free: 4.004 MB / 458.7 MB