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.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.795e-05, allocations: 0 / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 54.86 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.4861, allocations: 102.7 MB / 462.5 MB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4864, allocations: 83.95 kB / 462.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6938/1.18, allocations: 97.2 MB / 0.5466 GB, free: 102.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.702e-06/1.18, allocations: 3.656 kB / 0.5466 GB, free: 102.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000301/1.181, allocations: 102 kB / 0.5467 GB, free: 102.4 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.02168/1.202, allocations: 5.506 MB / 0.5521 GB, free: 100.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/1.202, allocations: 11.09 kB / 0.5521 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/1.216, allocations: 2.32 MB / 0.5544 GB, free: 100 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.231, allocations: 4.956 MB / 0.5592 GB, free: 99.36 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/1.231, allocations: 398.2 kB / 0.5596 GB, free: 99.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002255/1.233, allocations: 0.5081 MB / 0.5601 GB, free: 99.34 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03279/1.266, allocations: 12.8 MB / 0.5726 GB, free: 95.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002934/1.266, allocations: 70.84 kB / 0.5727 GB, free: 94.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.269, allocations: 251 kB / 0.5729 GB, free: 94.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002282/1.271, allocations: 1.209 MB / 0.5741 GB, free: 94.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02838/1.299, allocations: 10.88 MB / 0.5847 GB, free: 91.28 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07379/1.373, allocations: 55.78 MB / 0.6392 GB, free: 44.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01799/1.391, allocations: 5.241 MB / 0.6443 GB, free: 38.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00496/1.396, allocations: 3.279 MB / 0.6475 GB, free: 35.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/1.398, allocations: 1.015 MB / 0.6485 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/1.398, allocations: 59.61 kB / 0.6485 GB, free: 34.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=224): time 7.797e-06/1.398, allocations: 0 / 0.6485 GB, free: 34.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=255): time 0.07309/1.471, allocations: 21.92 MB / 0.6699 GB, free: 12.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/1.471, allocations: 162.5 kB / 0.6701 GB, free: 12.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008856/1.48, allocations: 3.96 MB / 0.674 GB, free: 8.219 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000584/1.481, allocations: 65.7 kB / 0.674 GB, free: 8.148 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002503/1.483, allocations: 3.53 MB / 0.6775 GB, free: 4.617 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.484, allocations: 0.9566 MB / 0.6784 GB, free: 3.668 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006828/1.485, allocations: 136 kB / 0.6785 GB, free: 3.535 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004099/1.485, allocations: 0.5952 MB / 0.6791 GB, free: 2.934 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00575/1.491, allocations: 2.971 MB / 0.682 GB, free: 15.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/1.504, allocations: 6.839 MB / 0.6887 GB, free: 7.188 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01654/1.521, allocations: 4.473 MB / 0.6931 GB, free: 2.715 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/1.521, allocations: 40 kB / 0.6931 GB, free: 2.676 MB / 474.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.04864/1.57, allocations: 10.32 MB / 0.7032 GB, free: 8.344 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002075/1.57, allocations: 64.97 kB / 0.7032 GB, free: 8.281 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003417/1.571, allocations: 140 kB / 0.7034 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007348/1.578, allocations: 1.129 MB / 0.7045 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01623/1.594, allocations: 1.701 MB / 0.7061 GB, free: 5.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.325/1.919, allocations: 5.93 MB / 0.7119 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007331/1.927, allocations: 422.1 kB / 0.7123 GB, free: 116.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001634/1.928, allocations: 426.6 kB / 0.7127 GB, free: 116.2 MB / 490.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.001929/1.93, allocations: 0.6111 MB / 0.7133 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00111/1.931, allocations: 411.8 kB / 0.7137 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/1.945, allocations: 5.575 MB / 0.7192 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-05/1.945, allocations: 29.2 kB / 0.7192 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.056e-05/1.945, allocations: 4.375 kB / 0.7192 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-05/1.945, allocations: 12.88 kB / 0.7192 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0302/1.975, allocations: 12.26 MB / 0.7312 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/1.976, allocations: 3.875 kB / 0.7312 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003943/1.979, allocations: 0.5126 MB / 0.7317 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003431/1.983, allocations: 0.9364 MB / 0.7326 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000635/1.984, allocations: 47.64 kB / 0.7327 GB, free: 115.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009005/1.993, allocations: 5.648 MB / 0.7382 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.427e-06/1.993, allocations: 4.969 kB / 0.7382 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/2.011, allocations: 9.832 MB / 0.7478 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/2.014, allocations: 0.9122 MB / 0.7487 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/2.015, allocations: 44.17 kB / 0.7487 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/2.019, allocations: 197.3 kB / 0.7489 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000779/2.02, allocations: 152.3 kB / 0.749 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003422/2.02, allocations: 70.14 kB / 0.7491 GB, free: 108.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006047/2.026, allocations: 2.775 MB / 0.7518 GB, free: 107.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.09e-06/2.026, allocations: 0 / 0.7518 GB, free: 107.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008088/2.034, allocations: 1.255 MB / 0.7531 GB, free: 107.2 MB / 490.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.0008103/2.035, allocations: 197.2 kB / 0.7532 GB, free: 107.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01367/2.049, allocations: 6.959 MB / 0.76 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/2.049, allocations: 1.312 kB / 0.76 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005441/2.054, allocations: 2.699 MB / 0.7627 GB, free: 104 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/2.058, allocations: 458.7 kB / 0.7631 GB, free: 103.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02316/2.081, allocations: 10.11 MB / 0.773 GB, free: 100.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006844/2.088, allocations: 3.901 MB / 0.7768 GB, free: 98.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008107/2.096, allocations: 2.295 MB / 0.779 GB, free: 98.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002066/2.098, allocations: 311.5 kB / 0.7793 GB, free: 98.77 MB / 490.7 MB Notification: Performance of SimCode: time 1.818e-06/2.098, allocations: 4 kB / 0.7793 GB, free: 98.77 MB / 490.7 MB Notification: Performance of Templates: time 0.1116/2.209, allocations: 46.9 MB / 0.8251 GB, free: 63.27 MB / 490.7 MB