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_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.337e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08515/0.08521, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4482, allocations: 95.15 MB / 416.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.4485, allocations: 82.06 kB / 417 MB, free: 15.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4552/0.9038, allocations: 106.3 MB / 0.511 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.908e-06/0.9038, allocations: 0 / 0.511 GB, free: 12.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003448/0.9042, allocations: 108 kB / 0.5111 GB, free: 12.55 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.01711/0.9213, allocations: 5.263 MB / 0.5163 GB, free: 7.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.9213, allocations: 8.031 kB / 0.5163 GB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03949/0.9608, allocations: 6.9 MB / 0.523 GB, free: 300 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2603/1.221, allocations: 6.844 MB / 0.5297 GB, free: 78.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/1.222, allocations: 403.7 kB / 0.5301 GB, free: 78.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002201/1.224, allocations: 0.5393 MB / 0.5306 GB, free: 78.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02991/1.254, allocations: 12.23 MB / 0.5426 GB, free: 75.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002659/1.254, allocations: 66.5 kB / 0.5426 GB, free: 75.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001345/1.256, allocations: 263.1 kB / 0.5429 GB, free: 75.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001797/1.257, allocations: 1.122 MB / 0.544 GB, free: 75.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/1.281, allocations: 9.59 MB / 0.5534 GB, free: 75.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06654/1.348, allocations: 56.5 MB / 0.6085 GB, free: 36.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/1.361, allocations: 4.074 MB / 0.6125 GB, free: 35.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003988/1.365, allocations: 2.264 MB / 0.6147 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01871/1.384, allocations: 9.505 MB / 0.624 GB, free: 29.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.384, allocations: 50.91 kB / 0.624 GB, free: 29.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 6.527e-06/1.384, allocations: 0 / 0.624 GB, free: 29.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.0589/1.443, allocations: 16.5 MB / 0.6402 GB, free: 21.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.289e-05/1.443, allocations: 201.2 kB / 0.6403 GB, free: 21.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008032/1.451, allocations: 4.193 MB / 0.6444 GB, free: 17.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003768/1.451, allocations: 57.7 kB / 0.6445 GB, free: 17.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002665/1.454, allocations: 3.765 MB / 0.6482 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009608/1.455, allocations: 0.8292 MB / 0.649 GB, free: 13.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004855/1.456, allocations: 132 kB / 0.6491 GB, free: 13.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003645/1.456, allocations: 0.5804 MB / 0.6497 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004085/1.46, allocations: 2.176 MB / 0.6518 GB, free: 10.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00628/1.466, allocations: 6.073 MB / 0.6577 GB, free: 3.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00665/1.473, allocations: 3.637 MB / 0.6613 GB, free: 108 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.653e-05/1.473, allocations: 43.94 kB / 0.6613 GB, free: 64 kB / 426.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02764/1.501, allocations: 8.697 MB / 0.6698 GB, free: 9.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/1.501, allocations: 64 kB / 0.6699 GB, free: 9.438 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/1.501, allocations: 147.1 kB / 0.67 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003655/1.505, allocations: 0.9365 MB / 0.6709 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007365/1.512, allocations: 1.499 MB / 0.6724 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0131/1.525, allocations: 7.405 MB / 0.6796 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00708/1.533, allocations: 362.2 kB / 0.68 GB, free: 32 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00424/1.537, allocations: 0.5492 MB / 0.6805 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.002011/1.539, allocations: 0.6154 MB / 0.6811 GB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/1.54, allocations: 430.4 kB / 0.6815 GB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009011/1.549, allocations: 3.516 MB / 0.685 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.116e-05/1.549, allocations: 24 kB / 0.685 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.208e-05/1.549, allocations: 4 kB / 0.685 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.852e-05/1.55, allocations: 19.2 kB / 0.685 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/1.574, allocations: 9.188 MB / 0.694 GB, free: 4.523 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.182e-05/1.574, allocations: 3.938 kB / 0.694 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.577, allocations: 352.7 kB / 0.6943 GB, free: 4.238 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003107/1.58, allocations: 0.6805 MB / 0.695 GB, free: 3.746 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00039/1.58, allocations: 39.14 kB / 0.695 GB, free: 3.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2679/1.848, allocations: 6.59 MB / 0.7014 GB, free: 97.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.026e-06/1.848, allocations: 4.125 kB / 0.7015 GB, free: 97.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0119/1.86, allocations: 6.215 MB / 0.7075 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.862, allocations: 0.7437 MB / 0.7082 GB, free: 96.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007213/1.863, allocations: 35.42 kB / 0.7083 GB, free: 96.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00257/1.866, allocations: 112 kB / 0.7084 GB, free: 96.61 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/1.866, allocations: 132.2 kB / 0.7085 GB, free: 96.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002238/1.866, allocations: 59.39 kB / 0.7086 GB, free: 96.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006354/1.873, allocations: 2.956 MB / 0.7115 GB, free: 96.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.034e-06/1.873, allocations: 0 / 0.7115 GB, free: 96.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007353/1.88, allocations: 1.186 MB / 0.7126 GB, free: 96.4 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.0004776/1.881, allocations: 178 kB / 0.7128 GB, free: 96.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.892, allocations: 5.39 MB / 0.7181 GB, free: 96.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.801e-06/1.892, allocations: 3.875 kB / 0.7181 GB, free: 96.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003861/1.895, allocations: 1.907 MB / 0.7199 GB, free: 95.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/1.899, allocations: 0.5302 MB / 0.7204 GB, free: 95.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.919, allocations: 9.267 MB / 0.7295 GB, free: 94 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007442/1.927, allocations: 4.115 MB / 0.7335 GB, free: 93.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007103/1.934, allocations: 2.096 MB / 0.7355 GB, free: 93.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/1.935, allocations: 287.1 kB / 0.7358 GB, free: 93.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.85e-06/1.935, allocations: 3.469 kB / 0.7358 GB, free: 93.12 MB / 458.7 MB Notification: Performance of Templates: time 0.1119/2.047, allocations: 40.33 MB / 0.7752 GB, free: 91.09 MB / 458.7 MB