Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadModel(ModelicaTest): time 2.238/2.238, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.806e-05, allocations: 7.938 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3186, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.4867, allocations: 110.5 MB / 0.5072 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.487, allocations: 83.95 kB / 0.5073 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.55/2.037, allocations: 280.9 MB / 0.7816 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.726e-06/2.037, allocations: 3.688 kB / 0.7816 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006566/2.037, allocations: 273.7 kB / 0.7818 GB, free: 57.12 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5288 * Number of variables: 5288 Notification: Performance of Generate backend data structure: time 0.03723/2.075, allocations: 12.87 MB / 0.7944 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/2.075, allocations: 12.53 kB / 0.7944 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0906/2.165, allocations: 18.45 MB / 0.8124 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03839/2.204, allocations: 14.09 MB / 0.8262 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001039/2.205, allocations: 1.072 MB / 0.8273 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005894/2.211, allocations: 1.42 MB / 0.8286 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08294/2.294, allocations: 35.14 MB / 0.863 GB, free: 24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005882/2.294, allocations: 134.5 kB / 0.8631 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004474/2.299, allocations: 0.6451 MB / 0.8637 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004833/2.304, allocations: 3.597 MB / 0.8672 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07918/2.383, allocations: 31.29 MB / 0.8978 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.564/2.947, allocations: 137.2 MB / 1.032 GB, free: 34.49 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04204/2.989, allocations: 14.99 MB / 1.046 GB, free: 32.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01558/3.005, allocations: 9.233 MB / 1.055 GB, free: 31 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07031/3.075, allocations: 34.5 MB / 1.089 GB, free: 32.57 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.043e-05/3.075, allocations: 100.2 kB / 1.089 GB, free: 32.49 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=705): time 1.242e-05/3.075, allocations: 0 / 1.089 GB, free: 32.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=787): time 0.5844/3.66, allocations: 68.77 MB / 1.156 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/3.66, allocations: 303 kB / 1.157 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01987/3.68, allocations: 9.076 MB / 1.166 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/3.681, allocations: 132.8 kB / 1.166 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.00645/3.687, allocations: 9.246 MB / 1.175 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003467/3.691, allocations: 2.852 MB / 1.177 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001757/3.693, allocations: 346.4 kB / 1.178 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001357/3.694, allocations: 1.084 MB / 1.179 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01669/3.711, allocations: 7.803 MB / 1.186 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.022/3.733, allocations: 17.04 MB / 1.203 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02348/3.756, allocations: 11.67 MB / 1.214 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003286/3.757, allocations: 101.1 kB / 1.215 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2328) (initialization): time 0.0607/3.817, allocations: 25.37 MB / 1.239 GB, free: 95.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002421/3.818, allocations: 145.1 kB / 1.239 GB, free: 95.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000378/3.818, allocations: 325.6 kB / 1.24 GB, free: 95.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008469/3.827, allocations: 2.399 MB / 1.242 GB, free: 95.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01824/3.845, allocations: 4.134 MB / 1.246 GB, free: 94.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02481/3.87, allocations: 14.34 MB / 1.26 GB, free: 87.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/3.886, allocations: 1.06 MB / 1.261 GB, free: 87.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003365/3.89, allocations: 0.9658 MB / 1.262 GB, free: 86.91 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1479 * Number of states: 0 () * Number of discrete variables: 97 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[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],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2132): * Single equations (assignments): 2115 * Array equations: 15 * 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 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004032/3.894, allocations: 1.388 MB / 1.264 GB, free: 85.8 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/3.896, allocations: 0.981 MB / 1.264 GB, free: 85.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03244/3.928, allocations: 15.07 MB / 1.279 GB, free: 74.02 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002137/3.929, allocations: 169.6 kB / 1.279 GB, free: 73.87 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.391e-05/3.929, allocations: 12 kB / 1.279 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000115/3.929, allocations: 29.16 kB / 1.279 GB, free: 73.86 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07545/4.004, allocations: 33.31 MB / 1.312 GB, free: 46.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-05/4.004, allocations: 4 kB / 1.312 GB, free: 46.11 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007787/4.012, allocations: 1.311 MB / 1.313 GB, free: 45.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007379/4.02, allocations: 1.769 MB / 1.315 GB, free: 43.84 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001212/4.021, allocations: 130 kB / 1.315 GB, free: 43.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02265/4.044, allocations: 12.92 MB / 1.328 GB, free: 32.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/4.044, allocations: 11.94 kB / 1.328 GB, free: 32.17 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4208/4.464, allocations: 26.28 MB / 1.353 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003069/4.468, allocations: 0.9691 MB / 1.354 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002643/4.47, allocations: 119.5 kB / 1.354 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006419/4.477, allocations: 0.5105 MB / 1.355 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001535/4.478, allocations: 421.9 kB / 1.355 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007951/4.479, allocations: 181.4 kB / 1.355 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01387/4.493, allocations: 6.267 MB / 1.362 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.115e-06/4.493, allocations: 0 / 1.362 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01757/4.511, allocations: 3.326 MB / 1.365 GB, free: 110.6 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (611): * Single equations (assignments): 594 * Array equations: 15 * 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%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/4.512, allocations: 307.3 kB / 1.365 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03544/4.547, allocations: 18.24 MB / 1.383 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.711e-06/4.547, allocations: 0 / 1.383 GB, free: 110.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/4.561, allocations: 7.208 MB / 1.39 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006854/4.568, allocations: 1.246 MB / 1.391 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06608/4.634, allocations: 29.97 MB / 1.42 GB, free: 104.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02246/4.657, allocations: 10.3 MB / 1.431 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005116/4.662, allocations: 0.8309 MB / 1.431 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.785e-06/4.662, allocations: 0 / 1.431 GB, free: 103.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.7884/5.451, allocations: 308.8 MB / 1.733 GB, free: 33.26 MB / 0.6042 GB