Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.345/2.345, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.239e-05, allocations: 0.9375 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3321, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.487, allocations: 99.56 MB / 459.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.4873, allocations: 72.75 kB / 459.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9312/1.419, allocations: 170.1 MB / 0.6148 GB, free: 73.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.337e-06/1.419, allocations: 0 / 0.6148 GB, free: 73.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004977/1.419, allocations: 167.9 kB / 0.6149 GB, free: 73.76 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.02586/1.445, allocations: 8.254 MB / 0.623 GB, free: 65.42 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/1.445, allocations: 8.031 kB / 0.623 GB, free: 65.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06199/1.507, allocations: 12.08 MB / 0.6348 GB, free: 53.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02863/1.536, allocations: 10.95 MB / 0.6455 GB, free: 42.27 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006795/1.536, allocations: 0.6381 MB / 0.6461 GB, free: 41.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003409/1.54, allocations: 0.8549 MB / 0.6469 GB, free: 40.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04716/1.587, allocations: 19.73 MB / 0.6662 GB, free: 19.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004978/1.588, allocations: 115 kB / 0.6663 GB, free: 19.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003046/1.591, allocations: 399.8 kB / 0.6667 GB, free: 19.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003062/1.594, allocations: 1.819 MB / 0.6685 GB, free: 17.19 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03873/1.633, allocations: 15.74 MB / 0.6838 GB, free: 1.422 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7812/2.414, allocations: 82.09 MB / 0.764 GB, free: 31.08 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.027/2.441, allocations: 8.043 MB / 0.7719 GB, free: 30.38 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006685/2.448, allocations: 4.076 MB / 0.7758 GB, free: 30.33 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008311/2.448, allocations: 0.668 MB / 0.7765 GB, free: 29.75 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/2.449, allocations: 72.77 kB / 0.7766 GB, free: 29.71 MB / 474.8 MB Notification: Performance of pre-optimization done (n=311): time 8.36e-06/2.449, allocations: 0 / 0.7766 GB, free: 29.71 MB / 474.8 MB Notification: Performance of matching and sorting (n=335): time 0.09289/2.541, allocations: 26.24 MB / 0.8022 GB, free: 22.25 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/2.542, allocations: 297.1 kB / 0.8025 GB, free: 21.94 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/2.556, allocations: 6.805 MB / 0.8091 GB, free: 19.66 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006417/2.557, allocations: 77.27 kB / 0.8092 GB, free: 19.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004474/2.561, allocations: 5.847 MB / 0.8149 GB, free: 15.21 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/2.563, allocations: 1.277 MB / 0.8161 GB, free: 14.28 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009071/2.564, allocations: 193.4 kB / 0.8163 GB, free: 14.13 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005661/2.564, allocations: 0.7164 MB / 0.817 GB, free: 13.65 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007239/2.571, allocations: 3.436 MB / 0.8204 GB, free: 12.48 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01089/2.582, allocations: 9.055 MB / 0.8292 GB, free: 3.738 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/2.593, allocations: 5.535 MB / 0.8346 GB, free: 1.969 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001543/2.593, allocations: 60.38 kB / 0.8347 GB, free: 1.969 MB / 474.8 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.03222/2.626, allocations: 12.62 MB / 0.847 GB, free: 8.777 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/2.626, allocations: 94.5 kB / 0.8471 GB, free: 8.688 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003089/2.626, allocations: 200 kB / 0.8473 GB, free: 8.492 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/2.63, allocations: 1.05 MB / 0.8483 GB, free: 7.613 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0109/2.641, allocations: 2.25 MB / 0.8505 GB, free: 5.672 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/2.659, allocations: 11.27 MB / 0.8615 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.67, allocations: 0.5225 MB / 0.862 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002247/2.672, allocations: 0.5686 MB / 0.8626 GB, free: 9.895 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1179): * Single equations (assignments): 1172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002899/2.675, allocations: 0.8516 MB / 0.8634 GB, free: 9.043 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00185/2.677, allocations: 0.6749 MB / 0.8641 GB, free: 8.359 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/2.692, allocations: 5.957 MB / 0.8699 GB, free: 3.391 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-05/2.692, allocations: 43.27 kB / 0.8699 GB, free: 3.352 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/2.693, allocations: 8 kB / 0.87 GB, free: 3.344 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/2.693, allocations: 13.36 kB / 0.87 GB, free: 3.344 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04202/2.735, allocations: 15.02 MB / 0.8846 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/2.735, allocations: 3.953 kB / 0.8846 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004093/2.739, allocations: 0.5512 MB / 0.8852 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002928/2.742, allocations: 0.7092 MB / 0.8859 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006152/2.742, allocations: 62.94 kB / 0.8859 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.322/3.064, allocations: 10.11 MB / 0.8958 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.054e-06/3.064, allocations: 1.438 kB / 0.8958 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02123/3.086, allocations: 10.06 MB / 0.9056 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004123/3.09, allocations: 1.191 MB / 0.9068 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/3.092, allocations: 56.53 kB / 0.9068 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00494/3.097, allocations: 196.8 kB / 0.907 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009297/3.098, allocations: 198.7 kB / 0.9072 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003921/3.098, allocations: 84.75 kB / 0.9073 GB, free: 118 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01259/3.111, allocations: 4.846 MB / 0.912 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.561e-06/3.111, allocations: 3.875 kB / 0.912 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01176/3.123, allocations: 1.865 MB / 0.9139 GB, free: 117.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009246/3.124, allocations: 209.6 kB / 0.9141 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01667/3.14, allocations: 8.536 MB / 0.9224 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.634e-06/3.14, allocations: 0 / 0.9224 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005836/3.146, allocations: 3.137 MB / 0.9255 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006319/3.153, allocations: 0.9311 MB / 0.9264 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03442/3.187, allocations: 14.99 MB / 0.941 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01164/3.199, allocations: 6.121 MB / 0.947 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01099/3.21, allocations: 3.097 MB / 0.95 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002381/3.212, allocations: 453 kB / 0.9504 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.219e-06/3.212, allocations: 0 / 0.9504 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.196/3.408, allocations: 68.27 MB / 1.017 GB, free: 67.41 MB / 0.5105 GB