Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 1.872/1.872, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.315e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08605, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3687/0.4548, allocations: 95.15 MB / 416.9 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.455, allocations: 86.38 kB / 417 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.398/0.8531, allocations: 106.3 MB / 0.511 GB, free: 13.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.336e-06/0.8531, allocations: 4 kB / 0.511 GB, free: 13.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003385/0.8535, allocations: 108 kB / 0.5111 GB, free: 13.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.01653/0.87, allocations: 5.259 MB / 0.5163 GB, free: 7.797 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.8701, allocations: 8.031 kB / 0.5163 GB, free: 7.789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03628/0.9064, allocations: 6.9 MB / 0.523 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2628/1.169, allocations: 6.841 MB / 0.5297 GB, free: 78.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004377/1.17, allocations: 410.3 kB / 0.5301 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002036/1.172, allocations: 0.5322 MB / 0.5306 GB, free: 78.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/1.2, allocations: 12.23 MB / 0.5425 GB, free: 75.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/1.201, allocations: 71.25 kB / 0.5426 GB, free: 75.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001343/1.202, allocations: 255.5 kB / 0.5429 GB, free: 75.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/1.204, allocations: 1.128 MB / 0.544 GB, free: 75.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02327/1.227, allocations: 9.585 MB / 0.5533 GB, free: 75.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06368/1.291, allocations: 56.5 MB / 0.6085 GB, free: 36.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/1.304, allocations: 4.082 MB / 0.6125 GB, free: 35.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003461/1.308, allocations: 2.26 MB / 0.6147 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/1.325, allocations: 9.496 MB / 0.624 GB, free: 29.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.325, allocations: 58.48 kB / 0.624 GB, free: 29.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 6.418e-06/1.325, allocations: 0 / 0.624 GB, free: 29.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.05561/1.38, allocations: 16.5 MB / 0.6401 GB, free: 22.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/1.38, allocations: 205.2 kB / 0.6403 GB, free: 21.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006899/1.387, allocations: 4.194 MB / 0.6444 GB, free: 18.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003552/1.388, allocations: 55.03 kB / 0.6445 GB, free: 18.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/1.39, allocations: 3.622 MB / 0.648 GB, free: 14.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/1.391, allocations: 0.8291 MB / 0.6488 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003923/1.391, allocations: 128.7 kB / 0.6489 GB, free: 13.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003612/1.391, allocations: 0.5878 MB / 0.6495 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/1.395, allocations: 2.175 MB / 0.6516 GB, free: 11.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005607/1.401, allocations: 6.082 MB / 0.6576 GB, free: 3.906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005923/1.407, allocations: 3.633 MB / 0.6611 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.718e-05/1.407, allocations: 40 kB / 0.6612 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02053/1.427, allocations: 8.253 MB / 0.6692 GB, free: 9.676 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/1.428, allocations: 70.53 kB / 0.6693 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.428, allocations: 136.1 kB / 0.6694 GB, free: 9.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/1.431, allocations: 0.9383 MB / 0.6703 GB, free: 8.734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006361/1.438, allocations: 1.504 MB / 0.6718 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/1.45, allocations: 7.419 MB / 0.679 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006482/1.457, allocations: 350.4 kB / 0.6794 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002767/1.46, allocations: 487.2 kB / 0.6798 GB, free: 0 / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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.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 (795): * Single equations (assignments): 790 * 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.001458/1.461, allocations: 0.614 MB / 0.6804 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.462, allocations: 430.4 kB / 0.6809 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008367/1.47, allocations: 3.516 MB / 0.6843 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.007e-05/1.471, allocations: 28 kB / 0.6843 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/1.471, allocations: 4 kB / 0.6843 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.141e-05/1.471, allocations: 13.47 kB / 0.6843 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.493, allocations: 9.195 MB / 0.6933 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/1.493, allocations: 0 / 0.6933 GB, free: 4.516 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/1.495, allocations: 348 kB / 0.6936 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002938/1.498, allocations: 0.6839 MB / 0.6943 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.498, allocations: 39.94 kB / 0.6943 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2625/1.761, allocations: 6.593 MB / 0.7008 GB, free: 97.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.341e-06/1.761, allocations: 2.25 kB / 0.7008 GB, free: 97.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/1.774, allocations: 6.207 MB / 0.7069 GB, free: 96.78 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/1.776, allocations: 0.7455 MB / 0.7076 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.777, allocations: 35.7 kB / 0.7076 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/1.78, allocations: 111.7 kB / 0.7077 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/1.781, allocations: 127.1 kB / 0.7078 GB, free: 96.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.781, allocations: 59.08 kB / 0.7079 GB, free: 96.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007044/1.788, allocations: 2.962 MB / 0.7108 GB, free: 96.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.108e-06/1.788, allocations: 0 / 0.7108 GB, free: 96.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007749/1.796, allocations: 1.189 MB / 0.712 GB, free: 96.48 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 (169): * Single equations (assignments): 164 * 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.0006387/1.796, allocations: 181.1 kB / 0.7121 GB, free: 96.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01101/1.808, allocations: 5.387 MB / 0.7174 GB, free: 96.15 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.577e-06/1.808, allocations: 0 / 0.7174 GB, free: 96.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003694/1.811, allocations: 1.912 MB / 0.7193 GB, free: 95.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/1.815, allocations: 0.531 MB / 0.7198 GB, free: 95.89 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.835, allocations: 9.856 MB / 0.7294 GB, free: 94.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007133/1.843, allocations: 4.126 MB / 0.7334 GB, free: 93.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.844, allocations: 330.1 kB / 0.7337 GB, free: 93.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.882e-06/1.844, allocations: 3.5 kB / 0.7337 GB, free: 93.21 MB / 458.7 MB Notification: Performance of Templates: time 0.1516/1.996, allocations: 110.7 MB / 0.8418 GB, free: 24.29 MB / 458.7 MB