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.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadModel(ModelicaTest): time 1.865/1.865, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.64e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/0.08774, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4583, allocations: 95.16 MB / 416.9 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4586, allocations: 82.33 kB / 417 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4004/0.859, allocations: 106.1 MB / 0.5109 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.077e-06/0.8591, allocations: 4 kB / 0.5109 GB, free: 13.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003489/0.8594, allocations: 108 kB / 0.511 GB, free: 13.26 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.01759/0.877, allocations: 5.255 MB / 0.5161 GB, free: 7.938 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.8771, allocations: 12.03 kB / 0.5161 GB, free: 7.926 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04441/0.9215, allocations: 6.9 MB / 0.5229 GB, free: 1.008 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3445/1.266, allocations: 6.839 MB / 0.5296 GB, free: 79.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005146/1.267, allocations: 405.1 kB / 0.5299 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/1.269, allocations: 0.5299 MB / 0.5305 GB, free: 79.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03051/1.3, allocations: 12.22 MB / 0.5424 GB, free: 76.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002943/1.3, allocations: 86.06 kB / 0.5425 GB, free: 76.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001518/1.301, allocations: 259 kB / 0.5427 GB, free: 76.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/1.303, allocations: 1.119 MB / 0.5438 GB, free: 76.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/1.328, allocations: 9.594 MB / 0.5532 GB, free: 76.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06598/1.394, allocations: 56.55 MB / 0.6084 GB, free: 37.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.407, allocations: 4.094 MB / 0.6124 GB, free: 36.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003345/1.41, allocations: 2.252 MB / 0.6146 GB, free: 35.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01785/1.428, allocations: 9.506 MB / 0.6239 GB, free: 30.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/1.428, allocations: 58 kB / 0.6239 GB, free: 30.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.191e-06/1.428, allocations: 3.094 kB / 0.6239 GB, free: 30.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.05682/1.485, allocations: 15.8 MB / 0.6394 GB, free: 24.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.485, allocations: 204.8 kB / 0.6396 GB, free: 23.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007227/1.492, allocations: 4.196 MB / 0.6437 GB, free: 20.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/1.493, allocations: 53.7 kB / 0.6437 GB, free: 20.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002054/1.495, allocations: 3.615 MB / 0.6473 GB, free: 16.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/1.496, allocations: 0.812 MB / 0.648 GB, free: 16.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/1.496, allocations: 124.7 kB / 0.6482 GB, free: 15.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003528/1.497, allocations: 0.5882 MB / 0.6487 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003671/1.5, allocations: 2.17 MB / 0.6509 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00543/1.506, allocations: 6.036 MB / 0.6568 GB, free: 5.898 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006372/1.512, allocations: 3.614 MB / 0.6603 GB, free: 2.793 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-05/1.512, allocations: 40 kB / 0.6603 GB, free: 2.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.02045/1.533, allocations: 8.2 MB / 0.6683 GB, free: 11.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/1.533, allocations: 64 kB / 0.6684 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002038/1.533, allocations: 140 kB / 0.6685 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003485/1.537, allocations: 0.9237 MB / 0.6694 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006963/1.544, allocations: 1.488 MB / 0.6709 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.556, allocations: 7.238 MB / 0.6779 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/1.563, allocations: 356.9 kB / 0.6783 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001243/1.564, allocations: 399.8 kB / 0.6787 GB, free: 2.082 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (788): * Single equations (assignments): 783 * 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.001288/1.565, allocations: 0.6119 MB / 0.6793 GB, free: 1.473 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.567, allocations: 430.5 kB / 0.6797 GB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/1.577, allocations: 3.57 MB / 0.6832 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/1.577, allocations: 23.75 kB / 0.6832 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.829e-05/1.577, allocations: 8 kB / 0.6832 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/1.577, allocations: 11.48 kB / 0.6832 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/1.599, allocations: 9.054 MB / 0.692 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/1.6, allocations: 0 / 0.692 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002318/1.602, allocations: 332.8 kB / 0.6924 GB, free: 6.824 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002987/1.605, allocations: 0.698 MB / 0.693 GB, free: 6.324 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/1.605, allocations: 39.89 kB / 0.6931 GB, free: 6.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.616, allocations: 6.534 MB / 0.6995 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.681e-06/1.616, allocations: 4.062 kB / 0.6995 GB, free: 168 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2659/1.882, allocations: 6.12 MB / 0.7054 GB, free: 99.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/1.885, allocations: 0.7396 MB / 0.7062 GB, free: 99.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.886, allocations: 33.27 kB / 0.7062 GB, free: 99.72 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.889, allocations: 117 kB / 0.7063 GB, free: 99.72 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/1.889, allocations: 123.3 kB / 0.7064 GB, free: 99.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.89, allocations: 55.23 kB / 0.7065 GB, free: 99.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007632/1.897, allocations: 2.96 MB / 0.7094 GB, free: 99.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.039e-06/1.897, allocations: 2 kB / 0.7094 GB, free: 99.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007633/1.905, allocations: 1.179 MB / 0.7105 GB, free: 99.52 MB / 458.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.0006241/1.905, allocations: 179.8 kB / 0.7107 GB, free: 99.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01165/1.917, allocations: 5.346 MB / 0.7159 GB, free: 99.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.175e-06/1.917, allocations: 2.906 kB / 0.7159 GB, free: 99.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/1.921, allocations: 1.888 MB / 0.7178 GB, free: 98.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00367/1.925, allocations: 0.5126 MB / 0.7183 GB, free: 98.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/1.948, allocations: 9.843 MB / 0.7279 GB, free: 97.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008034/1.956, allocations: 4.107 MB / 0.7319 GB, free: 96.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/1.958, allocations: 336.6 kB / 0.7322 GB, free: 96.29 MB / 458.7 MB Notification: Performance of SimCode: time 2.24e-06/1.958, allocations: 0 / 0.7322 GB, free: 96.29 MB / 458.7 MB Notification: Performance of Templates: time 0.1526/2.11, allocations: 110.2 MB / 0.8399 GB, free: 28.54 MB / 458.7 MB