Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 270 MB / 282.7 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.816e-05, allocations: 0 / 347 MB, free: 3.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.4889, allocations: 107.9 MB / 0.5047 GB, free: 14.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.4892, allocations: 71.97 kB / 0.5047 GB, free: 14.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7244/1.214, allocations: 122 MB / 0.6239 GB, free: 15.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.351e-06/1.214, allocations: 0 / 0.6239 GB, free: 15.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003021/1.214, allocations: 127.9 kB / 0.624 GB, free: 15.83 MB / 442.7 MB 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.01709/1.231, allocations: 5.923 MB / 0.6298 GB, free: 9.832 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/1.231, allocations: 8.031 kB / 0.6298 GB, free: 9.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03362/1.265, allocations: 7.005 MB / 0.6366 GB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01975/1.285, allocations: 6.649 MB / 0.6431 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000628/1.285, allocations: 464.1 kB / 0.6436 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002579/1.288, allocations: 0.6012 MB / 0.6441 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/1.328, allocations: 15.02 MB / 0.6588 GB, free: 10.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003113/1.328, allocations: 83.25 kB / 0.6589 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001363/1.33, allocations: 295.8 kB / 0.6592 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002377/1.332, allocations: 1.357 MB / 0.6605 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03379/1.366, allocations: 12.14 MB / 0.6724 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4292/1.795, allocations: 64.8 MB / 0.7356 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02504/1.82, allocations: 7.046 MB / 0.7425 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/1.826, allocations: 3.31 MB / 0.7458 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/1.826, allocations: 39.31 kB / 0.7458 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/1.826, allocations: 60.17 kB / 0.7459 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=218): time 7.61e-06/1.826, allocations: 2.906 kB / 0.7459 GB, free: 67.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.09448/1.92, allocations: 25.38 MB / 0.7706 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/1.92, allocations: 221.2 kB / 0.7708 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/1.932, allocations: 5.326 MB / 0.776 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006151/1.932, allocations: 66.69 kB / 0.7761 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003133/1.936, allocations: 4.005 MB / 0.78 GB, free: 61.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.937, allocations: 0.9912 MB / 0.781 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007867/1.938, allocations: 154.2 kB / 0.7811 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004761/1.938, allocations: 0.6297 MB / 0.7818 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006722/1.945, allocations: 3.127 MB / 0.7848 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009209/1.954, allocations: 7.556 MB / 0.7922 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009685/1.964, allocations: 4.821 MB / 0.7969 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/1.964, allocations: 44.47 kB / 0.7969 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.02798/1.992, allocations: 11.33 MB / 0.808 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.992, allocations: 71.28 kB / 0.8081 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/1.993, allocations: 160.3 kB / 0.8082 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005485/1.998, allocations: 1.662 MB / 0.8098 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008177/2.006, allocations: 1.826 MB / 0.8116 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/2.024, allocations: 11.35 MB / 0.8227 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008472/2.033, allocations: 470.7 kB / 0.8232 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/2.034, allocations: 461.2 kB / 0.8236 GB, free: 36.77 MB / 0.5105 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.001476/2.036, allocations: 0.7021 MB / 0.8243 GB, free: 36.08 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/2.037, allocations: 0.5129 MB / 0.8248 GB, free: 35.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/2.05, allocations: 6.155 MB / 0.8308 GB, free: 30.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.94e-05/2.05, allocations: 28 kB / 0.8308 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/2.05, allocations: 10.31 kB / 0.8308 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.172e-05/2.05, allocations: 12.61 kB / 0.8308 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.032/2.082, allocations: 13.68 MB / 0.8442 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/2.082, allocations: 7.797 kB / 0.8442 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003259/2.086, allocations: 0.4922 MB / 0.8447 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004657/2.09, allocations: 1.408 MB / 0.8461 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006127/2.091, allocations: 49.84 kB / 0.8461 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01681/2.108, allocations: 10.59 MB / 0.8565 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.928e-06/2.108, allocations: 4 kB / 0.8565 GB, free: 8.754 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/2.127, allocations: 10.13 MB / 0.8664 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/2.129, allocations: 0.5785 MB / 0.8669 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001273/2.13, allocations: 47.94 kB / 0.867 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003095/2.133, allocations: 220.5 kB / 0.8672 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006012/2.134, allocations: 146.1 kB / 0.8673 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003279/2.134, allocations: 69.58 kB / 0.8674 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009613/2.144, allocations: 3.771 MB / 0.8711 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.565e-06/2.144, allocations: 0 / 0.8711 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00922/2.153, allocations: 1.474 MB / 0.8725 GB, free: 10.21 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.0008287/2.154, allocations: 200.3 kB / 0.8727 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01683/2.171, allocations: 7.547 MB / 0.8801 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.069e-06/2.171, allocations: 0 / 0.8801 GB, free: 2.859 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00786/2.179, allocations: 3.146 MB / 0.8831 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/2.183, allocations: 0.6591 MB / 0.8838 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03205/2.215, allocations: 12.39 MB / 0.8959 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/2.226, allocations: 4.545 MB / 0.9003 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/2.229, allocations: 407.4 kB / 0.9007 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of SimCode: time 1.669e-06/2.229, allocations: 0 / 0.9007 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of Templates: time 0.5307/2.759, allocations: 130.2 MB / 1.028 GB, free: 116.9 MB / 0.573 GB