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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 270 MB / 283.6 MB, free: 3.031 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.263e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.5753, allocations: 109.5 MB / 0.5076 GB, free: 10.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.5756, allocations: 83.95 kB / 0.5077 GB, free: 10.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3618/0.9375, allocations: 81.98 MB / 0.5878 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.558e-06/0.9375, allocations: 0 / 0.5878 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002461/0.9378, allocations: 76 kB / 0.5878 GB, free: 7.902 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01802/0.9558, allocations: 4.348 MB / 0.5921 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.9559, allocations: 12.03 kB / 0.5921 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01287/0.9688, allocations: 2.178 MB / 0.5942 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/0.9876, allocations: 4.278 MB / 0.5984 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004411/0.988, allocations: 308 kB / 0.5987 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001845/0.9899, allocations: 399.8 kB / 0.5991 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03255/1.022, allocations: 10.17 MB / 0.609 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002109/1.023, allocations: 59.45 kB / 0.6091 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/1.024, allocations: 191.9 kB / 0.6093 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3637/1.388, allocations: 0.9475 MB / 0.6102 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/1.412, allocations: 8.316 MB / 0.6183 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05595/1.468, allocations: 45.9 MB / 0.6631 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/1.48, allocations: 3.343 MB / 0.6664 GB, free: 91.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/1.483, allocations: 1.633 MB / 0.668 GB, free: 90.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008547/1.492, allocations: 4.436 MB / 0.6723 GB, free: 87.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.492, allocations: 46.12 kB / 0.6724 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 5.366e-06/1.492, allocations: 0 / 0.6724 GB, free: 87.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.02786/1.52, allocations: 9.011 MB / 0.6812 GB, free: 84.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.52, allocations: 145.8 kB / 0.6813 GB, free: 83.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00681/1.527, allocations: 3.529 MB / 0.6847 GB, free: 82.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002658/1.527, allocations: 48.16 kB / 0.6848 GB, free: 82.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002087/1.529, allocations: 3.029 MB / 0.6877 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/1.53, allocations: 0.5259 MB / 0.6883 GB, free: 79.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004615/1.53, allocations: 108.4 kB / 0.6884 GB, free: 79.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003634/1.53, allocations: 0.5369 MB / 0.6889 GB, free: 79.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/1.534, allocations: 1.724 MB / 0.6906 GB, free: 78.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005574/1.539, allocations: 5.283 MB / 0.6957 GB, free: 73.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005403/1.545, allocations: 3.004 MB / 0.6987 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.743e-05/1.545, allocations: 36.16 kB / 0.6987 GB, free: 72.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01695/1.562, allocations: 7.131 MB / 0.7057 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.562, allocations: 64.41 kB / 0.7057 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001316/1.562, allocations: 134.5 kB / 0.7059 GB, free: 70.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/1.565, allocations: 0.9109 MB / 0.7067 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005513/1.571, allocations: 1.276 MB / 0.708 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007396/1.578, allocations: 4.761 MB / 0.7126 GB, free: 67.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005344/1.584, allocations: 301.3 kB / 0.7129 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.585, allocations: 357.1 kB / 0.7133 GB, free: 67.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 584 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (676): * Single equations (assignments): 672 * 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.001033/1.586, allocations: 0.5325 MB / 0.7138 GB, free: 66.66 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007072/1.586, allocations: 330.3 kB / 0.7141 GB, free: 66.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005944/1.592, allocations: 2.474 MB / 0.7165 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/1.592, allocations: 17.77 kB / 0.7165 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.593, allocations: 3.156 kB / 0.7165 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/1.593, allocations: 8.594 kB / 0.7165 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.607, allocations: 6.418 MB / 0.7228 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.607, allocations: 0 / 0.7228 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.609, allocations: 204.1 kB / 0.723 GB, free: 62.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002622/1.611, allocations: 0.698 MB / 0.7237 GB, free: 61.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002219/1.612, allocations: 20.78 kB / 0.7237 GB, free: 61.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006437/1.618, allocations: 4.338 MB / 0.7279 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.618, allocations: 0 / 0.7279 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008055/1.626, allocations: 4.561 MB / 0.7324 GB, free: 53.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.627, allocations: 393.2 kB / 0.7328 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006217/1.628, allocations: 23.94 kB / 0.7328 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.63, allocations: 81.92 kB / 0.7329 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/1.63, allocations: 73.05 kB / 0.7329 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/1.63, allocations: 37.3 kB / 0.733 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004561/1.635, allocations: 2.446 MB / 0.7354 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.27e-07/1.635, allocations: 2.719 kB / 0.7354 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005943/1.641, allocations: 0.9032 MB / 0.7363 GB, free: 50.29 MB / 0.5105 GB 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 (95): * Single equations (assignments): 91 * 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.0004994/1.641, allocations: 154.3 kB / 0.7364 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007415/1.649, allocations: 4.036 MB / 0.7403 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.509e-06/1.649, allocations: 0 / 0.7403 GB, free: 46.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/1.651, allocations: 1.156 MB / 0.7415 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.653, allocations: 391.7 kB / 0.7418 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.667, allocations: 6.709 MB / 0.7484 GB, free: 39.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004097/1.671, allocations: 3.185 MB / 0.7515 GB, free: 36.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005624/1.677, allocations: 1.736 MB / 0.7532 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.677, allocations: 219 kB / 0.7534 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/1.677, allocations: 0 / 0.7534 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of Templates: time 0.1197/1.797, allocations: 30.62 MB / 0.7833 GB, free: 7.062 MB / 0.5105 GB