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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.85e-05, allocations: 4 kB / 292.2 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08758/0.08762, allocations: 50.4 MB / 342.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.462, allocations: 95.7 MB / 438.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4623, allocations: 82.27 kB / 438.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2782/0.7405, allocations: 74.51 MB / 0.5008 GB, free: 8.105 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7406, allocations: 0 / 0.5008 GB, free: 8.105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001786/0.7408, allocations: 79.92 kB / 0.5009 GB, free: 8.027 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.01431/0.7551, allocations: 3.85 MB / 0.5047 GB, free: 4.117 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.7551, allocations: 8.031 kB / 0.5047 GB, free: 4.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01229/0.7674, allocations: 2.155 MB / 0.5068 GB, free: 1.945 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01449/0.782, allocations: 4.323 MB / 0.511 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.7824, allocations: 291.4 kB / 0.5113 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.7839, allocations: 371.8 kB / 0.5116 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.8057, allocations: 9.219 MB / 0.5206 GB, free: 2.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/0.8059, allocations: 55.47 kB / 0.5207 GB, free: 2.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006939/0.8066, allocations: 187.9 kB / 0.5209 GB, free: 2.492 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/0.8082, allocations: 0.896 MB / 0.5217 GB, free: 1.598 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.27/1.078, allocations: 7.293 MB / 0.5289 GB, free: 103.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0508/1.129, allocations: 43.89 MB / 0.5717 GB, free: 76.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/1.143, allocations: 3.409 MB / 0.5751 GB, free: 74.94 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/1.145, allocations: 1.416 MB / 0.5764 GB, free: 74.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/1.157, allocations: 6.859 MB / 0.5831 GB, free: 70.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.157, allocations: 49.97 kB / 0.5832 GB, free: 70.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.853e-06/1.157, allocations: 0 / 0.5832 GB, free: 70.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.02745/1.184, allocations: 9.282 MB / 0.5922 GB, free: 66.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001107/1.186, allocations: 1.607 MB / 0.5938 GB, free: 65.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005434/1.191, allocations: 3.119 MB / 0.5969 GB, free: 64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/1.191, allocations: 43.83 kB / 0.5969 GB, free: 63.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/1.193, allocations: 2.806 MB / 0.5996 GB, free: 61.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006026/1.194, allocations: 0.5679 MB / 0.6002 GB, free: 61.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003302/1.194, allocations: 105.5 kB / 0.6003 GB, free: 61.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003095/1.194, allocations: 0.5392 MB / 0.6008 GB, free: 60.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/1.198, allocations: 1.854 MB / 0.6026 GB, free: 60.28 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004784/1.202, allocations: 5.253 MB / 0.6078 GB, free: 54.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005306/1.208, allocations: 3.097 MB / 0.6108 GB, free: 53.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.699e-05/1.208, allocations: 37.09 kB / 0.6108 GB, free: 53.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.0419/1.25, allocations: 8.02 MB / 0.6187 GB, free: 51.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.25, allocations: 58.06 kB / 0.6187 GB, free: 51.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0219/1.272, allocations: 3.133 MB / 0.6218 GB, free: 50.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02126/1.293, allocations: 1.941 MB / 0.6237 GB, free: 49.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007527/1.301, allocations: 1.254 MB / 0.6249 GB, free: 48.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009782/1.311, allocations: 5.683 MB / 0.6304 GB, free: 43.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009045/1.32, allocations: 370.2 kB / 0.6308 GB, free: 43.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009445/1.321, allocations: 344 kB / 0.6311 GB, free: 42.73 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.0008972/1.322, allocations: 0.5246 MB / 0.6316 GB, free: 42.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006291/1.322, allocations: 303.2 kB / 0.6319 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006097/1.328, allocations: 2.739 MB / 0.6346 GB, free: 39.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00517/1.334, allocations: 2.319 MB / 0.6369 GB, free: 37.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.334, allocations: 4 kB / 0.6369 GB, free: 37.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.334, allocations: 6.797 kB / 0.6369 GB, free: 37.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/1.349, allocations: 7.815 MB / 0.6445 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/1.349, allocations: 4 kB / 0.6445 GB, free: 31.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.351, allocations: 222 kB / 0.6447 GB, free: 31.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003633/1.354, allocations: 1.044 MB / 0.6457 GB, free: 30.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/1.355, allocations: 43.41 kB / 0.6458 GB, free: 30.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005774/1.36, allocations: 4.954 MB / 0.6506 GB, free: 26.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008809/1.361, allocations: 1.468 MB / 0.6521 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008657/1.37, allocations: 5.051 MB / 0.657 GB, free: 20.11 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009152/1.371, allocations: 369 kB / 0.6573 GB, free: 19.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004662/1.371, allocations: 27.98 kB / 0.6574 GB, free: 19.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/1.373, allocations: 128.7 kB / 0.6575 GB, free: 19.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/1.373, allocations: 80.64 kB / 0.6576 GB, free: 19.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.374, allocations: 54.27 kB / 0.6576 GB, free: 19.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003659/1.377, allocations: 2.151 MB / 0.6597 GB, free: 17.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.95e-07/1.377, allocations: 0 / 0.6597 GB, free: 17.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005554/1.383, allocations: 0.9653 MB / 0.6607 GB, free: 16.34 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.0004537/1.383, allocations: 179.5 kB / 0.6608 GB, free: 16.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009297/1.393, allocations: 4.905 MB / 0.6656 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.692e-06/1.393, allocations: 0 / 0.6656 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004023/1.397, allocations: 1.971 MB / 0.6675 GB, free: 9.191 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.399, allocations: 363.6 kB / 0.6679 GB, free: 8.844 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.412, allocations: 6.959 MB / 0.6747 GB, free: 1.879 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/1.416, allocations: 2.989 MB / 0.6776 GB, free: 14.88 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005609/1.421, allocations: 1.691 MB / 0.6793 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007892/1.422, allocations: 215.4 kB / 0.6795 GB, free: 12.98 MB / 458.7 MB Notification: Performance of SimCode: time 1.629e-06/1.422, allocations: 0 / 0.6795 GB, free: 12.98 MB / 458.7 MB Notification: Performance of Templates: time 0.3408/1.763, allocations: 32.3 MB / 0.711 GB, free: 109.4 MB / 458.7 MB