Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270.1 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-05/6.899e-05, allocations: 11.23 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.551, allocations: 109.5 MB / 0.5076 GB, free: 10.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5513, allocations: 79.95 kB / 0.5077 GB, free: 10.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7824/1.334, allocations: 127.6 MB / 0.6323 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.809e-06/1.334, allocations: 0 / 0.6323 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004257/1.334, allocations: 124.1 kB / 0.6324 GB, free: 108.6 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02154/1.356, allocations: 6.293 MB / 0.6385 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.356, allocations: 8.594 kB / 0.6385 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0407/1.397, allocations: 7.062 MB / 0.6454 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/1.42, allocations: 6.934 MB / 0.6522 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005088/1.421, allocations: 479.8 kB / 0.6526 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002598/1.423, allocations: 0.6205 MB / 0.6533 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03895/1.462, allocations: 15.52 MB / 0.6684 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003336/1.463, allocations: 89.69 kB / 0.6685 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001787/1.464, allocations: 303 kB / 0.6688 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002242/1.467, allocations: 1.417 MB / 0.6702 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0326/1.499, allocations: 12.51 MB / 0.6824 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08013/1.579, allocations: 66.92 MB / 0.7477 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02026/1.6, allocations: 6.317 MB / 0.7539 GB, free: 38.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004953/1.605, allocations: 3.368 MB / 0.7572 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01526/1.62, allocations: 7.972 MB / 0.765 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.62, allocations: 52.12 kB / 0.765 GB, free: 28.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 6.808e-06/1.62, allocations: 7.938 kB / 0.765 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.08488/1.705, allocations: 24.81 MB / 0.7893 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/1.705, allocations: 239.3 kB / 0.7895 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01265/1.718, allocations: 5.636 MB / 0.795 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006012/1.719, allocations: 65.7 kB / 0.7951 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00526/1.724, allocations: 4.425 MB / 0.7994 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.726, allocations: 1.024 MB / 0.8004 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008847/1.726, allocations: 163.9 kB / 0.8005 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007145/1.727, allocations: 0.6368 MB / 0.8012 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007323/1.734, allocations: 3.069 MB / 0.8042 GB, free: 4.273 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3258/2.06, allocations: 7.702 MB / 0.8117 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/2.071, allocations: 4.811 MB / 0.8164 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003401/2.072, allocations: 47.91 kB / 0.8164 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.0313/2.103, allocations: 11.64 MB / 0.8278 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/2.103, allocations: 76.73 kB / 0.8279 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003485/2.104, allocations: 164.9 kB / 0.828 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005692/2.109, allocations: 1.674 MB / 0.8297 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00928/2.119, allocations: 1.855 MB / 0.8315 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/2.137, allocations: 11.36 MB / 0.8426 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009007/2.146, allocations: 465.9 kB / 0.843 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/2.148, allocations: 490.7 kB / 0.8435 GB, free: 104.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (960): * Single equations (assignments): 955 * 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.001891/2.15, allocations: 0.7242 MB / 0.8442 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/2.151, allocations: 0.5381 MB / 0.8447 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/2.165, allocations: 6.02 MB / 0.8506 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-05/2.165, allocations: 30.06 kB / 0.8506 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/2.165, allocations: 14.5 kB / 0.8506 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.424e-05/2.165, allocations: 13.41 kB / 0.8506 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03306/2.199, allocations: 13.61 MB / 0.8639 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/2.199, allocations: 0.6875 kB / 0.8639 GB, free: 99.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/2.202, allocations: 497.1 kB / 0.8644 GB, free: 99.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/2.208, allocations: 1.413 MB / 0.8658 GB, free: 98.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006106/2.208, allocations: 53.58 kB / 0.8658 GB, free: 98.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/2.226, allocations: 10.59 MB / 0.8762 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.973e-06/2.226, allocations: 3.688 kB / 0.8762 GB, free: 93.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01931/2.245, allocations: 10.32 MB / 0.8863 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/2.247, allocations: 0.6183 MB / 0.8869 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001634/2.249, allocations: 47.09 kB / 0.8869 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/2.253, allocations: 187.3 kB / 0.8871 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008093/2.254, allocations: 159.4 kB / 0.8872 GB, free: 88.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/2.254, allocations: 68.3 kB / 0.8873 GB, free: 88.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009241/2.263, allocations: 4.026 MB / 0.8912 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.598e-06/2.263, allocations: 0 / 0.8912 GB, free: 86.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01015/2.273, allocations: 1.507 MB / 0.8927 GB, free: 86.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (211): * Single equations (assignments): 206 * 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.0009002/2.274, allocations: 196.6 kB / 0.8929 GB, free: 86.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01472/2.289, allocations: 7.412 MB / 0.9001 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.582e-06/2.289, allocations: 4 kB / 0.9001 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006516/2.296, allocations: 3.031 MB / 0.9031 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/2.3, allocations: 0.712 MB / 0.9038 GB, free: 82.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/2.328, allocations: 12.07 MB / 0.9156 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01011/2.338, allocations: 4.734 MB / 0.9202 GB, free: 68.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009457/2.347, allocations: 2.642 MB / 0.9228 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/2.349, allocations: 371.5 kB / 0.9231 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.882e-06/2.349, allocations: 0 / 0.9231 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.1493/2.499, allocations: 58.21 MB / 0.98 GB, free: 15.36 MB / 0.5261 GB