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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.438e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5542, allocations: 109.5 MB / 0.5076 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/0.5546, allocations: 83.95 kB / 0.5077 GB, free: 10.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3514/0.906, allocations: 81.99 MB / 0.5878 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.347e-06/0.906, allocations: 4 kB / 0.5878 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002191/0.9062, allocations: 76 kB / 0.5879 GB, free: 7.871 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.01679/0.923, allocations: 4.344 MB / 0.5921 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.9231, allocations: 8.031 kB / 0.5921 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.9355, allocations: 2.19 MB / 0.5943 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/0.9495, allocations: 4.266 MB / 0.5984 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.9499, allocations: 300 kB / 0.5987 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001533/0.9514, allocations: 407.8 kB / 0.5991 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02572/0.9772, allocations: 10.17 MB / 0.609 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001893/0.9774, allocations: 55.47 kB / 0.6091 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009038/0.9783, allocations: 199.9 kB / 0.6093 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3345/1.313, allocations: 0.945 MB / 0.6102 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02397/1.337, allocations: 8.321 MB / 0.6183 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0552/1.392, allocations: 45.89 MB / 0.6631 GB, free: 91.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/1.405, allocations: 3.352 MB / 0.6664 GB, free: 90.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/1.408, allocations: 1.632 MB / 0.668 GB, free: 89.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008182/1.416, allocations: 4.438 MB / 0.6723 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/1.416, allocations: 48.22 kB / 0.6724 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=121): time 5.665e-06/1.416, allocations: 0 / 0.6724 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127): time 0.02788/1.444, allocations: 9.008 MB / 0.6812 GB, free: 83.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/1.444, allocations: 152.8 kB / 0.6813 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006032/1.45, allocations: 3.524 MB / 0.6848 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002478/1.45, allocations: 42.12 kB / 0.6848 GB, free: 81.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002592/1.453, allocations: 3.037 MB / 0.6878 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000846/1.454, allocations: 0.523 MB / 0.6883 GB, free: 79.03 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004962/1.454, allocations: 105.1 kB / 0.6884 GB, free: 78.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005303/1.455, allocations: 0.5391 MB / 0.6889 GB, free: 78.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/1.459, allocations: 1.731 MB / 0.6906 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005033/1.464, allocations: 5.272 MB / 0.6957 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005938/1.47, allocations: 3.013 MB / 0.6987 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.336e-05/1.47, allocations: 36.72 kB / 0.6987 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=715) (initialization): time 0.01641/1.486, allocations: 7.132 MB / 0.7057 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/1.486, allocations: 63.38 kB / 0.7057 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/1.486, allocations: 126.6 kB / 0.7059 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.489, allocations: 0.9067 MB / 0.7068 GB, free: 69.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005215/1.495, allocations: 1.28 MB / 0.708 GB, free: 68.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007471/1.502, allocations: 4.764 MB / 0.7127 GB, free: 66.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005605/1.508, allocations: 309.3 kB / 0.713 GB, free: 66.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.509, allocations: 348.2 kB / 0.7133 GB, free: 66.18 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.001003/1.51, allocations: 0.5381 MB / 0.7138 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007309/1.511, allocations: 329.9 kB / 0.7141 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006295/1.517, allocations: 2.471 MB / 0.7165 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/1.517, allocations: 20.98 kB / 0.7166 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.517, allocations: 6.406 kB / 0.7166 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.517, allocations: 7.344 kB / 0.7166 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/1.532, allocations: 6.414 MB / 0.7228 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.532, allocations: 0 / 0.7228 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.534, allocations: 205.3 kB / 0.723 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002623/1.536, allocations: 0.694 MB / 0.7237 GB, free: 60.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/1.537, allocations: 28.64 kB / 0.7237 GB, free: 60.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008648/1.545, allocations: 4.325 MB / 0.728 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.27e-06/1.545, allocations: 0 / 0.728 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/1.565, allocations: 4.57 MB / 0.7324 GB, free: 52.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.567, allocations: 393.9 kB / 0.7328 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/1.568, allocations: 16 kB / 0.7328 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00384/1.572, allocations: 80.12 kB / 0.7329 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005598/1.572, allocations: 74.09 kB / 0.733 GB, free: 52.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.573, allocations: 35.83 kB / 0.733 GB, free: 52.41 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0151/1.588, allocations: 2.452 MB / 0.7354 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.555e-06/1.588, allocations: 0 / 0.7354 GB, free: 50.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02995/1.618, allocations: 0.8916 MB / 0.7363 GB, free: 49.38 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.0008491/1.619, allocations: 166.1 kB / 0.7364 GB, free: 49.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01111/1.63, allocations: 4.037 MB / 0.7404 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.747e-06/1.63, allocations: 4 kB / 0.7404 GB, free: 45.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/1.632, allocations: 1.153 MB / 0.7415 GB, free: 44.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.634, allocations: 388 kB / 0.7419 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.649, allocations: 6.723 MB / 0.7484 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00482/1.654, allocations: 3.187 MB / 0.7515 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005699/1.66, allocations: 1.727 MB / 0.7532 GB, free: 34.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009044/1.661, allocations: 223 kB / 0.7534 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.809e-06/1.661, allocations: 0 / 0.7534 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1429/1.804, allocations: 30.62 MB / 0.7833 GB, free: 6.211 MB / 0.5105 GB