Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.272e-05, allocations: 4 kB / 304.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.325, allocations: 54.85 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.4824, allocations: 102.4 MB / 462.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.4827, allocations: 79.95 kB / 462.3 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6454/1.128, allocations: 106.1 MB / 0.5551 GB, free: 100.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.754e-06/1.128, allocations: 0 / 0.5551 GB, free: 100.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002557/1.128, allocations: 101.2 kB / 0.5552 GB, free: 100.8 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.01244/1.141, allocations: 5.249 MB / 0.5603 GB, free: 98.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/1.141, allocations: 12 kB / 0.5603 GB, free: 98.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0365/1.177, allocations: 6.898 MB / 0.567 GB, free: 98.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/1.197, allocations: 6.869 MB / 0.5738 GB, free: 97.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/1.197, allocations: 406.1 kB / 0.5741 GB, free: 97.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/1.198, allocations: 0.5257 MB / 0.5747 GB, free: 97.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/1.224, allocations: 12.23 MB / 0.5866 GB, free: 90.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002258/1.225, allocations: 73.75 kB / 0.5867 GB, free: 90.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008741/1.225, allocations: 256 kB / 0.5869 GB, free: 90.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001619/1.227, allocations: 1.126 MB / 0.588 GB, free: 90.12 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/1.25, allocations: 9.6 MB / 0.5974 GB, free: 86.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0594/1.31, allocations: 56.62 MB / 0.6527 GB, free: 30.66 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/1.322, allocations: 4.096 MB / 0.6567 GB, free: 26.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/1.325, allocations: 2.257 MB / 0.6589 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/1.341, allocations: 9.486 MB / 0.6682 GB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.341, allocations: 59.81 kB / 0.6682 GB, free: 14.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 6.409e-06/1.341, allocations: 4 kB / 0.6682 GB, free: 14.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.08915/1.43, allocations: 15.82 MB / 0.6837 GB, free: 14.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/1.431, allocations: 197.2 kB / 0.6839 GB, free: 14.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0307/1.462, allocations: 4.184 MB / 0.6879 GB, free: 10.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007149/1.462, allocations: 53.7 kB / 0.688 GB, free: 10.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0072/1.47, allocations: 3.628 MB / 0.6915 GB, free: 6.473 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002101/1.472, allocations: 0.8111 MB / 0.6923 GB, free: 5.668 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005443/1.472, allocations: 124 kB / 0.6924 GB, free: 5.547 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005831/1.473, allocations: 0.5875 MB / 0.693 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004767/1.478, allocations: 2.164 MB / 0.6951 GB, free: 2.781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2774/1.755, allocations: 6.044 MB / 0.701 GB, free: 100.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009626/1.765, allocations: 3.615 MB / 0.7046 GB, free: 100.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001982/1.765, allocations: 39.56 kB / 0.7046 GB, free: 100.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02171/1.787, allocations: 8.174 MB / 0.7126 GB, free: 100.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/1.787, allocations: 68.06 kB / 0.7126 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002651/1.787, allocations: 138.6 kB / 0.7128 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/1.791, allocations: 0.9167 MB / 0.7137 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00734/1.798, allocations: 1.494 MB / 0.7151 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/1.81, allocations: 7.229 MB / 0.7222 GB, free: 97.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00672/1.817, allocations: 354.8 kB / 0.7225 GB, free: 97.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.819, allocations: 398.9 kB / 0.7229 GB, free: 97.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * 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 (789): * Single equations (assignments): 784 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001399/1.82, allocations: 0.6113 MB / 0.7235 GB, free: 97.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008881/1.821, allocations: 429.2 kB / 0.7239 GB, free: 97.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007996/1.829, allocations: 3.454 MB / 0.7273 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.62e-05/1.829, allocations: 22.03 kB / 0.7273 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.708e-05/1.829, allocations: 7.906 kB / 0.7273 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-05/1.829, allocations: 14.34 kB / 0.7273 GB, free: 97.09 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02134/1.85, allocations: 9.063 MB / 0.7362 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/1.851, allocations: 0 / 0.7362 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/1.853, allocations: 327.7 kB / 0.7365 GB, free: 93.78 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003044/1.856, allocations: 0.6929 MB / 0.7372 GB, free: 93.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/1.856, allocations: 37.06 kB / 0.7372 GB, free: 93.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009601/1.866, allocations: 6.537 MB / 0.7436 GB, free: 89.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.345e-06/1.866, allocations: 0 / 0.7436 GB, free: 89.43 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/1.877, allocations: 6.13 MB / 0.7496 GB, free: 87.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.879, allocations: 0.7304 MB / 0.7503 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007815/1.88, allocations: 44.52 kB / 0.7503 GB, free: 86.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.882, allocations: 112.8 kB / 0.7504 GB, free: 86.54 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/1.883, allocations: 125.2 kB / 0.7506 GB, free: 86.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.883, allocations: 53.03 kB / 0.7506 GB, free: 86.51 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005723/1.889, allocations: 2.957 MB / 0.7535 GB, free: 85.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.99e-07/1.889, allocations: 0 / 0.7535 GB, free: 85.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007218/1.896, allocations: 1.169 MB / 0.7546 GB, free: 85.35 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (163): * Single equations (assignments): 158 * 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.0004953/1.896, allocations: 173 kB / 0.7548 GB, free: 85.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.907, allocations: 5.348 MB / 0.76 GB, free: 83.24 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.907, allocations: 0 / 0.76 GB, free: 83.24 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.911, allocations: 1.896 MB / 0.7619 GB, free: 82.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/1.914, allocations: 0.5309 MB / 0.7624 GB, free: 82.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02009/1.934, allocations: 9.83 MB / 0.772 GB, free: 78.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005809/1.94, allocations: 4.099 MB / 0.776 GB, free: 76.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001507/1.941, allocations: 332.7 kB / 0.7763 GB, free: 76.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.774e-06/1.941, allocations: 3.938 kB / 0.7763 GB, free: 76.89 MB / 474.7 MB Notification: Performance of Templates: time 0.4161/2.357, allocations: 110.3 MB / 0.8841 GB, free: 116.3 MB / 490.7 MB