Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.351e-05/3.363e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3316, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.5037, allocations: 110.7 MB / 0.5073 GB, free: 11.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.504, allocations: 75.97 kB / 0.5074 GB, free: 11.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9635/1.468, allocations: 205.4 MB / 0.708 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.1e-06/1.468, allocations: 0 / 0.708 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006628/1.468, allocations: 216 kB / 0.7082 GB, free: 9.453 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.698/2.166, allocations: 10.56 MB / 0.7185 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/2.166, allocations: 9.984 kB / 0.7185 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06653/2.233, allocations: 12.44 MB / 0.7306 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03295/2.266, allocations: 11.45 MB / 0.7418 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008848/2.267, allocations: 0.8183 MB / 0.7426 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00433/2.271, allocations: 1.098 MB / 0.7437 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06684/2.338, allocations: 25.6 MB / 0.7687 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005961/2.339, allocations: 129.3 kB / 0.7688 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003481/2.342, allocations: 0.5078 MB / 0.7693 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00395/2.346, allocations: 2.354 MB / 0.7716 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05419/2.4, allocations: 20.62 MB / 0.7917 GB, free: 43.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1802/2.581, allocations: 108.6 MB / 0.8978 GB, free: 7.73 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06611/2.647, allocations: 12.45 MB / 0.91 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01282/2.66, allocations: 6.965 MB / 0.9168 GB, free: 7.875 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003507/2.663, allocations: 2.326 MB / 0.919 GB, free: 5.375 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/2.663, allocations: 89.91 kB / 0.9191 GB, free: 5.281 MB / 0.573 GB Notification: Performance of pre-optimization done (n=443): time 1.066e-05/2.663, allocations: 0 / 0.9191 GB, free: 5.281 MB / 0.573 GB Notification: Performance of matching and sorting (n=527): time 0.5133/3.177, allocations: 48.64 MB / 0.9666 GB, free: 106.3 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/3.177, allocations: 316.8 kB / 0.9669 GB, free: 105.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01905/3.196, allocations: 8.551 MB / 0.9753 GB, free: 105.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001162/3.197, allocations: 106.8 kB / 0.9754 GB, free: 105.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00523/3.202, allocations: 6.717 MB / 0.9819 GB, free: 102 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002637/3.205, allocations: 1.942 MB / 0.9838 GB, free: 100.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/3.207, allocations: 257.9 kB / 0.9841 GB, free: 100.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0009721/3.208, allocations: 0.8479 MB / 0.9849 GB, free: 100.5 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01181/3.22, allocations: 5.49 MB / 0.9903 GB, free: 100.5 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01568/3.235, allocations: 12.45 MB / 1.002 GB, free: 91.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/3.251, allocations: 8.218 MB / 1.01 GB, free: 91.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002447/3.251, allocations: 67.47 kB / 1.011 GB, free: 91.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=1662) (initialization): time 0.04772/3.299, allocations: 19.72 MB / 1.03 GB, free: 88.21 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/3.299, allocations: 109.2 kB / 1.03 GB, free: 88.21 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002895/3.3, allocations: 247.6 kB / 1.03 GB, free: 88.21 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/3.311, allocations: 3.231 MB / 1.033 GB, free: 87.62 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/3.326, allocations: 3.096 MB / 1.036 GB, free: 87.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0345/3.361, allocations: 22.5 MB / 1.058 GB, free: 72.34 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01341/3.374, allocations: 0.7684 MB / 1.059 GB, free: 71.71 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002732/3.377, allocations: 0.7373 MB / 1.06 GB, free: 71 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1122 * Number of states: 0 () * Number of discrete variables: 126 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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],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 (1542): * Single equations (assignments): 1535 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004855/3.382, allocations: 1.099 MB / 1.061 GB, free: 69.91 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002504/3.384, allocations: 0.8677 MB / 1.062 GB, free: 69.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02845/3.413, allocations: 12.27 MB / 1.074 GB, free: 59.14 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.901e-05/3.413, allocations: 52 kB / 1.074 GB, free: 59.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.263e-05/3.413, allocations: 16 kB / 1.074 GB, free: 59.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/3.413, allocations: 31.69 kB / 1.074 GB, free: 59.07 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06332/3.476, allocations: 27.15 MB / 1.1 GB, free: 37.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-05/3.476, allocations: 8 kB / 1.1 GB, free: 37.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006394/3.483, allocations: 0.9783 MB / 1.101 GB, free: 36.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009404/3.492, allocations: 2.822 MB / 1.104 GB, free: 34.58 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/3.494, allocations: 102.2 kB / 1.104 GB, free: 34.49 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03305/3.527, allocations: 21.02 MB / 1.125 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.274e-06/3.527, allocations: 11.94 kB / 1.125 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.407/3.934, allocations: 20.33 MB / 1.144 GB, free: 95.69 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002963/3.937, allocations: 0.9327 MB / 1.145 GB, free: 95.59 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003037/3.94, allocations: 96.02 kB / 1.145 GB, free: 95.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007485/3.947, allocations: 409.4 kB / 1.146 GB, free: 95.59 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001664/3.949, allocations: 328.6 kB / 1.146 GB, free: 95.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001028/3.95, allocations: 135.5 kB / 1.146 GB, free: 95.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01488/3.965, allocations: 6.101 MB / 1.152 GB, free: 95.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.157e-06/3.965, allocations: 3.094 kB / 1.152 GB, free: 95.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0156/3.981, allocations: 2.625 MB / 1.155 GB, free: 95.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 (435): * Single equations (assignments): 428 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.001491/3.982, allocations: 267.9 kB / 1.155 GB, free: 95.22 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0259/4.008, allocations: 13.5 MB / 1.168 GB, free: 94.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/4.008, allocations: 4.734 kB / 1.168 GB, free: 94.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01305/4.021, allocations: 5.96 MB / 1.174 GB, free: 94.17 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007539/4.029, allocations: 1.165 MB / 1.175 GB, free: 94.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05317/4.082, allocations: 22.57 MB / 1.197 GB, free: 90.25 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01689/4.099, allocations: 7.592 MB / 1.205 GB, free: 89.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004187/4.103, allocations: 0.6736 MB / 1.205 GB, free: 89.27 MB / 0.573 GB Notification: Performance of SimCode: time 2.569e-06/4.103, allocations: 0 / 1.205 GB, free: 89.27 MB / 0.573 GB Notification: Performance of Templates: time 0.7558/4.859, allocations: 310.2 MB / 1.508 GB, free: 34.56 MB / 0.5887 GB