Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.462e-05, allocations: 4 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3248, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.516, allocations: 101.9 MB / 461.7 MB, free: 11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004121/0.5165, allocations: 84.7 kB / 461.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5839/1.1, allocations: 83.97 MB / 0.533 GB, free: 102.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.875e-06/1.1, allocations: 0 / 0.533 GB, free: 102.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002469/1.101, allocations: 86.31 kB / 0.533 GB, free: 102.9 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01829/1.119, allocations: 4.489 MB / 0.5374 GB, free: 101.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/1.119, allocations: 8.594 kB / 0.5374 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/1.132, allocations: 2.215 MB / 0.5396 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.146, allocations: 4.511 MB / 0.544 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/1.146, allocations: 319.8 kB / 0.5443 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002079/1.149, allocations: 425.9 kB / 0.5447 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02659/1.175, allocations: 10.62 MB / 0.5551 GB, free: 97.63 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/1.175, allocations: 57.22 kB / 0.5551 GB, free: 97.63 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/1.177, allocations: 209.2 kB / 0.5553 GB, free: 97.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/1.179, allocations: 1.009 MB / 0.5563 GB, free: 97.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02179/1.2, allocations: 8.727 MB / 0.5648 GB, free: 96.38 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05731/1.258, allocations: 47.4 MB / 0.6111 GB, free: 60.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/1.27, allocations: 3.559 MB / 0.6146 GB, free: 59.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/1.273, allocations: 1.798 MB / 0.6164 GB, free: 58.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009165/1.283, allocations: 4.752 MB / 0.621 GB, free: 55.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.283, allocations: 50.66 kB / 0.6211 GB, free: 55.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 5.668e-06/1.283, allocations: 0 / 0.6211 GB, free: 55.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.02927/1.312, allocations: 9.883 MB / 0.6307 GB, free: 48.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.312, allocations: 141.3 kB / 0.6308 GB, free: 48.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006717/1.319, allocations: 3.597 MB / 0.6344 GB, free: 44.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002998/1.319, allocations: 45.7 kB / 0.6344 GB, free: 44.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/1.321, allocations: 3.139 MB / 0.6375 GB, free: 42.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007513/1.322, allocations: 0.5897 MB / 0.638 GB, free: 41.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/1.323, allocations: 116 kB / 0.6382 GB, free: 41.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003402/1.323, allocations: 0.5464 MB / 0.6387 GB, free: 40.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/1.327, allocations: 1.89 MB / 0.6405 GB, free: 39.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005772/1.332, allocations: 5.525 MB / 0.6459 GB, free: 32.12 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005713/1.338, allocations: 3.211 MB / 0.6491 GB, free: 29.37 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.809e-05/1.338, allocations: 39.94 kB / 0.6491 GB, free: 29.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01721/1.355, allocations: 7.549 MB / 0.6565 GB, free: 22.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.59e-05/1.356, allocations: 64 kB / 0.6565 GB, free: 22.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000136/1.356, allocations: 128 kB / 0.6567 GB, free: 22.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.359, allocations: 0.9145 MB / 0.6575 GB, free: 21.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005854/1.365, allocations: 1.345 MB / 0.6589 GB, free: 20.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007127/1.372, allocations: 4.774 MB / 0.6635 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005749/1.377, allocations: 315.7 kB / 0.6638 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.379, allocations: 368 kB / 0.6642 GB, free: 14.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (711): * Single equations (assignments): 707 * 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.0009359/1.38, allocations: 0.5599 MB / 0.6647 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007295/1.38, allocations: 343.5 kB / 0.665 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006283/1.387, allocations: 2.823 MB / 0.6678 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/1.387, allocations: 16 kB / 0.6678 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.387, allocations: 4 kB / 0.6678 GB, free: 11.22 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/1.387, allocations: 7.984 kB / 0.6678 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/1.403, allocations: 7.093 MB / 0.6748 GB, free: 4.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/1.403, allocations: 4 kB / 0.6748 GB, free: 4.082 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.405, allocations: 247.6 kB / 0.675 GB, free: 3.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/1.407, allocations: 0.6991 MB / 0.6757 GB, free: 3.137 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/1.407, allocations: 35.73 kB / 0.6757 GB, free: 3.105 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006952/1.414, allocations: 4.327 MB / 0.6799 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.498e-06/1.414, allocations: 4.031 kB / 0.6799 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/1.426, allocations: 5.135 MB / 0.685 GB, free: 9.453 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.428, allocations: 0.6098 MB / 0.6856 GB, free: 8.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008488/1.429, allocations: 31.66 kB / 0.6856 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.431, allocations: 91.88 kB / 0.6857 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003712/1.431, allocations: 84.81 kB / 0.6858 GB, free: 8.621 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.431, allocations: 36 kB / 0.6858 GB, free: 8.586 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0062/1.438, allocations: 2.504 MB / 0.6882 GB, free: 6.062 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.088e-06/1.438, allocations: 0 / 0.6882 GB, free: 6.062 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006968/1.445, allocations: 0.9454 MB / 0.6892 GB, free: 5.117 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006595/1.445, allocations: 158.7 kB / 0.6893 GB, free: 4.957 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.456, allocations: 4.42 MB / 0.6936 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.898e-06/1.456, allocations: 4.312 kB / 0.6936 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.459, allocations: 1.339 MB / 0.6949 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/1.461, allocations: 401.9 kB / 0.6953 GB, free: 14.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.481, allocations: 7.166 MB / 0.7023 GB, free: 7.633 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007413/1.489, allocations: 3.317 MB / 0.7056 GB, free: 4.305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007007/1.496, allocations: 1.824 MB / 0.7073 GB, free: 2.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.497, allocations: 235.4 kB / 0.7076 GB, free: 2.254 MB / 490.7 MB Notification: Performance of SimCode: time 1.903e-06/1.497, allocations: 0 / 0.7076 GB, free: 2.254 MB / 490.7 MB Notification: Performance of Templates: time 0.367/1.864, allocations: 32.16 MB / 0.739 GB, free: 116.5 MB / 490.7 MB