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.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.587/2.587, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.727e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4234, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.09229/0.5158, allocations: 55.36 MB / 418.2 MB, free: 6.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04277/0.5586, allocations: 12.25 MB / 430.5 MB, free: 9.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01322/0.5719, allocations: 295.3 kB / 430.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01056/0.5825, allocations: 2.932 MB / 433.7 MB, free: 6.746 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03102/0.6135, allocations: 7.927 MB / 441.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005118/0.6187, allocations: 0.7723 MB / 442.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05056/0.6693, allocations: 16.79 MB / 459.2 MB, free: 13.22 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01331/0.6827, allocations: 5.986 MB / 465.2 MB, free: 7.176 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.6852, allocations: 1.13 MB / 466.3 MB, free: 6.043 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.6887, allocations: 1.691 MB / 468 MB, free: 4.348 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.6916, allocations: 0.9559 MB / 469 MB, free: 3.391 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.6928, allocations: 168 kB / 469.1 MB, free: 3.227 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002985/0.6958, allocations: 1.999 MB / 471.1 MB, free: 1.223 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.6973, allocations: 360 kB / 471.5 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.7093, allocations: 7.571 MB / 479 MB, free: 9.281 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7094, allocations: 4 kB / 479.1 MB, free: 9.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.7094, allocations: 0 / 479.1 MB, free: 9.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002709/0.7097, allocations: 0 / 479.1 MB, free: 9.277 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.01846/0.7282, allocations: 5.212 MB / 484.3 MB, free: 3.992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.7283, allocations: 8.031 kB / 484.3 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.118/0.8462, allocations: 11.72 MB / 496 MB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01372/0.86, allocations: 4.279 MB / 0.4885 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004287/0.8605, allocations: 320 kB / 0.4888 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002284/0.8628, allocations: 439.6 kB / 0.4893 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3575/1.22, allocations: 12.29 MB / 0.5013 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000303/1.221, allocations: 57.06 kB / 0.5013 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001586/1.222, allocations: 194.3 kB / 0.5015 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005028/1.227, allocations: 2.087 MB / 0.5035 GB, free: 117.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03047/1.258, allocations: 10.41 MB / 0.5137 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07438/1.332, allocations: 47.08 MB / 0.5597 GB, free: 61.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.35, allocations: 4.478 MB / 0.5641 GB, free: 56.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02175/1.372, allocations: 10.14 MB / 0.574 GB, free: 46.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.372, allocations: 55.81 kB / 0.574 GB, free: 46.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 6.021e-06/1.372, allocations: 4 kB / 0.574 GB, free: 46.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.08335/1.455, allocations: 19.83 MB / 0.5934 GB, free: 26.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/1.456, allocations: 201.2 kB / 0.5936 GB, free: 26.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008629/1.464, allocations: 4.519 MB / 0.598 GB, free: 21.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005233/1.465, allocations: 53.7 kB / 0.598 GB, free: 21.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00298/1.468, allocations: 3.749 MB / 0.6017 GB, free: 17.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.469, allocations: 0.8271 MB / 0.6025 GB, free: 17.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/1.47, allocations: 131.9 kB / 0.6026 GB, free: 16.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003692/1.47, allocations: 0.5867 MB / 0.6032 GB, free: 16.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005412/1.475, allocations: 2.332 MB / 0.6055 GB, free: 14.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008562/1.484, allocations: 6.243 MB / 0.6116 GB, free: 5.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/1.495, allocations: 3.749 MB / 0.6152 GB, free: 2.082 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001925/1.495, allocations: 40 kB / 0.6153 GB, free: 2.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.04434/1.54, allocations: 9.172 MB / 0.6242 GB, free: 8.855 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/1.54, allocations: 68.25 kB / 0.6243 GB, free: 8.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003417/1.54, allocations: 136 kB / 0.6244 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009053/1.549, allocations: 1.112 MB / 0.6255 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01538/1.565, allocations: 1.497 MB / 0.627 GB, free: 6.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02563/1.59, allocations: 8.39 MB / 0.6352 GB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00724/1.598, allocations: 371.4 kB / 0.6355 GB, free: 13.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00137/1.599, allocations: 399.9 kB / 0.6359 GB, free: 12.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * 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 (791): * Single equations (assignments): 786 * 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.007926/1.607, allocations: 2.528 MB / 0.6384 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.608, allocations: 426.5 kB / 0.6388 GB, free: 9.668 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.621, allocations: 3.888 MB / 0.6426 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/1.621, allocations: 27.59 kB / 0.6426 GB, free: 5.734 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.621, allocations: 8 kB / 0.6426 GB, free: 5.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/1.621, allocations: 11.97 kB / 0.6426 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02967/1.65, allocations: 9.776 MB / 0.6522 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.651, allocations: 0 / 0.6522 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/1.654, allocations: 351.5 kB / 0.6525 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004756/1.659, allocations: 0.8495 MB / 0.6533 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/1.659, allocations: 39.98 kB / 0.6534 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.675, allocations: 7.533 MB / 0.6607 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.675, allocations: 7.953 kB / 0.6607 GB, free: 2.875 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01847/1.694, allocations: 6.753 MB / 0.6673 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/1.697, allocations: 0.7765 MB / 0.6681 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001039/1.698, allocations: 35.95 kB / 0.6681 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003382/1.701, allocations: 121.9 kB / 0.6683 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006488/1.702, allocations: 137.7 kB / 0.6684 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002513/1.702, allocations: 56 kB / 0.6684 GB, free: 10.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007476/1.71, allocations: 3.226 MB / 0.6716 GB, free: 7.699 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.71, allocations: 0 / 0.6716 GB, free: 7.699 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00723/1.717, allocations: 1.222 MB / 0.6728 GB, free: 6.484 MB / 490.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.0007265/1.718, allocations: 177.6 kB / 0.6729 GB, free: 6.309 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01581/1.734, allocations: 5.917 MB / 0.6787 GB, free: 408 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.734, allocations: 3.938 kB / 0.6787 GB, free: 404 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.345/2.079, allocations: 2.072 MB / 0.6808 GB, free: 170.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004651/2.083, allocations: 0.5167 MB / 0.6813 GB, free: 170.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03084/2.114, allocations: 13.47 MB / 0.6944 GB, free: 164.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008681/2.123, allocations: 4.11 MB / 0.6984 GB, free: 162.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009407/2.133, allocations: 2.09 MB / 0.7005 GB, free: 162.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/2.134, allocations: 284 kB / 0.7007 GB, free: 162.8 MB / 490.7 MB Notification: Performance of SimCode: time 3.226e-06/2.134, allocations: 7.875 kB / 0.7007 GB, free: 162.8 MB / 490.7 MB Notification: Performance of Templates: time 0.1416/2.276, allocations: 43.03 MB / 0.7428 GB, free: 121.8 MB / 490.7 MB