Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.483/2.483, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.067e-05, allocations: 10.09 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.116, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5524, allocations: 107.4 MB / 0.5055 GB, free: 12.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5527, allocations: 71.97 kB / 0.5056 GB, free: 12.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.848/1.401, allocations: 120 MB / 0.6228 GB, free: 108 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.562e-06/1.401, allocations: 5.625 kB / 0.6228 GB, free: 108 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000352/1.401, allocations: 114.1 kB / 0.6229 GB, free: 108 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.0194/1.421, allocations: 5.867 MB / 0.6287 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.421, allocations: 8.625 kB / 0.6287 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03755/1.458, allocations: 6.977 MB / 0.6355 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/1.478, allocations: 6.665 MB / 0.642 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/1.479, allocations: 457.2 kB / 0.6424 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/1.481, allocations: 0.5873 MB / 0.643 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03468/1.516, allocations: 14.85 MB / 0.6575 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/1.516, allocations: 74.77 kB / 0.6576 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001611/1.518, allocations: 281.6 kB / 0.6579 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002075/1.52, allocations: 1.376 MB / 0.6592 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0303/1.55, allocations: 12.29 MB / 0.6712 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07701/1.627, allocations: 60.83 MB / 0.7306 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01944/1.647, allocations: 6.071 MB / 0.7365 GB, free: 52.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005377/1.652, allocations: 3.558 MB / 0.74 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02349/1.676, allocations: 12.87 MB / 0.7526 GB, free: 37.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.676, allocations: 63.62 kB / 0.7526 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 6.46e-06/1.676, allocations: 0 / 0.7526 GB, free: 37.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.09999/1.776, allocations: 23.1 MB / 0.7752 GB, free: 17.76 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.776, allocations: 209.9 kB / 0.7754 GB, free: 17.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0176/1.794, allocations: 4.404 MB / 0.7797 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001081/1.795, allocations: 65.7 kB / 0.7798 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006003/1.801, allocations: 4.032 MB / 0.7837 GB, free: 9.004 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002581/1.803, allocations: 1.009 MB / 0.7847 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/1.805, allocations: 144 kB / 0.7848 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008719/1.806, allocations: 0.6039 MB / 0.7854 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01325/1.819, allocations: 2.954 MB / 0.7883 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.831, allocations: 7.026 MB / 0.7951 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/1.841, allocations: 4.523 MB / 0.7996 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001463/1.841, allocations: 40 kB / 0.7996 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.3926/2.234, allocations: 10.92 MB / 0.8103 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000143/2.234, allocations: 67.31 kB / 0.8103 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002562/2.234, allocations: 145.2 kB / 0.8105 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006355/2.241, allocations: 1.648 MB / 0.8121 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008392/2.249, allocations: 1.663 MB / 0.8137 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/2.27, allocations: 11.33 MB / 0.8248 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007449/2.277, allocations: 429.1 kB / 0.8252 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/2.279, allocations: 438.2 kB / 0.8256 GB, free: 104.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001553/2.281, allocations: 0.6643 MB / 0.8262 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/2.282, allocations: 460.8 kB / 0.8267 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/2.295, allocations: 6.016 MB / 0.8326 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-05/2.295, allocations: 35.06 kB / 0.8326 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-05/2.295, allocations: 10.88 kB / 0.8326 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/2.295, allocations: 10.41 kB / 0.8326 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03087/2.326, allocations: 13.46 MB / 0.8458 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.589e-05/2.326, allocations: 0 / 0.8458 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/2.329, allocations: 455.5 kB / 0.8462 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004607/2.334, allocations: 1.411 MB / 0.8476 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005822/2.334, allocations: 43.66 kB / 0.8476 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/2.351, allocations: 10.59 MB / 0.8579 GB, free: 97.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.34e-06/2.351, allocations: 3 kB / 0.8579 GB, free: 97.92 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/2.37, allocations: 9.797 MB / 0.8675 GB, free: 94.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001476/2.371, allocations: 0.4998 MB / 0.868 GB, free: 94.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/2.373, allocations: 40.44 kB / 0.868 GB, free: 94.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003566/2.376, allocations: 204.9 kB / 0.8682 GB, free: 93.99 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008257/2.377, allocations: 160.8 kB / 0.8684 GB, free: 93.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003708/2.377, allocations: 72.02 kB / 0.8685 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006622/2.384, allocations: 3.077 MB / 0.8715 GB, free: 92.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.204e-06/2.384, allocations: 2.906 kB / 0.8715 GB, free: 92.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008561/2.393, allocations: 1.416 MB / 0.8729 GB, free: 92.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 207 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008707/2.394, allocations: 196 kB / 0.873 GB, free: 92.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01368/2.407, allocations: 7.195 MB / 0.8801 GB, free: 90.31 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/2.407, allocations: 0 / 0.8801 GB, free: 90.31 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006498/2.414, allocations: 3.084 MB / 0.8831 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004097/2.418, allocations: 0.6049 MB / 0.8837 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/2.445, allocations: 11.35 MB / 0.8947 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009229/2.454, allocations: 4.49 MB / 0.8991 GB, free: 83.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008313/2.462, allocations: 2.333 MB / 0.9014 GB, free: 81.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/2.464, allocations: 321 kB / 0.9017 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of SimCode: time 2e-06/2.464, allocations: 4 kB / 0.9017 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.1417/2.606, allocations: 53.32 MB / 0.9538 GB, free: 38.43 MB / 0.5261 GB