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_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.114e-05, allocations: 3.984 kB / 273.1 MB, free: 3.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08627, allocations: 48.7 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4594, allocations: 95.86 MB / 417.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.4597, allocations: 83.27 kB / 417.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.44/0.8997, allocations: 97.19 MB / 0.5029 GB, free: 5.102 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.62e-06/0.8997, allocations: 0 / 0.5029 GB, free: 5.102 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003053/0.9, allocations: 100 kB / 0.503 GB, free: 5.004 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.02284/0.9229, allocations: 5.506 MB / 0.5083 GB, free: 15.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.923, allocations: 12.03 kB / 0.5083 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.9368, allocations: 2.317 MB / 0.5106 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/0.9533, allocations: 4.964 MB / 0.5155 GB, free: 8.062 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/0.9539, allocations: 394.3 kB / 0.5158 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/0.9563, allocations: 0.5076 MB / 0.5163 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3367/1.293, allocations: 12.8 MB / 0.5288 GB, free: 78.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002649/1.293, allocations: 61.09 kB / 0.5289 GB, free: 78.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/1.295, allocations: 247.7 kB / 0.5291 GB, free: 78.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002088/1.297, allocations: 1.215 MB / 0.5303 GB, free: 78.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02874/1.326, allocations: 10.87 MB / 0.5409 GB, free: 78.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07228/1.398, allocations: 55.77 MB / 0.5954 GB, free: 45.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/1.417, allocations: 5.244 MB / 0.6005 GB, free: 43.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/1.422, allocations: 3.286 MB / 0.6037 GB, free: 42.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/1.424, allocations: 1.012 MB / 0.6047 GB, free: 41.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/1.424, allocations: 59.5 kB / 0.6048 GB, free: 41.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.632e-06/1.424, allocations: 3.172 kB / 0.6048 GB, free: 41.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.07241/1.496, allocations: 21.93 MB / 0.6262 GB, free: 33.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/1.497, allocations: 162 kB / 0.6263 GB, free: 33.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007308/1.504, allocations: 3.975 MB / 0.6302 GB, free: 32.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005762/1.504, allocations: 64.2 kB / 0.6303 GB, free: 32.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002343/1.507, allocations: 3.533 MB / 0.6337 GB, free: 29.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00118/1.508, allocations: 0.9561 MB / 0.6347 GB, free: 29.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006027/1.509, allocations: 135.4 kB / 0.6348 GB, free: 28.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003984/1.509, allocations: 0.5943 MB / 0.6354 GB, free: 28.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005526/1.515, allocations: 2.967 MB / 0.6383 GB, free: 26.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007658/1.522, allocations: 6.834 MB / 0.6449 GB, free: 18.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007924/1.53, allocations: 4.476 MB / 0.6493 GB, free: 14.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.604e-05/1.53, allocations: 40 kB / 0.6494 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.02287/1.553, allocations: 10.33 MB / 0.6594 GB, free: 5.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/1.553, allocations: 64 kB / 0.6595 GB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/1.554, allocations: 140 kB / 0.6596 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003386/1.557, allocations: 1.137 MB / 0.6607 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007725/1.565, allocations: 1.704 MB / 0.6624 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00964/1.574, allocations: 5.917 MB / 0.6682 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/1.582, allocations: 427 kB / 0.6686 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.583, allocations: 430 kB / 0.669 GB, free: 13.17 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.001509/1.585, allocations: 0.614 MB / 0.6696 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.586, allocations: 410.7 kB / 0.67 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.599, allocations: 5.579 MB / 0.6754 GB, free: 7.656 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.484e-05/1.599, allocations: 31.95 kB / 0.6755 GB, free: 7.625 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.599, allocations: 4 kB / 0.6755 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/1.599, allocations: 10.69 kB / 0.6755 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3314/1.931, allocations: 12.26 MB / 0.6875 GB, free: 87.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.931, allocations: 3.531 kB / 0.6875 GB, free: 87.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003828/1.935, allocations: 0.52 MB / 0.688 GB, free: 87.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00343/1.938, allocations: 0.9349 MB / 0.6889 GB, free: 87.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005711/1.939, allocations: 46.47 kB / 0.6889 GB, free: 87.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00968/1.948, allocations: 5.64 MB / 0.6944 GB, free: 86.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.321e-06/1.949, allocations: 6.812 kB / 0.6944 GB, free: 86.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01921/1.968, allocations: 9.841 MB / 0.7041 GB, free: 85.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/1.971, allocations: 0.9167 MB / 0.7049 GB, free: 85.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.972, allocations: 43.73 kB / 0.705 GB, free: 85.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/1.975, allocations: 190.5 kB / 0.7052 GB, free: 85.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006648/1.976, allocations: 150.4 kB / 0.7053 GB, free: 85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/1.976, allocations: 69.97 kB / 0.7054 GB, free: 85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005854/1.982, allocations: 2.779 MB / 0.7081 GB, free: 84.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.096e-06/1.982, allocations: 0 / 0.7081 GB, free: 84.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007653/1.99, allocations: 1.264 MB / 0.7093 GB, free: 84.8 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.0007827/1.991, allocations: 197.1 kB / 0.7095 GB, free: 84.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01312/2.004, allocations: 6.949 MB / 0.7163 GB, free: 84.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.275e-06/2.004, allocations: 3.656 kB / 0.7163 GB, free: 84.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005299/2.009, allocations: 2.701 MB / 0.7189 GB, free: 84.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003338/2.013, allocations: 456.3 kB / 0.7194 GB, free: 84.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/2.036, allocations: 10.13 MB / 0.7293 GB, free: 82.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00756/2.044, allocations: 3.899 MB / 0.7331 GB, free: 80.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.007891/2.052, allocations: 2.296 MB / 0.7353 GB, free: 80.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002073/2.054, allocations: 309.5 kB / 0.7356 GB, free: 80.71 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/2.054, allocations: 0 / 0.7356 GB, free: 80.71 MB / 442.7 MB Notification: Performance of Templates: time 0.1164/2.17, allocations: 46.89 MB / 0.7814 GB, free: 60.18 MB / 442.7 MB