Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|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.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.922e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08609, allocations: 47.58 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4169/0.503, allocations: 87.14 MB / 404.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/0.5033, allocations: 90.12 kB / 404.2 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2461/0.7494, allocations: 60.17 MB / 464.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.447e-06/0.7495, allocations: 0 / 464.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000117/0.7496, allocations: 44 kB / 464.4 MB, free: 11.74 MB / 378.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.01848/0.7681, allocations: 3.46 MB / 467.8 MB, free: 8.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.7681, allocations: 8.031 kB / 467.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01557/0.7837, allocations: 2.344 MB / 470.2 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/0.7998, allocations: 4.883 MB / 475.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002983/0.8001, allocations: 168.4 kB / 475.2 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/0.8013, allocations: 231.8 kB / 475.5 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.8252, allocations: 8.463 MB / 483.9 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.8255, allocations: 51.53 kB / 484 MB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009011/0.8264, allocations: 115.9 kB / 484.1 MB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/0.8279, allocations: 0.7263 MB / 484.8 MB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02542/0.8534, allocations: 9.321 MB / 494.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3136/1.167, allocations: 37.82 MB / 0.5195 GB, free: 92.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/1.183, allocations: 4.01 MB / 0.5234 GB, free: 91.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004152/1.187, allocations: 2.207 MB / 0.5256 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/1.187, allocations: 15.2 kB / 0.5256 GB, free: 91.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/1.187, allocations: 50.36 kB / 0.5256 GB, free: 91.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=122): time 6.647e-06/1.187, allocations: 0 / 0.5256 GB, free: 91.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=136): time 0.07091/1.258, allocations: 14.51 MB / 0.5398 GB, free: 89.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003064/1.261, allocations: 3.04 MB / 0.5428 GB, free: 86.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00791/1.269, allocations: 2.64 MB / 0.5454 GB, free: 86.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005997/1.27, allocations: 45.14 kB / 0.5454 GB, free: 86.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002526/1.272, allocations: 2.085 MB / 0.5474 GB, free: 85.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/1.274, allocations: 0.5624 MB / 0.548 GB, free: 84.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009711/1.275, allocations: 97.8 kB / 0.5481 GB, free: 84.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005466/1.275, allocations: 0.5044 MB / 0.5486 GB, free: 84.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009959/1.285, allocations: 2.303 MB / 0.5508 GB, free: 84.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008975/1.294, allocations: 5.169 MB / 0.5559 GB, free: 80.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006316/1.301, allocations: 3.372 MB / 0.5592 GB, free: 79.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.939e-05/1.301, allocations: 28.97 kB / 0.5592 GB, free: 79.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.02519/1.326, allocations: 8.981 MB / 0.568 GB, free: 77.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/1.326, allocations: 50.73 kB / 0.568 GB, free: 77.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01419/1.34, allocations: 4.653 MB / 0.5725 GB, free: 76.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/1.352, allocations: 2.342 MB / 0.5748 GB, free: 76.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005465/1.357, allocations: 1.172 MB / 0.576 GB, free: 76.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009324/1.367, allocations: 8.116 MB / 0.5839 GB, free: 68.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006456/1.373, allocations: 0.572 MB / 0.5845 GB, free: 68.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.374, allocations: 308.3 kB / 0.5848 GB, free: 68.21 MB / 426.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.001145/1.375, allocations: 473.2 kB / 0.5852 GB, free: 67.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007252/1.376, allocations: 256 kB / 0.5855 GB, free: 67.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/1.377, allocations: 418.9 kB / 0.5859 GB, free: 67.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01277/1.39, allocations: 4.558 MB / 0.5903 GB, free: 63.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.92e-05/1.39, allocations: 8 kB / 0.5903 GB, free: 63.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.712e-05/1.39, allocations: 7.875 kB / 0.5903 GB, free: 63.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/1.402, allocations: 5.341 MB / 0.5955 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.402, allocations: 0 / 0.5955 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.404, allocations: 282.6 kB / 0.5958 GB, free: 59.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009778/1.414, allocations: 2.365 MB / 0.5981 GB, free: 57.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005133/1.414, allocations: 47.95 kB / 0.5982 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009789/1.424, allocations: 8.828 MB / 0.6068 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001724/1.426, allocations: 2.887 MB / 0.6096 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/1.444, allocations: 8.106 MB / 0.6175 GB, free: 36.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008944/1.445, allocations: 333.6 kB / 0.6178 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009166/1.446, allocations: 32.69 kB / 0.6179 GB, free: 35.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.449, allocations: 269.2 kB / 0.6181 GB, free: 35.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000789/1.45, allocations: 103.8 kB / 0.6182 GB, free: 35.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004686/1.45, allocations: 44.67 kB / 0.6183 GB, free: 35.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003896/1.454, allocations: 1.833 MB / 0.6201 GB, free: 33.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.565e-06/1.454, allocations: 0 / 0.6201 GB, free: 33.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005829/1.46, allocations: 0.9404 MB / 0.621 GB, free: 32.77 MB / 426.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.0006874/1.461, allocations: 180 kB / 0.6211 GB, free: 32.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01261/1.473, allocations: 6.52 MB / 0.6275 GB, free: 25.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.74e-06/1.473, allocations: 0 / 0.6275 GB, free: 25.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006917/1.48, allocations: 3.359 MB / 0.6308 GB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/1.483, allocations: 279.8 kB / 0.6311 GB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.5, allocations: 7.414 MB / 0.6383 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/1.502, allocations: 2.359 MB / 0.6406 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005273/1.508, allocations: 1.631 MB / 0.6422 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.509, allocations: 195.3 kB / 0.6424 GB, free: 10.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.81e-06/1.509, allocations: 4 kB / 0.6424 GB, free: 10.64 MB / 426.7 MB Notification: Performance of Templates: time 0.08873/1.598, allocations: 35.7 MB / 0.6773 GB, free: 7.266 MB / 458.7 MB