Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 1.888/1.888, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.484e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08614, allocations: 48.68 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4309/0.5171, allocations: 95.87 MB / 417.6 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.5174, allocations: 85.94 kB / 417.7 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3683/0.8857, allocations: 97.19 MB / 0.5028 GB, free: 5.566 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.8858, allocations: 0 / 0.5028 GB, free: 5.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002846/0.8861, allocations: 100 kB / 0.5029 GB, free: 5.469 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02177/0.9078, allocations: 5.506 MB / 0.5083 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.9079, allocations: 12.03 kB / 0.5083 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.9213, allocations: 2.321 MB / 0.5106 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/0.9375, allocations: 4.968 MB / 0.5154 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000612/0.9382, allocations: 394.3 kB / 0.5158 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002337/0.9405, allocations: 0.5115 MB / 0.5163 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2738/1.214, allocations: 12.8 MB / 0.5288 GB, free: 78.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003183/1.215, allocations: 61.94 kB / 0.5289 GB, free: 78.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001878/1.217, allocations: 247.6 kB / 0.5291 GB, free: 78.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002345/1.219, allocations: 1.207 MB / 0.5303 GB, free: 78.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02932/1.248, allocations: 10.88 MB / 0.5409 GB, free: 78.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07406/1.322, allocations: 55.77 MB / 0.5954 GB, free: 45.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/1.343, allocations: 5.248 MB / 0.6005 GB, free: 43.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005297/1.348, allocations: 3.283 MB / 0.6037 GB, free: 42.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/1.35, allocations: 1.014 MB / 0.6047 GB, free: 41.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/1.35, allocations: 58.91 kB / 0.6047 GB, free: 41.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 7.759e-06/1.35, allocations: 3.172 kB / 0.6047 GB, free: 41.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.07505/1.425, allocations: 21.93 MB / 0.6262 GB, free: 33.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/1.425, allocations: 156.1 kB / 0.6263 GB, free: 33.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008034/1.433, allocations: 3.975 MB / 0.6302 GB, free: 32.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005842/1.434, allocations: 64.7 kB / 0.6302 GB, free: 32.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002272/1.436, allocations: 3.426 MB / 0.6336 GB, free: 29.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.437, allocations: 0.9612 MB / 0.6345 GB, free: 29.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006902/1.438, allocations: 137.3 kB / 0.6347 GB, free: 28.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004138/1.438, allocations: 0.5995 MB / 0.6353 GB, free: 28.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00586/1.444, allocations: 2.963 MB / 0.6381 GB, free: 26.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007626/1.452, allocations: 6.833 MB / 0.6448 GB, free: 18.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007985/1.46, allocations: 4.474 MB / 0.6492 GB, free: 14.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/1.46, allocations: 40 kB / 0.6492 GB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02316/1.483, allocations: 10.18 MB / 0.6592 GB, free: 6.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/1.483, allocations: 67.94 kB / 0.6592 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.484, allocations: 136.9 kB / 0.6594 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/1.487, allocations: 1.133 MB / 0.6605 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007632/1.495, allocations: 1.708 MB / 0.6621 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009356/1.504, allocations: 5.917 MB / 0.6679 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007354/1.511, allocations: 430.9 kB / 0.6683 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00164/1.513, allocations: 425.9 kB / 0.6687 GB, free: 13.79 MB / 442.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: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 848 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001977/1.515, allocations: 0.6101 MB / 0.6693 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.516, allocations: 410.7 kB / 0.6697 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.53, allocations: 5.576 MB / 0.6752 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/1.53, allocations: 35.61 kB / 0.6752 GB, free: 8.254 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.53, allocations: 7.844 kB / 0.6752 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/1.53, allocations: 19.03 kB / 0.6752 GB, free: 8.246 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2799/1.81, allocations: 12.25 MB / 0.6872 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.69e-05/1.81, allocations: 0 / 0.6872 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003455/1.813, allocations: 0.5109 MB / 0.6877 GB, free: 87.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/1.817, allocations: 0.9357 MB / 0.6886 GB, free: 87.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004852/1.817, allocations: 48.42 kB / 0.6887 GB, free: 87.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00983/1.827, allocations: 5.64 MB / 0.6942 GB, free: 86.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.827, allocations: 3.406 kB / 0.6942 GB, free: 86.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/1.846, allocations: 9.846 MB / 0.7038 GB, free: 84.98 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002708/1.849, allocations: 0.9129 MB / 0.7047 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.85, allocations: 46.83 kB / 0.7047 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/1.853, allocations: 189.7 kB / 0.7049 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005722/1.853, allocations: 152.2 kB / 0.705 GB, free: 84.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/1.854, allocations: 71.89 kB / 0.7051 GB, free: 84.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005484/1.859, allocations: 2.778 MB / 0.7078 GB, free: 84.68 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.067e-06/1.859, allocations: 0 / 0.7078 GB, free: 84.68 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00749/1.867, allocations: 1.265 MB / 0.7091 GB, free: 84.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00069/1.868, allocations: 194 kB / 0.7092 GB, free: 84.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01329/1.881, allocations: 6.958 MB / 0.716 GB, free: 84.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.703e-06/1.881, allocations: 0 / 0.716 GB, free: 84.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00531/1.886, allocations: 2.697 MB / 0.7187 GB, free: 84.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.889, allocations: 455.8 kB / 0.7191 GB, free: 84.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/1.913, allocations: 10.69 MB / 0.7295 GB, free: 81.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005982/1.919, allocations: 3.896 MB / 0.7333 GB, free: 80.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002276/1.921, allocations: 364.6 kB / 0.7337 GB, free: 80.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.908e-06/1.921, allocations: 0 / 0.7337 GB, free: 80.48 MB / 442.7 MB Notification: Performance of Templates: time 0.1267/2.048, allocations: 89.91 MB / 0.8215 GB, free: 19.58 MB / 442.7 MB