Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.939/1.939, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.949e-05, allocations: 5.562 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.091, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3823/0.4733, allocations: 95.7 MB / 438.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4736, allocations: 80.95 kB / 438.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2852/0.7588, allocations: 74.51 MB / 0.5013 GB, free: 8.082 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7589, allocations: 0 / 0.5013 GB, free: 8.082 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.759, allocations: 79.88 kB / 0.5014 GB, free: 8.004 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01408/0.7731, allocations: 3.858 MB / 0.5052 GB, free: 4.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7732, allocations: 8.031 kB / 0.5052 GB, free: 4.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/0.7856, allocations: 2.144 MB / 0.5073 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/0.7998, allocations: 4.33 MB / 0.5115 GB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/0.8001, allocations: 287.4 kB / 0.5118 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/0.8012, allocations: 379.8 kB / 0.5122 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.8222, allocations: 9.211 MB / 0.5211 GB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.8224, allocations: 59.47 kB / 0.5212 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006937/0.8231, allocations: 183.9 kB / 0.5214 GB, free: 2.469 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001666/0.8248, allocations: 0.9038 MB / 0.5223 GB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2678/1.093, allocations: 7.29 MB / 0.5294 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0738/1.166, allocations: 43.89 MB / 0.5722 GB, free: 76.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/1.177, allocations: 3.409 MB / 0.5756 GB, free: 75.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002234/1.179, allocations: 1.414 MB / 0.577 GB, free: 74.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01369/1.193, allocations: 6.855 MB / 0.5836 GB, free: 70.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/1.193, allocations: 47.88 kB / 0.5837 GB, free: 70.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 1.025e-05/1.193, allocations: 0 / 0.5837 GB, free: 70.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.05575/1.249, allocations: 9.271 MB / 0.5927 GB, free: 67.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001647/1.25, allocations: 1.619 MB / 0.5943 GB, free: 65.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/1.256, allocations: 3.117 MB / 0.5974 GB, free: 64.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004519/1.257, allocations: 49.53 kB / 0.5974 GB, free: 64.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003345/1.26, allocations: 2.803 MB / 0.6002 GB, free: 62.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.261, allocations: 0.5648 MB / 0.6007 GB, free: 61.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006799/1.262, allocations: 106.3 kB / 0.6008 GB, free: 61.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005846/1.262, allocations: 0.5434 MB / 0.6013 GB, free: 61.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006785/1.269, allocations: 1.847 MB / 0.6031 GB, free: 60.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008992/1.278, allocations: 5.253 MB / 0.6083 GB, free: 55.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.289, allocations: 3.1 MB / 0.6113 GB, free: 54.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001535/1.289, allocations: 39.62 kB / 0.6113 GB, free: 54.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.04657/1.335, allocations: 8.026 MB / 0.6192 GB, free: 51.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000166/1.336, allocations: 58.56 kB / 0.6192 GB, free: 51.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01261/1.348, allocations: 3.132 MB / 0.6223 GB, free: 51.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009837/1.358, allocations: 1.941 MB / 0.6242 GB, free: 50.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004668/1.363, allocations: 1.254 MB / 0.6254 GB, free: 49.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008113/1.371, allocations: 5.683 MB / 0.631 GB, free: 43.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005181/1.376, allocations: 370.1 kB / 0.6313 GB, free: 43.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005542/1.377, allocations: 343.5 kB / 0.6316 GB, free: 43.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (674): * Single equations (assignments): 665 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007892/1.378, allocations: 0.5291 MB / 0.6322 GB, free: 42.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/1.378, allocations: 300.1 kB / 0.6324 GB, free: 42.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/1.384, allocations: 2.735 MB / 0.6351 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005099/1.389, allocations: 2.314 MB / 0.6374 GB, free: 38.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.389, allocations: 11.56 kB / 0.6374 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.389, allocations: 3.75 kB / 0.6374 GB, free: 38.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/1.404, allocations: 7.81 MB / 0.645 GB, free: 32.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/1.404, allocations: 4 kB / 0.645 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.406, allocations: 228.8 kB / 0.6452 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003576/1.409, allocations: 1.039 MB / 0.6463 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/1.41, allocations: 35.27 kB / 0.6463 GB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/1.415, allocations: 4.966 MB / 0.6511 GB, free: 26.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008803/1.416, allocations: 1.47 MB / 0.6526 GB, free: 25.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008748/1.425, allocations: 5.042 MB / 0.6575 GB, free: 20.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008643/1.426, allocations: 369.8 kB / 0.6579 GB, free: 20.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/1.426, allocations: 27 kB / 0.6579 GB, free: 20.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/1.428, allocations: 131 kB / 0.658 GB, free: 20.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/1.428, allocations: 76 kB / 0.6581 GB, free: 20.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.429, allocations: 44.2 kB / 0.6581 GB, free: 20.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003571/1.432, allocations: 2.15 MB / 0.6602 GB, free: 18.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.99e-07/1.432, allocations: 4 kB / 0.6602 GB, free: 18.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005347/1.438, allocations: 0.964 MB / 0.6612 GB, free: 17.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004498/1.438, allocations: 179.8 kB / 0.6613 GB, free: 16.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009018/1.447, allocations: 4.908 MB / 0.6661 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.777e-06/1.447, allocations: 0 / 0.6661 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003988/1.451, allocations: 1.973 MB / 0.6681 GB, free: 9.941 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/1.453, allocations: 360.3 kB / 0.6684 GB, free: 9.594 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/1.466, allocations: 6.951 MB / 0.6752 GB, free: 2.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003653/1.469, allocations: 2.989 MB / 0.6781 GB, free: 15.63 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00572/1.475, allocations: 1.702 MB / 0.6798 GB, free: 13.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008593/1.476, allocations: 211.4 kB / 0.68 GB, free: 13.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.688e-06/1.476, allocations: 0 / 0.68 GB, free: 13.73 MB / 458.7 MB Notification: Performance of Templates: time 0.3401/1.816, allocations: 32.31 MB / 0.7115 GB, free: 108.5 MB / 458.7 MB