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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.595/2.595, allocations: 270 MB / 283.6 MB, free: 1.742 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.422e-05, allocations: 8 kB / 348.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3723, allocations: 61.87 MB / 410.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.5362, allocations: 106.9 MB / 0.505 GB, free: 15.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5365, allocations: 71.97 kB / 0.5051 GB, free: 15.57 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8112/1.348, allocations: 156.2 MB / 0.6576 GB, free: 14.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.603e-06/1.348, allocations: 4 kB / 0.6576 GB, free: 14.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005603/1.348, allocations: 152 kB / 0.6578 GB, free: 14.33 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.02728/1.376, allocations: 7.624 MB / 0.6652 GB, free: 6.629 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.376, allocations: 16.03 kB / 0.6652 GB, free: 6.613 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06538/1.441, allocations: 11.94 MB / 0.6769 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03273/1.474, allocations: 9.976 MB / 0.6866 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008977/1.475, allocations: 0.5736 MB / 0.6872 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003572/1.478, allocations: 0.7653 MB / 0.6879 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05395/1.532, allocations: 17.88 MB / 0.7054 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000586/1.533, allocations: 107 kB / 0.7055 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003076/1.536, allocations: 363.8 kB / 0.7058 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003407/1.54, allocations: 1.571 MB / 0.7074 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6898/2.229, allocations: 14.1 MB / 0.7211 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0987/2.328, allocations: 75.46 MB / 0.7948 GB, free: 42.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02491/2.353, allocations: 7.244 MB / 0.8019 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005424/2.359, allocations: 3.449 MB / 0.8053 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007797/2.359, allocations: 0.6533 MB / 0.8059 GB, free: 39.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/2.359, allocations: 66.5 kB / 0.806 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 7.735e-06/2.36, allocations: 0 / 0.806 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=255): time 0.08952/2.449, allocations: 22.72 MB / 0.8282 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/2.449, allocations: 290 kB / 0.8284 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/2.465, allocations: 6.453 MB / 0.8347 GB, free: 28.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004958/2.465, allocations: 65.11 kB / 0.8348 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004431/2.47, allocations: 5.37 MB / 0.8401 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001322/2.471, allocations: 0.9958 MB / 0.841 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/2.472, allocations: 170 kB / 0.8412 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000584/2.472, allocations: 0.6658 MB / 0.8418 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006231/2.479, allocations: 2.795 MB / 0.8446 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009361/2.488, allocations: 7.989 MB / 0.8524 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009178/2.497, allocations: 4.712 MB / 0.857 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000175/2.497, allocations: 52 kB / 0.857 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.02579/2.523, allocations: 10.88 MB / 0.8676 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/2.523, allocations: 84.94 kB / 0.8677 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000218/2.524, allocations: 188 kB / 0.8679 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003315/2.527, allocations: 1.029 MB / 0.8689 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008936/2.536, allocations: 1.954 MB / 0.8708 GB, free: 14.97 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/2.555, allocations: 11.24 MB / 0.8818 GB, free: 4.27 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008936/2.564, allocations: 461.9 kB / 0.8822 GB, free: 3.859 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001813/2.565, allocations: 0.51 MB / 0.8827 GB, free: 3.359 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1030): * Single equations (assignments): 1023 * 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.001878/2.567, allocations: 0.7789 MB / 0.8835 GB, free: 2.582 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/2.569, allocations: 0.6209 MB / 0.8841 GB, free: 1.953 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/2.58, allocations: 4.488 MB / 0.8885 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-05/2.58, allocations: 31.52 kB / 0.8885 GB, free: 14.23 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.762e-05/2.58, allocations: 8 kB / 0.8885 GB, free: 14.22 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-05/2.581, allocations: 14.64 kB / 0.8885 GB, free: 14.21 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03392/2.614, allocations: 12.27 MB / 0.9005 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/2.615, allocations: 0 / 0.9005 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002816/2.617, allocations: 401 kB / 0.9009 GB, free: 3.945 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002945/2.62, allocations: 0.6957 MB / 0.9016 GB, free: 3.41 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00041/2.621, allocations: 43.47 kB / 0.9016 GB, free: 3.371 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/2.637, allocations: 10.12 MB / 0.9115 GB, free: 9.625 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/2.637, allocations: 4.062 kB / 0.9115 GB, free: 9.621 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/2.654, allocations: 7.758 MB / 0.9191 GB, free: 2.684 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/2.657, allocations: 0.6777 MB / 0.9197 GB, free: 2.012 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/2.659, allocations: 40 kB / 0.9198 GB, free: 1.973 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/2.663, allocations: 144.9 kB / 0.9199 GB, free: 1.875 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007243/2.664, allocations: 144.9 kB / 0.9201 GB, free: 1.789 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002778/2.664, allocations: 75.81 kB / 0.9201 GB, free: 1.719 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.3642/3.028, allocations: 5.167 MB / 0.9252 GB, free: 122.5 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.056e-06/3.028, allocations: 3.25 kB / 0.9252 GB, free: 122.5 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01148/3.04, allocations: 1.64 MB / 0.9268 GB, free: 122.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (195): * Single equations (assignments): 188 * 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.0007695/3.04, allocations: 191.6 kB / 0.927 GB, free: 122.5 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01563/3.056, allocations: 7.034 MB / 0.9338 GB, free: 122 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.885e-06/3.056, allocations: 0 / 0.9338 GB, free: 122 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.00461/3.061, allocations: 2.481 MB / 0.9363 GB, free: 121.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006341/3.067, allocations: 0.909 MB / 0.9371 GB, free: 121.5 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.033/3.1, allocations: 13.08 MB / 0.9499 GB, free: 118.9 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01715/3.117, allocations: 5.571 MB / 0.9554 GB, free: 118.1 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01553/3.133, allocations: 2.732 MB / 0.958 GB, free: 118 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002849/3.136, allocations: 406.5 kB / 0.9584 GB, free: 118 MB / 0.5574 GB Notification: Performance of SimCode: time 2.583e-06/3.136, allocations: 0 / 0.9584 GB, free: 118 MB / 0.5574 GB Notification: Performance of Templates: time 0.182/3.318, allocations: 60.75 MB / 1.018 GB, free: 104 MB / 0.5574 GB