Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 282.7 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.123e-05, allocations: 7.938 kB / 347 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3176, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.4826, allocations: 109.8 MB / 0.5065 GB, free: 12.85 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4829, allocations: 87.94 kB / 0.5066 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6127/1.096, allocations: 104.5 MB / 0.6086 GB, free: 31.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.096, allocations: 0 / 0.6086 GB, free: 31.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002444/1.096, allocations: 103.9 kB / 0.6087 GB, free: 31.76 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.01353/1.109, allocations: 5.109 MB / 0.6137 GB, free: 26.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.109, allocations: 12.03 kB / 0.6137 GB, free: 26.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03362/1.143, allocations: 6.896 MB / 0.6204 GB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/1.16, allocations: 6.48 MB / 0.6267 GB, free: 13.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/1.161, allocations: 394.3 kB / 0.6271 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/1.162, allocations: 0.5114 MB / 0.6276 GB, free: 12.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02523/1.188, allocations: 12.15 MB / 0.6395 GB, free: 14.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002584/1.188, allocations: 79.25 kB / 0.6396 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001105/1.189, allocations: 247.9 kB / 0.6398 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001942/1.191, allocations: 1.066 MB / 0.6408 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02576/1.217, allocations: 9.685 MB / 0.6503 GB, free: 3.836 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08256/1.299, allocations: 55.56 MB / 0.7046 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/1.314, allocations: 4.133 MB / 0.7086 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004207/1.318, allocations: 2.214 MB / 0.7107 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3248/1.643, allocations: 9.36 MB / 0.7199 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.643, allocations: 54.16 kB / 0.7199 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=171): time 5.82e-06/1.643, allocations: 0 / 0.7199 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=197): time 0.05138/1.694, allocations: 15.08 MB / 0.7347 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.695, allocations: 207.6 kB / 0.7349 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009516/1.704, allocations: 4.099 MB / 0.7389 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005356/1.705, allocations: 54.22 kB / 0.7389 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004212/1.709, allocations: 3.52 MB / 0.7424 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.71, allocations: 0.7554 MB / 0.7431 GB, free: 115 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000768/1.711, allocations: 131.4 kB / 0.7432 GB, free: 115 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007527/1.712, allocations: 0.5744 MB / 0.7438 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00815/1.72, allocations: 2.03 MB / 0.7458 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/1.731, allocations: 5.834 MB / 0.7515 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/1.744, allocations: 3.444 MB / 0.7548 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/1.744, allocations: 39.16 kB / 0.7549 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=822) (initialization): time 0.04091/1.785, allocations: 7.843 MB / 0.7625 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/1.785, allocations: 64.86 kB / 0.7626 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.785, allocations: 139 kB / 0.7627 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002963/1.788, allocations: 0.928 MB / 0.7636 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005554/1.794, allocations: 1.437 MB / 0.765 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.804, allocations: 7.411 MB / 0.7723 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/1.81, allocations: 334.9 kB / 0.7726 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/1.812, allocations: 383.6 kB / 0.7729 GB, free: 103.3 MB / 0.5105 GB 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.001108/1.813, allocations: 0.5942 MB / 0.7735 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008356/1.814, allocations: 417.4 kB / 0.7739 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0072/1.821, allocations: 3.171 MB / 0.777 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-05/1.821, allocations: 21.69 kB / 0.777 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/1.821, allocations: 12.83 kB / 0.7771 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-05/1.821, allocations: 14.05 kB / 0.7771 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/1.84, allocations: 8.523 MB / 0.7854 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.84, allocations: 1.656 kB / 0.7854 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/1.842, allocations: 307.7 kB / 0.7857 GB, free: 98.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/1.845, allocations: 0.6837 MB / 0.7864 GB, free: 97.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/1.845, allocations: 36.72 kB / 0.7864 GB, free: 97.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008951/1.854, allocations: 6.539 MB / 0.7928 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.332e-06/1.854, allocations: 7.766 kB / 0.7928 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00938/1.863, allocations: 5.684 MB / 0.7983 GB, free: 86.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.865, allocations: 456.7 kB / 0.7988 GB, free: 86.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006149/1.865, allocations: 32 kB / 0.7988 GB, free: 86.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001893/1.867, allocations: 98.52 kB / 0.7989 GB, free: 86.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/1.868, allocations: 125.3 kB / 0.799 GB, free: 86.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.868, allocations: 50.62 kB / 0.7991 GB, free: 86.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005081/1.873, allocations: 2.89 MB / 0.8019 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.93e-07/1.873, allocations: 0 / 0.8019 GB, free: 83.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00668/1.88, allocations: 1.132 MB / 0.803 GB, free: 82.34 MB / 0.5105 GB 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.0004885/1.88, allocations: 187.8 kB / 0.8032 GB, free: 82.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009156/1.889, allocations: 5.049 MB / 0.8081 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.678e-06/1.889, allocations: 4 kB / 0.8081 GB, free: 77.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003072/1.892, allocations: 1.739 MB / 0.8098 GB, free: 76.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/1.895, allocations: 0.5233 MB / 0.8103 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/1.914, allocations: 9.382 MB / 0.8195 GB, free: 67.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005471/1.919, allocations: 3.963 MB / 0.8233 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.921, allocations: 322.4 kB / 0.8237 GB, free: 64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.921, allocations: 0 / 0.8237 GB, free: 64 MB / 0.5105 GB Notification: Performance of Templates: time 0.4469/2.368, allocations: 106.2 MB / 0.9273 GB, free: 144.6 MB / 0.5417 GB