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.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.238e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 58.82 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.4925, allocations: 108.7 MB / 490.9 MB, free: 15.75 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4928, allocations: 91.94 kB / 491 MB, free: 15.66 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.656/1.149, allocations: 107.2 MB / 0.5843 GB, free: 91.09 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.456e-06/1.149, allocations: 0 / 0.5843 GB, free: 91.09 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.00031/1.149, allocations: 108 kB / 0.5844 GB, free: 90.99 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01591/1.165, allocations: 5.266 MB / 0.5895 GB, free: 85.65 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.165, allocations: 8.031 kB / 0.5895 GB, free: 85.64 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/1.2, allocations: 6.939 MB / 0.5963 GB, free: 78.69 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01916/1.219, allocations: 6.895 MB / 0.603 GB, free: 71.73 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/1.22, allocations: 408.3 kB / 0.6034 GB, free: 71.34 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002173/1.222, allocations: 0.531 MB / 0.6039 GB, free: 70.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02956/1.251, allocations: 12.61 MB / 0.6162 GB, free: 57.04 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003057/1.252, allocations: 75.39 kB / 0.6163 GB, free: 56.97 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001742/1.254, allocations: 267.8 kB / 0.6166 GB, free: 56.71 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001749/1.255, allocations: 1.129 MB / 0.6177 GB, free: 55.57 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/1.28, allocations: 10.08 MB / 0.6275 GB, free: 45.48 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06973/1.35, allocations: 57.2 MB / 0.6834 GB, free: 2.41 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.015/1.365, allocations: 4.338 MB / 0.6876 GB, free: 13.92 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004767/1.37, allocations: 2.389 MB / 0.6899 GB, free: 11.52 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0221/1.392, allocations: 9.968 MB / 0.6997 GB, free: 1.395 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/1.392, allocations: 51.88 kB / 0.6997 GB, free: 1.336 MB / 490.8 MB Notification: Performance of pre-optimization done (n=192): time 5.985e-06/1.392, allocations: 0 / 0.6997 GB, free: 1.336 MB / 490.8 MB Notification: Performance of matching and sorting (n=218): time 0.06213/1.454, allocations: 16.19 MB / 0.7155 GB, free: 1.043 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/1.454, allocations: 217.1 kB / 0.7157 GB, free: 0.7852 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3031/1.757, allocations: 4.2 MB / 0.7198 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0004264/1.758, allocations: 60.22 kB / 0.7199 GB, free: 130.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003271/1.761, allocations: 3.782 MB / 0.7236 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.762, allocations: 0.8323 MB / 0.7244 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005901/1.763, allocations: 132 kB / 0.7245 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004226/1.763, allocations: 0.5815 MB / 0.7251 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004483/1.768, allocations: 2.192 MB / 0.7272 GB, free: 128.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006778/1.775, allocations: 6.099 MB / 0.7332 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006832/1.781, allocations: 3.65 MB / 0.7368 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/1.782, allocations: 37.91 kB / 0.7368 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02063/1.802, allocations: 8.45 MB / 0.7451 GB, free: 123 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.802, allocations: 67.75 kB / 0.7451 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/1.803, allocations: 139.6 kB / 0.7452 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003615/1.806, allocations: 0.9363 MB / 0.7462 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006718/1.813, allocations: 1.508 MB / 0.7476 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.824, allocations: 7.425 MB / 0.7549 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006675/1.831, allocations: 357.3 kB / 0.7552 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001225/1.832, allocations: 398.6 kB / 0.7556 GB, free: 118.2 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 638 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (798): * Single equations (assignments): 793 * 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.001378/1.833, allocations: 0.6198 MB / 0.7562 GB, free: 117.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009898/1.834, allocations: 428.3 kB / 0.7566 GB, free: 117.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00857/1.843, allocations: 3.536 MB / 0.7601 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.803e-05/1.843, allocations: 29.22 kB / 0.7601 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.843, allocations: 6.094 kB / 0.7601 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-05/1.843, allocations: 10.12 kB / 0.7601 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.866, allocations: 9.236 MB / 0.7691 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.732e-05/1.866, allocations: 11.66 kB / 0.7691 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.869, allocations: 339.6 kB / 0.7695 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00293/1.872, allocations: 0.6889 MB / 0.7701 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/1.872, allocations: 43.66 kB / 0.7702 GB, free: 112.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009657/1.882, allocations: 6.535 MB / 0.7766 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.341e-06/1.882, allocations: 4.062 kB / 0.7766 GB, free: 108.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/1.893, allocations: 6.26 MB / 0.7827 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002363/1.896, allocations: 0.7374 MB / 0.7834 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.897, allocations: 41.98 kB / 0.7834 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/1.9, allocations: 113.7 kB / 0.7836 GB, free: 103.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/1.9, allocations: 134.1 kB / 0.7837 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.901, allocations: 55.14 kB / 0.7837 GB, free: 103.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006427/1.907, allocations: 2.971 MB / 0.7866 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1e-06/1.907, allocations: 0 / 0.7866 GB, free: 100.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007524/1.915, allocations: 1.191 MB / 0.7878 GB, free: 99.66 MB / 0.4949 GB 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.0006242/1.915, allocations: 178 kB / 0.788 GB, free: 99.49 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.926, allocations: 5.43 MB / 0.7933 GB, free: 94.54 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.278e-06/1.926, allocations: 0 / 0.7933 GB, free: 94.54 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003757/1.93, allocations: 1.933 MB / 0.7952 GB, free: 92.79 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/1.933, allocations: 0.5335 MB / 0.7957 GB, free: 92.34 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/1.955, allocations: 9.281 MB / 0.8047 GB, free: 84.05 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008047/1.963, allocations: 4.121 MB / 0.8088 GB, free: 80.98 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007491/1.971, allocations: 2.099 MB / 0.8108 GB, free: 79.64 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.972, allocations: 281.8 kB / 0.8111 GB, free: 79.38 MB / 0.4949 GB Notification: Performance of SimCode: time 1.725e-06/1.972, allocations: 0 / 0.8111 GB, free: 79.38 MB / 0.4949 GB Notification: Performance of Templates: time 0.1126/2.084, allocations: 40.48 MB / 0.8506 GB, free: 44.36 MB / 0.4949 GB