Running command: translateModel(ModelicaTest.MultiBody.Forces.Force2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 270 MB / 282.7 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.814e-05, allocations: 3.984 kB / 347 MB, free: 3.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 61.86 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4954, allocations: 112.2 MB / 0.5089 GB, free: 10.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4957, allocations: 79.95 kB / 0.5089 GB, free: 10.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353/1.849, allocations: 222.5 MB / 0.7263 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.162e-06/1.849, allocations: 0 / 0.7263 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006692/1.849, allocations: 234.8 kB / 0.7265 GB, free: 48.83 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.0363/1.886, allocations: 11.54 MB / 0.7378 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.886, allocations: 7.938 kB / 0.7378 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06454/1.95, allocations: 12.62 MB / 0.7501 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03454/1.985, allocations: 12.21 MB / 0.762 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.986, allocations: 0.8705 MB / 0.7629 GB, free: 42.89 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004633/1.99, allocations: 1.166 MB / 0.764 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06994/2.06, allocations: 27.82 MB / 0.7912 GB, free: 37.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005138/2.061, allocations: 141.3 kB / 0.7913 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002626/2.064, allocations: 0.5445 MB / 0.7918 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004048/2.068, allocations: 2.58 MB / 0.7943 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05733/2.125, allocations: 22.15 MB / 0.816 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5596/2.685, allocations: 120.2 MB / 0.9334 GB, free: 95.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05004/2.735, allocations: 13.78 MB / 0.9469 GB, free: 94.88 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01108/2.746, allocations: 7.264 MB / 0.9539 GB, free: 94.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0335/2.779, allocations: 17.77 MB / 0.9713 GB, free: 92.04 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.544e-05/2.78, allocations: 86.19 kB / 0.9714 GB, free: 91.99 MB / 0.573 GB Notification: Performance of pre-optimization done (n=469): time 1.056e-05/2.78, allocations: 1.031 kB / 0.9714 GB, free: 91.99 MB / 0.573 GB Notification: Performance of matching and sorting (n=553): time 0.1983/2.978, allocations: 56.5 MB / 1.027 GB, free: 80.26 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/2.978, allocations: 373.4 kB / 1.027 GB, free: 79.88 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02218/3, allocations: 10.12 MB / 1.037 GB, free: 79.13 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/3.002, allocations: 114.6 kB / 1.037 GB, free: 79.09 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.005688/3.007, allocations: 7.322 MB / 1.044 GB, free: 74.54 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002738/3.01, allocations: 2.053 MB / 1.046 GB, free: 73.03 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001717/3.012, allocations: 282.1 kB / 1.046 GB, free: 72.81 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001046/3.013, allocations: 0.9041 MB / 1.047 GB, free: 72.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01268/3.026, allocations: 5.77 MB / 1.053 GB, free: 70.26 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/3.042, allocations: 13.52 MB / 1.066 GB, free: 56.57 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/3.058, allocations: 8.767 MB / 1.075 GB, free: 49.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002254/3.059, allocations: 80 kB / 1.075 GB, free: 49.62 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.04835/3.107, allocations: 20.89 MB / 1.095 GB, free: 33.25 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/3.107, allocations: 124 kB / 1.095 GB, free: 33.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003174/3.108, allocations: 272 kB / 1.095 GB, free: 32.86 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01002/3.118, allocations: 3.25 MB / 1.099 GB, free: 30.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01606/3.134, allocations: 3.37 MB / 1.102 GB, free: 27.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03356/3.167, allocations: 22.43 MB / 1.124 GB, free: 7.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/3.182, allocations: 0.8277 MB / 1.125 GB, free: 6.832 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003026/3.186, allocations: 0.8071 MB / 1.125 GB, free: 6.055 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force1.forceColor[3],force1.forceColor[2],force1.forceColor[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 (1698): * Single equations (assignments): 1691 * 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%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003956/3.19, allocations: 1.202 MB / 1.127 GB, free: 4.859 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002398/3.192, allocations: 1.002 MB / 1.128 GB, free: 3.848 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03381/3.226, allocations: 12.77 MB / 1.14 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/3.226, allocations: 56 kB / 1.14 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/3.226, allocations: 16 kB / 1.14 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001059/3.226, allocations: 29.55 kB / 1.14 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4725/3.699, allocations: 28.85 MB / 1.168 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.859e-05/3.699, allocations: 6.344 kB / 1.168 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007844/3.707, allocations: 1.107 MB / 1.169 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009553/3.716, allocations: 2.822 MB / 1.172 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001281/3.718, allocations: 104.3 kB / 1.172 GB, free: 100.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03633/3.754, allocations: 21 MB / 1.193 GB, free: 95.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/3.754, allocations: 16.09 kB / 1.193 GB, free: 95.24 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03955/3.794, allocations: 22.74 MB / 1.215 GB, free: 90.38 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003667/3.797, allocations: 1.097 MB / 1.216 GB, free: 90.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003464/3.801, allocations: 101.9 kB / 1.216 GB, free: 90.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007701/3.808, allocations: 377.8 kB / 1.217 GB, free: 90.28 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001727/3.81, allocations: 364.2 kB / 1.217 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006393/3.811, allocations: 140.2 kB / 1.217 GB, free: 90.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01797/3.829, allocations: 7.292 MB / 1.224 GB, free: 89.35 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.941e-06/3.829, allocations: 3.5 kB / 1.224 GB, free: 89.35 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.03209/3.861, allocations: 2.798 MB / 1.227 GB, free: 89.05 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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%) 17,(4,75.0%) 17,(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.002303/3.863, allocations: 286 kB / 1.227 GB, free: 88.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04972/3.913, allocations: 14.13 MB / 1.241 GB, free: 84.34 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-05/3.913, allocations: 0 / 1.241 GB, free: 84.34 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01402/3.927, allocations: 6.164 MB / 1.247 GB, free: 82.01 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008751/3.936, allocations: 1.325 MB / 1.248 GB, free: 81.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05394/3.99, allocations: 24.48 MB / 1.272 GB, free: 70.17 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01713/4.007, allocations: 8.167 MB / 1.28 GB, free: 64.34 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004313/4.012, allocations: 0.7466 MB / 1.281 GB, free: 63.63 MB / 0.5886 GB Notification: Performance of SimCode: time 2.591e-06/4.012, allocations: 0 / 1.281 GB, free: 63.63 MB / 0.5886 GB Notification: Performance of Templates: time 1.215/5.227, allocations: 336.7 MB / 1.61 GB, free: 156.9 MB / 0.6511 GB