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.342/2.342, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.956e-05/3.947e-05, allocations: 7.938 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3694, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.08495/0.4544, allocations: 55.31 MB / 418.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03565/0.4901, allocations: 12.23 MB / 430.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01295/0.5031, allocations: 295.3 kB / 430.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.5132, allocations: 2.928 MB / 433.6 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02946/0.5427, allocations: 7.924 MB / 441.5 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005064/0.5478, allocations: 0.7644 MB / 442.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0655/0.6134, allocations: 16.78 MB / 459.1 MB, free: 13.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01717/0.6306, allocations: 5.965 MB / 465 MB, free: 7.387 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.6344, allocations: 1.107 MB / 466.2 MB, free: 6.277 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004157/0.6386, allocations: 1.707 MB / 467.9 MB, free: 4.566 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.6422, allocations: 0.952 MB / 468.8 MB, free: 3.613 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.6437, allocations: 164 kB / 469 MB, free: 3.453 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003586/0.6474, allocations: 2.006 MB / 471 MB, free: 1.441 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.6493, allocations: 356 kB / 471.3 MB, free: 1.094 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.6614, allocations: 7.56 MB / 478.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6615, allocations: 0 / 478.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.6615, allocations: 4 kB / 478.9 MB, free: 9.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003287/0.6618, allocations: 0 / 478.9 MB, free: 9.508 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.01819/0.6801, allocations: 5.204 MB / 484.1 MB, free: 4.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.6801, allocations: 8.031 kB / 484.1 MB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1198/0.8, allocations: 11.71 MB / 495.8 MB, free: 8.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/0.8139, allocations: 4.279 MB / 0.4884 GB, free: 4.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004369/0.8144, allocations: 312 kB / 0.4887 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002068/0.8165, allocations: 419.7 kB / 0.4891 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3375/1.154, allocations: 11.99 MB / 0.5008 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002878/1.154, allocations: 60.56 kB / 0.5008 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/1.156, allocations: 191 kB / 0.501 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004928/1.161, allocations: 2.086 MB / 0.5031 GB, free: 117.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02917/1.19, allocations: 9.999 MB / 0.5128 GB, free: 110.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07436/1.265, allocations: 46.64 MB / 0.5584 GB, free: 62.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01692/1.282, allocations: 4.251 MB / 0.5625 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02311/1.305, allocations: 9.684 MB / 0.572 GB, free: 48.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/1.305, allocations: 57.22 kB / 0.572 GB, free: 48.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.562e-06/1.305, allocations: 0 / 0.572 GB, free: 48.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.08766/1.393, allocations: 19.4 MB / 0.591 GB, free: 29.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/1.393, allocations: 205.2 kB / 0.5912 GB, free: 28.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.403, allocations: 4.515 MB / 0.5956 GB, free: 24.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005458/1.404, allocations: 53.7 kB / 0.5956 GB, free: 24.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004085/1.408, allocations: 3.606 MB / 0.5992 GB, free: 20.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002212/1.41, allocations: 0.8077 MB / 0.5999 GB, free: 19.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00132/1.411, allocations: 132 kB / 0.6001 GB, free: 19.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001063/1.413, allocations: 0.5835 MB / 0.6006 GB, free: 19.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01031/1.423, allocations: 2.304 MB / 0.6029 GB, free: 16.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009443/1.432, allocations: 6.209 MB / 0.6089 GB, free: 8.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.445, allocations: 3.709 MB / 0.6126 GB, free: 4.934 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/1.446, allocations: 43.94 kB / 0.6126 GB, free: 4.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=845) (initialization): time 0.02641/1.472, allocations: 8.935 MB / 0.6213 GB, free: 11.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/1.472, allocations: 66.03 kB / 0.6214 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002385/1.472, allocations: 140 kB / 0.6215 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005763/1.478, allocations: 1.097 MB / 0.6226 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009773/1.488, allocations: 1.493 MB / 0.6241 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/1.507, allocations: 8.198 MB / 0.6321 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009302/1.516, allocations: 363.4 kB / 0.6324 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/1.518, allocations: 396 kB / 0.6328 GB, free: 15.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * 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 (785): * Single equations (assignments): 780 * 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.01353/1.531, allocations: 2.518 MB / 0.6353 GB, free: 13.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/1.533, allocations: 422.6 kB / 0.6357 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03/1.563, allocations: 3.805 MB / 0.6394 GB, free: 9.16 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.64e-05/1.563, allocations: 23.91 kB / 0.6394 GB, free: 9.141 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/1.563, allocations: 8 kB / 0.6394 GB, free: 9.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.368e-05/1.564, allocations: 19.89 kB / 0.6394 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/1.595, allocations: 9.606 MB / 0.6488 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/1.595, allocations: 4 kB / 0.6488 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/1.599, allocations: 331.5 kB / 0.6491 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005065/1.604, allocations: 0.8523 MB / 0.65 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004731/1.604, allocations: 35.98 kB / 0.65 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02212/1.627, allocations: 7.537 MB / 0.6573 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.627, allocations: 0 / 0.6573 GB, free: 6.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02614/1.653, allocations: 6.639 MB / 0.6638 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003837/1.657, allocations: 0.7571 MB / 0.6646 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001803/1.659, allocations: 39.94 kB / 0.6646 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005021/1.664, allocations: 119.9 kB / 0.6647 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008617/1.665, allocations: 125.1 kB / 0.6648 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/1.665, allocations: 52 kB / 0.6649 GB, free: 14.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01135/1.676, allocations: 3.222 MB / 0.668 GB, free: 11.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.676, allocations: 0 / 0.668 GB, free: 11.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01116/1.687, allocations: 1.21 MB / 0.6692 GB, free: 10.25 MB / 490.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.0009567/1.688, allocations: 182.4 kB / 0.6694 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01779/1.706, allocations: 5.82 MB / 0.6751 GB, free: 4.246 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.706, allocations: 0 / 0.6751 GB, free: 4.246 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008368/1.715, allocations: 2.038 MB / 0.6771 GB, free: 2.18 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005779/1.721, allocations: 0.5278 MB / 0.6776 GB, free: 1.652 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3527/2.073, allocations: 14 MB / 0.6913 GB, free: 164.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/2.086, allocations: 4.109 MB / 0.6953 GB, free: 163.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002631/2.088, allocations: 340 kB / 0.6956 GB, free: 163.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.864e-06/2.089, allocations: 0 / 0.6956 GB, free: 163.6 MB / 490.7 MB Notification: Performance of Templates: time 0.2178/2.306, allocations: 112.4 MB / 0.8054 GB, free: 57.39 MB / 490.7 MB