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.418/2.418, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.413e-05, allocations: 3.984 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3451, allocations: 54.85 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.5469, allocations: 102.4 MB / 462.2 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.5473, allocations: 80.92 kB / 462.3 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8029/1.35, allocations: 106.5 MB / 0.5555 GB, free: 101.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.374e-06/1.35, allocations: 0 / 0.5555 GB, free: 101.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003092/1.351, allocations: 113.7 kB / 0.5556 GB, free: 101.4 MB / 458.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.0159/1.366, allocations: 5.26 MB / 0.5607 GB, free: 99.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.367, allocations: 7.75 kB / 0.5608 GB, free: 99.23 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03621/1.403, allocations: 6.944 MB / 0.5675 GB, free: 98.85 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01918/1.422, allocations: 6.869 MB / 0.5742 GB, free: 97.72 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004036/1.422, allocations: 412.5 kB / 0.5746 GB, free: 97.56 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/1.425, allocations: 0.5384 MB / 0.5752 GB, free: 97.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02815/1.453, allocations: 12.6 MB / 0.5875 GB, free: 90.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002555/1.453, allocations: 77.72 kB / 0.5875 GB, free: 90.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/1.454, allocations: 259.7 kB / 0.5878 GB, free: 90.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/1.456, allocations: 1.132 MB / 0.5889 GB, free: 90.35 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/1.481, allocations: 10.08 MB / 0.5987 GB, free: 85.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07014/1.551, allocations: 57.09 MB / 0.6545 GB, free: 28.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/1.564, allocations: 4.349 MB / 0.6587 GB, free: 24.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/1.567, allocations: 2.378 MB / 0.6611 GB, free: 21.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/1.584, allocations: 9.966 MB / 0.6708 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/1.584, allocations: 51.88 kB / 0.6708 GB, free: 11.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=192): time 5.916e-06/1.584, allocations: 0 / 0.6708 GB, free: 11.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=218): time 0.0521/1.637, allocations: 16.17 MB / 0.6866 GB, free: 11.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.637, allocations: 205.2 kB / 0.6868 GB, free: 11.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008576/1.645, allocations: 4.191 MB / 0.6909 GB, free: 7.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003814/1.646, allocations: 57.7 kB / 0.691 GB, free: 7.008 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003711/1.649, allocations: 3.764 MB / 0.6946 GB, free: 3.242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.651, allocations: 0.8269 MB / 0.6955 GB, free: 2.422 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004456/1.651, allocations: 132 kB / 0.6956 GB, free: 2.293 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00057/1.652, allocations: 0.579 MB / 0.6961 GB, free: 1.707 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3182/1.97, allocations: 2.184 MB / 0.6983 GB, free: 106.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007046/1.977, allocations: 6.087 MB / 0.7042 GB, free: 101.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/1.985, allocations: 3.637 MB / 0.7078 GB, free: 101.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001831/1.985, allocations: 39.75 kB / 0.7078 GB, free: 101.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02163/2.007, allocations: 8.427 MB / 0.716 GB, free: 100.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/2.007, allocations: 64.5 kB / 0.7161 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000262/2.007, allocations: 139.2 kB / 0.7162 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003667/2.011, allocations: 0.933 MB / 0.7171 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007091/2.018, allocations: 1.507 MB / 0.7186 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/2.03, allocations: 7.426 MB / 0.7259 GB, free: 98.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006894/2.037, allocations: 351.9 kB / 0.7262 GB, free: 98.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001504/2.038, allocations: 402.8 kB / 0.7266 GB, free: 98.01 MB / 474.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.001793/2.04, allocations: 0.6063 MB / 0.7272 GB, free: 97.66 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009356/2.041, allocations: 425.7 kB / 0.7276 GB, free: 97.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/2.049, allocations: 3.534 MB / 0.731 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.237e-05/2.049, allocations: 33.22 kB / 0.7311 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/2.049, allocations: 8.781 kB / 0.7311 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-05/2.049, allocations: 10.69 kB / 0.7311 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02193/2.071, allocations: 9.224 MB / 0.7401 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/2.071, allocations: 3.906 kB / 0.7401 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/2.074, allocations: 339 kB / 0.7404 GB, free: 92.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003077/2.077, allocations: 0.6839 MB / 0.7411 GB, free: 92.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003036/2.077, allocations: 46.33 kB / 0.7411 GB, free: 92.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009622/2.087, allocations: 6.539 MB / 0.7475 GB, free: 88.56 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.486e-06/2.087, allocations: 10.08 kB / 0.7475 GB, free: 88.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/2.098, allocations: 6.251 MB / 0.7536 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/2.1, allocations: 0.7433 MB / 0.7544 GB, free: 85.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008002/2.101, allocations: 32.42 kB / 0.7544 GB, free: 85.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/2.104, allocations: 113.1 kB / 0.7545 GB, free: 85.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004114/2.104, allocations: 135.9 kB / 0.7546 GB, free: 85.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/2.104, allocations: 54.06 kB / 0.7547 GB, free: 85.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006198/2.11, allocations: 2.952 MB / 0.7576 GB, free: 84.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.11, allocations: 0 / 0.7576 GB, free: 84.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007574/2.118, allocations: 1.188 MB / 0.7587 GB, free: 84.25 MB / 474.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.0005419/2.119, allocations: 173.3 kB / 0.7589 GB, free: 84.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01067/2.129, allocations: 5.423 MB / 0.7642 GB, free: 82.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.406e-06/2.129, allocations: 0 / 0.7642 GB, free: 82.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003599/2.133, allocations: 1.926 MB / 0.7661 GB, free: 81.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/2.136, allocations: 0.5252 MB / 0.7666 GB, free: 81.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/2.158, allocations: 9.276 MB / 0.7756 GB, free: 77.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006871/2.165, allocations: 4.107 MB / 0.7797 GB, free: 74.76 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007135/2.172, allocations: 2.098 MB / 0.7817 GB, free: 73.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/2.173, allocations: 289.8 kB / 0.782 GB, free: 73.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.79e-06/2.173, allocations: 0 / 0.782 GB, free: 73.16 MB / 474.7 MB Notification: Performance of Templates: time 0.1052/2.278, allocations: 40.36 MB / 0.8214 GB, free: 41.42 MB / 474.7 MB