Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.3e-05, allocations: 8 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.5965, allocations: 107.9 MB / 0.5061 GB, free: 12.15 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.5968, allocations: 79.95 kB / 0.5061 GB, free: 12.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8212/1.418, allocations: 122 MB / 0.6253 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.729e-06/1.418, allocations: 1.781 kB / 0.6253 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003746/1.418, allocations: 122.1 kB / 0.6254 GB, free: 107.9 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.0195/1.438, allocations: 5.924 MB / 0.6312 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.438, allocations: 8.969 kB / 0.6312 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03618/1.474, allocations: 7.01 MB / 0.638 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/1.494, allocations: 6.651 MB / 0.6445 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004597/1.494, allocations: 459.8 kB / 0.645 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002282/1.497, allocations: 0.61 MB / 0.6456 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03475/1.531, allocations: 15.03 MB / 0.6602 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000328/1.532, allocations: 85.97 kB / 0.6603 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001823/1.534, allocations: 292 kB / 0.6606 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002017/1.536, allocations: 1.354 MB / 0.6619 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/1.569, allocations: 12.14 MB / 0.6738 GB, free: 99.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07658/1.646, allocations: 64.8 MB / 0.7371 GB, free: 51.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02692/1.673, allocations: 7.052 MB / 0.7439 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008871/1.682, allocations: 3.303 MB / 0.7472 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.682, allocations: 46.92 kB / 0.7472 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.201e-05/1.682, allocations: 63.77 kB / 0.7473 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 1.295e-05/1.682, allocations: 0 / 0.7473 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.1286/1.811, allocations: 25.39 MB / 0.7721 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/1.811, allocations: 201.9 kB / 0.7723 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01609/1.827, allocations: 5.329 MB / 0.7775 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005846/1.828, allocations: 69.64 kB / 0.7775 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003282/1.831, allocations: 4.209 MB / 0.7816 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.832, allocations: 0.9897 MB / 0.7826 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007292/1.833, allocations: 152 kB / 0.7828 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004386/1.834, allocations: 0.6244 MB / 0.7834 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006046/1.84, allocations: 3.131 MB / 0.7864 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009588/1.849, allocations: 7.554 MB / 0.7938 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.86, allocations: 4.828 MB / 0.7985 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001348/1.86, allocations: 44 kB / 0.7986 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.3589/2.219, allocations: 11.56 MB / 0.8098 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/2.219, allocations: 71.28 kB / 0.8099 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000294/2.219, allocations: 161 kB / 0.8101 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005989/2.225, allocations: 1.664 MB / 0.8117 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009099/2.234, allocations: 1.822 MB / 0.8135 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02603/2.26, allocations: 11.35 MB / 0.8245 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008203/2.269, allocations: 467.6 kB / 0.825 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/2.27, allocations: 462.9 kB / 0.8254 GB, free: 103.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 62 (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 (918): * Single equations (assignments): 913 * 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.001747/2.272, allocations: 0.6993 MB / 0.8261 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/2.273, allocations: 0.5082 MB / 0.8266 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01338/2.287, allocations: 6.159 MB / 0.8326 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-05/2.287, allocations: 26.69 kB / 0.8327 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.15e-05/2.287, allocations: 12.67 kB / 0.8327 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.643e-05/2.287, allocations: 10.69 kB / 0.8327 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/2.316, allocations: 13.69 MB / 0.8461 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-05/2.316, allocations: 0 / 0.8461 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003248/2.32, allocations: 499.3 kB / 0.8465 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004522/2.324, allocations: 1.415 MB / 0.8479 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004662/2.325, allocations: 49.45 kB / 0.848 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01695/2.342, allocations: 10.59 MB / 0.8583 GB, free: 96.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.809e-06/2.342, allocations: 0 / 0.8583 GB, free: 96.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/2.361, allocations: 10.14 MB / 0.8682 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002707/2.363, allocations: 0.5853 MB / 0.8688 GB, free: 92.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002158/2.366, allocations: 42.38 kB / 0.8688 GB, free: 92.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005805/2.371, allocations: 218.8 kB / 0.869 GB, free: 92.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008666/2.372, allocations: 150.7 kB / 0.8692 GB, free: 92.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005305/2.373, allocations: 70 kB / 0.8692 GB, free: 92.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0122/2.385, allocations: 3.773 MB / 0.8729 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.188e-06/2.385, allocations: 7.062 kB / 0.8729 GB, free: 91.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01418/2.399, allocations: 1.469 MB / 0.8744 GB, free: 91.07 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 (202): * Single equations (assignments): 197 * 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.0006476/2.4, allocations: 191.7 kB / 0.8745 GB, free: 90.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0137/2.414, allocations: 7.549 MB / 0.8819 GB, free: 88.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.574e-06/2.414, allocations: 11.7 kB / 0.8819 GB, free: 88.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00644/2.42, allocations: 3.131 MB / 0.885 GB, free: 87.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/2.425, allocations: 0.6566 MB / 0.8856 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/2.45, allocations: 11.7 MB / 0.897 GB, free: 82.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00815/2.459, allocations: 4.547 MB / 0.9015 GB, free: 79.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008567/2.467, allocations: 2.587 MB / 0.904 GB, free: 78.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/2.469, allocations: 353.4 kB / 0.9043 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.811e-06/2.469, allocations: 0 / 0.9043 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.1395/2.609, allocations: 56.69 MB / 0.9597 GB, free: 31.05 MB / 0.5261 GB