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.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.236e-05, allocations: 7.984 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08552/0.08558, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4232/0.5088, allocations: 95.1 MB / 416.9 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5091, allocations: 85.44 kB / 417 MB, free: 212 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3652/0.8743, allocations: 83.96 MB / 0.4892 GB, free: 3.129 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.639e-06/0.8744, allocations: 4 kB / 0.4892 GB, free: 3.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002527/0.8746, allocations: 80 kB / 0.4893 GB, free: 3.047 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01904/0.8937, allocations: 4.482 MB / 0.4937 GB, free: 14.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.8938, allocations: 11.97 kB / 0.4937 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.9072, allocations: 2.217 MB / 0.4958 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01488/0.9221, allocations: 4.504 MB / 0.5002 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004545/0.9226, allocations: 320.4 kB / 0.5005 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002133/0.9247, allocations: 427.8 kB / 0.5009 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/0.9533, allocations: 10.62 MB / 0.5113 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002129/0.9536, allocations: 55.47 kB / 0.5114 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.9548, allocations: 211.9 kB / 0.5116 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.957, allocations: 0.9987 MB / 0.5125 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02373/0.9807, allocations: 8.727 MB / 0.5211 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3011/1.282, allocations: 47.4 MB / 0.5674 GB, free: 59.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/1.295, allocations: 3.565 MB / 0.5708 GB, free: 58.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/1.298, allocations: 1.789 MB / 0.5726 GB, free: 58.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009246/1.307, allocations: 4.732 MB / 0.5772 GB, free: 57.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/1.307, allocations: 63.12 kB / 0.5773 GB, free: 57.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.42e-06/1.307, allocations: 0 / 0.5773 GB, free: 57.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.02878/1.336, allocations: 9.882 MB / 0.5869 GB, free: 53.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/1.336, allocations: 150.5 kB / 0.5871 GB, free: 53.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007014/1.343, allocations: 3.596 MB / 0.5906 GB, free: 52.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003262/1.343, allocations: 47.98 kB / 0.5906 GB, free: 52.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.346, allocations: 3.139 MB / 0.5937 GB, free: 49.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000749/1.346, allocations: 0.5938 MB / 0.5943 GB, free: 49.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004735/1.347, allocations: 110.2 kB / 0.5944 GB, free: 49.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003466/1.347, allocations: 0.5513 MB / 0.5949 GB, free: 48.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003718/1.351, allocations: 1.887 MB / 0.5967 GB, free: 48.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005951/1.357, allocations: 5.526 MB / 0.6021 GB, free: 42.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00605/1.363, allocations: 3.212 MB / 0.6053 GB, free: 41.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/1.363, allocations: 36.28 kB / 0.6053 GB, free: 41.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01815/1.381, allocations: 7.555 MB / 0.6127 GB, free: 39.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.382, allocations: 60.34 kB / 0.6127 GB, free: 39.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001427/1.382, allocations: 131.3 kB / 0.6129 GB, free: 39.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.385, allocations: 0.9114 MB / 0.6138 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006082/1.391, allocations: 1.351 MB / 0.6151 GB, free: 39.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007752/1.399, allocations: 4.768 MB / 0.6197 GB, free: 36.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005906/1.405, allocations: 315.4 kB / 0.62 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.406, allocations: 363.8 kB / 0.6204 GB, free: 36.48 MB / 426.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.0009849/1.407, allocations: 0.5616 MB / 0.6209 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007621/1.407, allocations: 343.9 kB / 0.6213 GB, free: 35.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006827/1.414, allocations: 2.823 MB / 0.624 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/1.414, allocations: 22.3 kB / 0.624 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.414, allocations: 3.375 kB / 0.624 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/1.414, allocations: 3.562 kB / 0.624 GB, free: 34.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01655/1.431, allocations: 7.099 MB / 0.631 GB, free: 32.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.431, allocations: 3.75 kB / 0.631 GB, free: 32.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.433, allocations: 253 kB / 0.6312 GB, free: 32.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/1.436, allocations: 0.6989 MB / 0.6319 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003216/1.436, allocations: 31.66 kB / 0.6319 GB, free: 31.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/1.442, allocations: 4.344 MB / 0.6362 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.442, allocations: 0 / 0.6362 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009388/1.452, allocations: 5.132 MB / 0.6412 GB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001897/1.454, allocations: 0.6191 MB / 0.6418 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008767/1.455, allocations: 20 kB / 0.6418 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002137/1.457, allocations: 93.8 kB / 0.6419 GB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003804/1.457, allocations: 83.45 kB / 0.642 GB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.457, allocations: 41.69 kB / 0.642 GB, free: 22.76 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005027/1.462, allocations: 2.509 MB / 0.6445 GB, free: 20.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.151e-06/1.463, allocations: 4 kB / 0.6445 GB, free: 20.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006426/1.469, allocations: 0.9452 MB / 0.6454 GB, free: 19.58 MB / 426.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.0005563/1.47, allocations: 163.2 kB / 0.6456 GB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008276/1.478, allocations: 4.416 MB / 0.6499 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.263e-06/1.478, allocations: 0 / 0.6499 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.48, allocations: 1.329 MB / 0.6512 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/1.483, allocations: 396.2 kB / 0.6515 GB, free: 13.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.5, allocations: 7.176 MB / 0.6586 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005947/1.506, allocations: 3.319 MB / 0.6618 GB, free: 4.973 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006278/1.512, allocations: 1.821 MB / 0.6636 GB, free: 3.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.513, allocations: 230.1 kB / 0.6638 GB, free: 3.605 MB / 426.7 MB Notification: Performance of SimCode: time 1.871e-06/1.513, allocations: 7.656 kB / 0.6638 GB, free: 3.602 MB / 426.7 MB Notification: Performance of Templates: time 0.3414/1.855, allocations: 32.16 MB / 0.6952 GB, free: 97.56 MB / 442.7 MB