Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.317e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09316, allocations: 50.41 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4658, allocations: 88.74 MB / 431.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.4661, allocations: 86.52 kB / 431.4 MB, free: 5.555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2451/0.7113, allocations: 60.76 MB / 492.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.291e-06/0.7113, allocations: 0 / 492.1 MB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.7115, allocations: 51.98 kB / 492.2 MB, free: 13.07 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.01859/0.7301, allocations: 3.455 MB / 495.6 MB, free: 9.555 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.7302, allocations: 8.031 kB / 495.6 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01478/0.745, allocations: 2.348 MB / 498 MB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0151/0.7601, allocations: 4.578 MB / 0.4908 GB, free: 2.562 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002973/0.7605, allocations: 176.4 kB / 0.491 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.7617, allocations: 231.8 kB / 0.4912 GB, free: 2.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02322/0.7849, allocations: 8.453 MB / 0.4994 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001478/0.7851, allocations: 47.61 kB / 0.4995 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007346/0.7859, allocations: 123.9 kB / 0.4996 GB, free: 8.688 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/0.7874, allocations: 0.7301 MB / 0.5003 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/0.8122, allocations: 9.317 MB / 0.5094 GB, free: 14.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2983/1.111, allocations: 37.77 MB / 0.5463 GB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01583/1.127, allocations: 4.018 MB / 0.5502 GB, free: 91.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00446/1.131, allocations: 2.199 MB / 0.5524 GB, free: 91.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000124/1.131, allocations: 14.05 kB / 0.5524 GB, free: 91.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/1.131, allocations: 61.73 kB / 0.5524 GB, free: 91.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 5.626e-06/1.131, allocations: 0 / 0.5524 GB, free: 91.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.05137/1.183, allocations: 14.39 MB / 0.5665 GB, free: 88.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002011/1.185, allocations: 3.046 MB / 0.5695 GB, free: 86.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005149/1.19, allocations: 2.613 MB / 0.572 GB, free: 85.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000437/1.19, allocations: 46.59 kB / 0.5721 GB, free: 85.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.192, allocations: 2.055 MB / 0.5741 GB, free: 84.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008948/1.193, allocations: 0.5661 MB / 0.5746 GB, free: 84.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005955/1.193, allocations: 94.8 kB / 0.5747 GB, free: 84.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003259/1.194, allocations: 0.5102 MB / 0.5752 GB, free: 83.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004605/1.198, allocations: 2.301 MB / 0.5775 GB, free: 83.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006137/1.205, allocations: 5.168 MB / 0.5825 GB, free: 78.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006348/1.211, allocations: 3.374 MB / 0.5858 GB, free: 77.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.761e-05/1.211, allocations: 33.47 kB / 0.5858 GB, free: 77.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.02503/1.236, allocations: 8.896 MB / 0.5945 GB, free: 75.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.332e-05/1.236, allocations: 48.31 kB / 0.5946 GB, free: 75.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01469/1.251, allocations: 4.659 MB / 0.5991 GB, free: 73.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/1.263, allocations: 2.346 MB / 0.6014 GB, free: 73.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005169/1.268, allocations: 1.168 MB / 0.6026 GB, free: 73.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009562/1.278, allocations: 8.126 MB / 0.6105 GB, free: 66.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006485/1.284, allocations: 0.562 MB / 0.611 GB, free: 65.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.285, allocations: 304.1 kB / 0.6113 GB, free: 65.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (578): * Single equations (assignments): 563 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001287/1.287, allocations: 481.1 kB / 0.6118 GB, free: 65.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/1.287, allocations: 252.7 kB / 0.612 GB, free: 64.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/1.288, allocations: 417.1 kB / 0.6124 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01263/1.301, allocations: 4.558 MB / 0.6169 GB, free: 61.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.251e-05/1.301, allocations: 11.95 kB / 0.6169 GB, free: 61.1 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.884e-05/1.301, allocations: 3.516 kB / 0.6169 GB, free: 61.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/1.313, allocations: 5.327 MB / 0.6221 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.313, allocations: 0 / 0.6221 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.315, allocations: 283.5 kB / 0.6224 GB, free: 56.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009777/1.325, allocations: 2.366 MB / 0.6247 GB, free: 54.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005261/1.325, allocations: 48.53 kB / 0.6247 GB, free: 54.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01013/1.335, allocations: 8.829 MB / 0.6333 GB, free: 44.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001767/1.337, allocations: 2.875 MB / 0.6361 GB, free: 41.64 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/1.356, allocations: 8.102 MB / 0.6441 GB, free: 33.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008691/1.356, allocations: 337.6 kB / 0.6444 GB, free: 33.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007543/1.357, allocations: 32.77 kB / 0.6444 GB, free: 33.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.36, allocations: 263.5 kB / 0.6447 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006462/1.361, allocations: 101.3 kB / 0.6448 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002315/1.361, allocations: 39.97 kB / 0.6448 GB, free: 32.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00361/1.365, allocations: 1.817 MB / 0.6466 GB, free: 30.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.251e-06/1.365, allocations: 0 / 0.6466 GB, free: 30.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005811/1.371, allocations: 0.9458 MB / 0.6475 GB, free: 29.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000792/1.371, allocations: 186.9 kB / 0.6477 GB, free: 29.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01299/1.384, allocations: 6.53 MB / 0.6541 GB, free: 23.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/1.384, allocations: 192 / 0.6541 GB, free: 23.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007021/1.391, allocations: 3.375 MB / 0.6573 GB, free: 19.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.394, allocations: 281.1 kB / 0.6576 GB, free: 19.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.411, allocations: 7.684 MB / 0.6651 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002802/1.414, allocations: 2.358 MB / 0.6674 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.416, allocations: 231.3 kB / 0.6676 GB, free: 9.066 MB / 442.7 MB Notification: Performance of SimCode: time 1.571e-06/1.416, allocations: 0 / 0.6676 GB, free: 9.066 MB / 442.7 MB Notification: Performance of Templates: time 0.4316/1.847, allocations: 131.6 MB / 0.7961 GB, free: 59.68 MB / 458.7 MB