Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque,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.Torque") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.397e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5509, allocations: 108.9 MB / 0.507 GB, free: 11.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5512, allocations: 79.95 kB / 0.5071 GB, free: 11.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.864/1.415, allocations: 125.9 MB / 0.63 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.986e-06/1.415, allocations: 0 / 0.63 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004149/1.416, allocations: 129.3 kB / 0.6301 GB, free: 108.2 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.0214/1.437, allocations: 6.355 MB / 0.6363 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.437, allocations: 8.406 kB / 0.6363 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03766/1.475, allocations: 7.066 MB / 0.6432 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02073/1.496, allocations: 6.957 MB / 0.65 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005211/1.496, allocations: 485.2 kB / 0.6505 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/1.499, allocations: 0.6217 MB / 0.6511 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03746/1.536, allocations: 15.09 MB / 0.6659 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00035/1.537, allocations: 88.2 kB / 0.6659 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001999/1.539, allocations: 309.7 kB / 0.6662 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002445/1.541, allocations: 1.425 MB / 0.6676 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03074/1.572, allocations: 11.85 MB / 0.6792 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0815/1.654, allocations: 69.89 MB / 0.7475 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.672, allocations: 6.076 MB / 0.7534 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005188/1.677, allocations: 3.371 MB / 0.7567 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.693, allocations: 8.315 MB / 0.7648 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.693, allocations: 64.17 kB / 0.7649 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 6.962e-06/1.693, allocations: 0 / 0.7649 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=278): time 0.08043/1.774, allocations: 24.33 MB / 0.7886 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/1.774, allocations: 239.6 kB / 0.7888 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01344/1.787, allocations: 5.903 MB / 0.7946 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006326/1.788, allocations: 69.61 kB / 0.7947 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005485/1.794, allocations: 4.577 MB / 0.7991 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001831/1.795, allocations: 1.061 MB / 0.8002 GB, free: 8.336 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001093/1.797, allocations: 168 kB / 0.8003 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008617/1.798, allocations: 0.6733 MB / 0.801 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007876/1.805, allocations: 3.172 MB / 0.8041 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3257/2.131, allocations: 8.197 MB / 0.8121 GB, free: 108 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/2.143, allocations: 5.066 MB / 0.817 GB, free: 108 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003908/2.143, allocations: 50.72 kB / 0.8171 GB, free: 108 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.0328/2.176, allocations: 12.16 MB / 0.829 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002411/2.176, allocations: 81.22 kB / 0.829 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003502/2.177, allocations: 180.2 kB / 0.8292 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/2.182, allocations: 1.692 MB / 0.8309 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008887/2.191, allocations: 1.987 MB / 0.8328 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02531/2.217, allocations: 11.33 MB / 0.8439 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/2.233, allocations: 0.4926 MB / 0.8444 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002829/2.235, allocations: 0.5125 MB / 0.8449 GB, free: 104.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 819 * Number of states: 0 () * Number of discrete variables: 67 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1031): * Single equations (assignments): 1026 * 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.003629/2.239, allocations: 0.7686 MB / 0.8456 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/2.24, allocations: 0.5628 MB / 0.8462 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01894/2.259, allocations: 6.077 MB / 0.8521 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.301e-05/2.26, allocations: 30.3 kB / 0.8521 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.535e-05/2.26, allocations: 11.03 kB / 0.8521 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.352e-05/2.26, allocations: 18.66 kB / 0.8521 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1002/2.36, allocations: 13.91 MB / 0.8657 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.111e-05/2.36, allocations: 7.5 kB / 0.8657 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006422/2.367, allocations: 0.4944 MB / 0.8662 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01014/2.377, allocations: 1.411 MB / 0.8676 GB, free: 98.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007406/2.378, allocations: 53.39 kB / 0.8676 GB, free: 98.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/2.395, allocations: 10.54 MB / 0.8779 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/2.395, allocations: 3.75 kB / 0.8779 GB, free: 92.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02392/2.419, allocations: 10.74 MB / 0.8884 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/2.421, allocations: 0.6346 MB / 0.8891 GB, free: 87.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/2.423, allocations: 51.75 kB / 0.8891 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004093/2.427, allocations: 182.8 kB / 0.8893 GB, free: 87.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008515/2.428, allocations: 176.2 kB / 0.8894 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003364/2.428, allocations: 74.3 kB / 0.8895 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009701/2.438, allocations: 4.212 MB / 0.8936 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.04e-06/2.438, allocations: 0 / 0.8936 GB, free: 85.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01022/2.448, allocations: 1.544 MB / 0.8951 GB, free: 85.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (220): * Single equations (assignments): 215 * 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.0009205/2.449, allocations: 200.5 kB / 0.8953 GB, free: 85.64 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01514/2.464, allocations: 7.672 MB / 0.9028 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.679e-06/2.464, allocations: 2.625 kB / 0.9028 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00605/2.47, allocations: 3.057 MB / 0.9058 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/2.475, allocations: 0.7053 MB / 0.9065 GB, free: 79.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/2.502, allocations: 12.28 MB / 0.9185 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009252/2.512, allocations: 4.756 MB / 0.9231 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009556/2.521, allocations: 2.793 MB / 0.9259 GB, free: 63.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/2.523, allocations: 382.5 kB / 0.9262 GB, free: 63 MB / 0.5261 GB Notification: Performance of SimCode: time 1.646e-06/2.523, allocations: 0 / 0.9262 GB, free: 63 MB / 0.5261 GB Notification: Performance of Templates: time 0.1544/2.678, allocations: 59.38 MB / 0.9842 GB, free: 11.01 MB / 0.5261 GB