Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.21e-05, allocations: 7.125 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3824, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.1937/0.5762, allocations: 122.2 MB / 485.1 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4725/1.049, allocations: 24.85 MB / 0.498 GB, free: 436 kB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03192/1.081, allocations: 0.6426 MB / 0.4986 GB, free: 436 kB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02537/1.106, allocations: 6.686 MB / 0.5051 GB, free: 428 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06984/1.176, allocations: 17.44 MB / 0.5222 GB, free: 11.74 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/1.187, allocations: 1.357 MB / 0.5235 GB, free: 11.35 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1028/1.29, allocations: 34.47 MB / 0.5572 GB, free: 12.13 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02798/1.318, allocations: 12.88 MB / 0.5697 GB, free: 2.926 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008044/1.326, allocations: 2.848 MB / 0.5725 GB, free: 1.008 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/1.336, allocations: 4.394 MB / 0.5768 GB, free: 13.78 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006104/1.343, allocations: 1.11 MB / 0.5779 GB, free: 12.84 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003769/1.346, allocations: 364 kB / 0.5782 GB, free: 12.48 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009906/1.356, allocations: 5.332 MB / 0.5834 GB, free: 8.621 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006197/1.363, allocations: 0.8711 MB / 0.5843 GB, free: 7.75 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03076/1.393, allocations: 19.45 MB / 0.6033 GB, free: 6.828 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.394, allocations: 0 / 0.6033 GB, free: 6.828 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.394, allocations: 0 / 0.6033 GB, free: 6.828 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008265/1.394, allocations: 0 / 0.6033 GB, free: 6.828 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.05134/1.446, allocations: 13.17 MB / 0.6162 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/1.446, allocations: 8.031 kB / 0.6162 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2812/1.727, allocations: 28.59 MB / 0.6441 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03318/1.76, allocations: 9.914 MB / 0.6538 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001246/1.762, allocations: 0.7903 MB / 0.6545 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006509/1.768, allocations: 1.094 MB / 0.6556 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1081/1.876, allocations: 37.13 MB / 0.6919 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007285/1.877, allocations: 121.2 kB / 0.692 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005459/1.883, allocations: 499 kB / 0.6925 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02127/1.904, allocations: 7.566 MB / 0.6999 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8325/2.736, allocations: 33.25 MB / 0.7323 GB, free: 219.7 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2536/2.99, allocations: 131.1 MB / 0.8603 GB, free: 92.35 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06402/3.054, allocations: 15.92 MB / 0.8759 GB, free: 76.1 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1189/3.173, allocations: 35.95 MB / 0.911 GB, free: 40.22 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.864e-05/3.173, allocations: 95.25 kB / 0.9111 GB, free: 40.11 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=747): time 1.477e-05/3.173, allocations: 0 / 0.9111 GB, free: 40.11 MB / 0.5574 GB Notification: Performance of matching and sorting (n=829): time 1.057/4.231, allocations: 85.56 MB / 0.9946 GB, free: 197.8 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/4.231, allocations: 312.8 kB / 0.9949 GB, free: 197.5 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02413/4.255, allocations: 9.94 MB / 1.005 GB, free: 194 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.002081/4.257, allocations: 138.6 kB / 1.005 GB, free: 193.9 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.008224/4.265, allocations: 9.791 MB / 1.014 GB, free: 186.4 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.005008/4.271, allocations: 2.997 MB / 1.017 GB, free: 184.1 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00329/4.274, allocations: 359.9 kB / 1.018 GB, free: 183.7 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.00204/4.276, allocations: 1.095 MB / 1.019 GB, free: 182.8 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02236/4.298, allocations: 8.443 MB / 1.027 GB, free: 175.6 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02778/4.326, allocations: 17.93 MB / 1.044 GB, free: 154.7 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02852/4.355, allocations: 12.28 MB / 1.056 GB, free: 142.5 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003089/4.355, allocations: 96 kB / 1.057 GB, free: 142.4 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2395) (initialization): time 0.09531/4.45, allocations: 28.27 MB / 1.084 GB, free: 114.1 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003264/4.451, allocations: 152.2 kB / 1.084 GB, free: 114 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000643/4.451, allocations: 328 kB / 1.085 GB, free: 113.6 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01732/4.469, allocations: 2.718 MB / 1.087 GB, free: 110.9 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03183/4.501, allocations: 4.312 MB / 1.091 GB, free: 106.6 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03343/4.534, allocations: 16.22 MB / 1.107 GB, free: 90.13 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02043/4.555, allocations: 1.116 MB / 1.108 GB, free: 89.02 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004082/4.559, allocations: 0.9887 MB / 1.109 GB, free: 88.03 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1500 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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.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 (2199): * Single equations (assignments): 2182 * 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.0199/4.579, allocations: 7.084 MB / 1.116 GB, free: 80.93 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002807/4.582, allocations: 1.014 MB / 1.117 GB, free: 79.9 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05053/4.632, allocations: 16.49 MB / 1.133 GB, free: 63.34 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002937/4.632, allocations: 172.8 kB / 1.134 GB, free: 63.18 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.441e-05/4.633, allocations: 13.44 kB / 1.134 GB, free: 63.16 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001815/4.633, allocations: 39.8 kB / 1.134 GB, free: 63.12 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5189/5.152, allocations: 35.71 MB / 1.168 GB, free: 189 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001274/5.152, allocations: 14.55 kB / 1.168 GB, free: 189 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01862/5.17, allocations: 1.438 MB / 1.17 GB, free: 188.9 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01584/5.186, allocations: 2.07 MB / 1.172 GB, free: 188.4 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002625/5.189, allocations: 132.9 kB / 1.172 GB, free: 188.3 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03914/5.228, allocations: 14.78 MB / 1.186 GB, free: 180.9 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.007e-05/5.228, allocations: 15.28 kB / 1.186 GB, free: 180.9 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06975/5.298, allocations: 27.47 MB / 1.213 GB, free: 169 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008851/5.307, allocations: 2.308 MB / 1.216 GB, free: 167.5 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004838/5.312, allocations: 125.3 kB / 1.216 GB, free: 167.4 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01193/5.324, allocations: 0.5474 MB / 1.216 GB, free: 167 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003207/5.327, allocations: 447.5 kB / 1.217 GB, free: 166.7 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002242/5.329, allocations: 189.6 kB / 1.217 GB, free: 166.6 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.01747/5.347, allocations: 6.955 MB / 1.224 GB, free: 160.9 MB / 0.5575 GB Notification: Performance of sort global known variables: time 7.21e-07/5.347, allocations: 0 / 1.224 GB, free: 160.9 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02126/5.368, allocations: 3.485 MB / 1.227 GB, free: 157.4 MB / 0.5575 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 (655): * Single equations (assignments): 638 * 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.002651/5.371, allocations: 318.1 kB / 1.227 GB, free: 157.1 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.04638/5.417, allocations: 20.09 MB / 1.247 GB, free: 139.5 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-05/5.417, allocations: 4 kB / 1.247 GB, free: 139.5 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.02031/5.438, allocations: 7.907 MB / 1.255 GB, free: 132 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/5.448, allocations: 1.266 MB / 1.256 GB, free: 130.8 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09451/5.543, allocations: 41.09 MB / 1.296 GB, free: 89.64 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02641/5.569, allocations: 10.57 MB / 1.306 GB, free: 79.03 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.03003/5.599, allocations: 6.674 MB / 1.313 GB, free: 72.34 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006468/5.606, allocations: 0.7337 MB / 1.314 GB, free: 71.61 MB / 0.5575 GB Notification: Performance of SimCode: time 1.402e-06/5.606, allocations: 0 / 1.314 GB, free: 71.61 MB / 0.5575 GB Notification: Performance of Templates: time 0.7194/6.325, allocations: 105.9 MB / 1.417 GB, free: 148.2 MB / 0.5575 GB