Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.192e-05/5.205e-05, allocations: 5.828 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1737, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.6348, allocations: 106.9 MB / 0.5051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.6351, allocations: 77 kB / 0.5052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8132/1.448, allocations: 132.8 MB / 0.6349 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.055e-06/1.448, allocations: 0 / 0.6349 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004415/1.449, allocations: 128 kB / 0.635 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02053/1.469, allocations: 6.366 MB / 0.6412 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.469, allocations: 9.281 kB / 0.6412 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04816/1.518, allocations: 9.426 MB / 0.6504 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03658/1.554, allocations: 8.106 MB / 0.6584 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008343/1.555, allocations: 489.5 kB / 0.6588 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004025/1.559, allocations: 0.6517 MB / 0.6595 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05397/1.613, allocations: 15.05 MB / 0.6742 GB, free: 99.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003592/1.614, allocations: 100.6 kB / 0.6743 GB, free: 99.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002025/1.616, allocations: 314.8 kB / 0.6746 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00238/1.618, allocations: 1.334 MB / 0.6759 GB, free: 99.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02873/1.647, allocations: 11.61 MB / 0.6872 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07647/1.723, allocations: 67.65 MB / 0.7533 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/1.739, allocations: 5.169 MB / 0.7583 GB, free: 34.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00399/1.743, allocations: 2.568 MB / 0.7608 GB, free: 32.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/1.743, allocations: 40.42 kB / 0.7609 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.743, allocations: 55.28 kB / 0.7609 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 6.163e-06/1.743, allocations: 0 / 0.7609 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.05735/1.801, allocations: 16.81 MB / 0.7773 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/1.801, allocations: 256.5 kB / 0.7776 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01243/1.813, allocations: 5.882 MB / 0.7833 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000381/1.814, allocations: 53.7 kB / 0.7834 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003758/1.817, allocations: 4.7 MB / 0.788 GB, free: 5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009909/1.819, allocations: 0.8206 MB / 0.7888 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000661/1.819, allocations: 152 kB / 0.7889 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004381/1.82, allocations: 0.6326 MB / 0.7895 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.824, allocations: 2.405 MB / 0.7919 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01018/1.835, allocations: 7.279 MB / 0.799 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008899/1.843, allocations: 4.179 MB / 0.8031 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/1.844, allocations: 52 kB / 0.8031 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.3637/2.207, allocations: 9.542 MB / 0.8124 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/2.208, allocations: 84.38 kB / 0.8125 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003313/2.208, allocations: 175.7 kB / 0.8127 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003131/2.211, allocations: 0.8286 MB / 0.8135 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008417/2.22, allocations: 1.766 MB / 0.8152 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/2.232, allocations: 8.453 MB / 0.8235 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008472/2.241, allocations: 423.1 kB / 0.8239 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/2.243, allocations: 489.9 kB / 0.8243 GB, free: 101.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (945): * Single equations (assignments): 939 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001628/2.244, allocations: 0.7246 MB / 0.825 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001266/2.246, allocations: 0.5463 MB / 0.8256 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00847/2.254, allocations: 3.37 MB / 0.8289 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/2.254, allocations: 23.41 kB / 0.8289 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/2.254, allocations: 7.656 kB / 0.8289 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.682e-05/2.254, allocations: 8.906 kB / 0.8289 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02157/2.276, allocations: 9.538 MB / 0.8382 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/2.276, allocations: 0 / 0.8382 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/2.278, allocations: 305.1 kB / 0.8385 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001964/2.28, allocations: 0.5266 MB / 0.839 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/2.28, allocations: 33.86 kB / 0.8391 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/2.291, allocations: 7.575 MB / 0.8465 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/2.291, allocations: 0 / 0.8465 GB, free: 96.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/2.302, allocations: 6.16 MB / 0.8525 GB, free: 95.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/2.304, allocations: 0.6131 MB / 0.8531 GB, free: 94.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001323/2.305, allocations: 27.53 kB / 0.8531 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/2.308, allocations: 110.1 kB / 0.8532 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/2.309, allocations: 126.9 kB / 0.8533 GB, free: 94.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/2.309, allocations: 56.53 kB / 0.8534 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009324/2.318, allocations: 4.174 MB / 0.8574 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.004e-06/2.319, allocations: 0 / 0.8574 GB, free: 93.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009733/2.328, allocations: 1.402 MB / 0.8588 GB, free: 93.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 147 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.000635/2.329, allocations: 175.4 kB / 0.859 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01192/2.341, allocations: 5.908 MB / 0.8648 GB, free: 91.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.181e-06/2.341, allocations: 0 / 0.8648 GB, free: 91.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/2.345, allocations: 1.904 MB / 0.8666 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005052/2.35, allocations: 0.7549 MB / 0.8674 GB, free: 89.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02543/2.375, allocations: 10.94 MB / 0.878 GB, free: 86.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009564/2.385, allocations: 4.788 MB / 0.8827 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00912/2.394, allocations: 2.515 MB / 0.8852 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/2.396, allocations: 351.4 kB / 0.8855 GB, free: 84.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.786e-06/2.396, allocations: 3.938 kB / 0.8855 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.1391/2.535, allocations: 49.75 MB / 0.9341 GB, free: 56.05 MB / 0.5261 GB