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_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.937e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.04751/0.3599, allocations: 30.15 MB / 333.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02125/0.3812, allocations: 7.276 MB / 340.7 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006857/0.3881, allocations: 159.6 kB / 340.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005692/0.3939, allocations: 1.555 MB / 342.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01776/0.4117, allocations: 4.355 MB / 346.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.4149, allocations: 479.1 kB / 347.2 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004397/0.4194, allocations: 1.404 MB / 348.6 MB, free: 224 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00681/0.4262, allocations: 3.294 MB / 351.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.428, allocations: 0.7052 MB / 352.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.4304, allocations: 1.044 MB / 353.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.4331, allocations: 0.8347 MB / 354.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009421/0.4341, allocations: 100 kB / 354.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002029/0.4361, allocations: 1.266 MB / 355.9 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.4372, allocations: 228 kB / 356.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007875/0.4451, allocations: 4.721 MB / 360.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4451, allocations: 0 / 360.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.537e-06/0.4452, allocations: 0 / 360.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002027/0.4454, allocations: 4 kB / 360.8 MB, free: 3.965 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.01063/0.456, allocations: 3.35 MB / 364.2 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.4561, allocations: 12.03 kB / 364.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01372/0.4698, allocations: 2.167 MB / 366.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006485/0.4764, allocations: 2.224 MB / 368.6 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.4766, allocations: 201.2 kB / 368.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001876/0.4785, allocations: 363.6 kB / 369.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.5033, allocations: 8.681 MB / 377.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.5035, allocations: 31.75 kB / 377.9 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008921/0.5044, allocations: 131.9 kB / 378 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00441/0.5088, allocations: 1.606 MB / 379.6 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02382/0.5327, allocations: 7.36 MB / 387 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06352/0.5963, allocations: 34.52 MB / 421.5 MB, free: 5.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01396/0.6103, allocations: 3.174 MB / 424.6 MB, free: 2.195 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2751/0.8854, allocations: 6.058 MB / 430.7 MB, free: 106.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.8855, allocations: 48.84 kB / 430.8 MB, free: 106.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=118): time 5.16e-06/0.8855, allocations: 1.031 kB / 430.8 MB, free: 106.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.04221/0.9278, allocations: 11.02 MB / 441.8 MB, free: 102.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001411/0.9292, allocations: 1.626 MB / 443.4 MB, free: 100.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006776/0.936, allocations: 3.259 MB / 446.7 MB, free: 98.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003977/0.9365, allocations: 41.7 kB / 446.7 MB, free: 98.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/0.9388, allocations: 2.712 MB / 449.4 MB, free: 95.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000925/0.9397, allocations: 0.5212 MB / 449.9 MB, free: 95.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005655/0.9403, allocations: 108 kB / 450 MB, free: 94.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003308/0.9407, allocations: 0.5339 MB / 450.6 MB, free: 94.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/0.9453, allocations: 1.904 MB / 452.5 MB, free: 92.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006632/0.952, allocations: 5.301 MB / 457.8 MB, free: 85.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006872/0.9589, allocations: 3.1 MB / 460.9 MB, free: 82.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.9591, allocations: 36 kB / 460.9 MB, free: 82.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.03294/0.992, allocations: 8.58 MB / 469.5 MB, free: 73.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.967e-05/0.9922, allocations: 56 kB / 469.6 MB, free: 73.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01859/1.011, allocations: 3.415 MB / 473 MB, free: 70.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01898/1.03, allocations: 2.257 MB / 475.2 MB, free: 68.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006907/1.037, allocations: 1.22 MB / 476.4 MB, free: 66.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/1.052, allocations: 7.219 MB / 483.7 MB, free: 59.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/1.058, allocations: 384.5 kB / 484 MB, free: 59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001008/1.06, allocations: 337.6 kB / 484.4 MB, free: 58.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * Number of states: 0 () * Number of discrete variables: 33 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (655): * Single equations (assignments): 646 * 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.003971/1.063, allocations: 1.788 MB / 486.2 MB, free: 56.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007623/1.064, allocations: 304 kB / 486.5 MB, free: 56.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008423/1.073, allocations: 2.698 MB / 489.2 MB, free: 53.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007395/1.08, allocations: 2.296 MB / 491.4 MB, free: 51.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.825e-05/1.08, allocations: 4 kB / 491.5 MB, free: 51.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.088e-05/1.08, allocations: 4.828 kB / 491.5 MB, free: 51.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/1.087, allocations: 3.358 MB / 494.8 MB, free: 48.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/1.088, allocations: 4 kB / 494.8 MB, free: 48.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.089, allocations: 203.7 kB / 495 MB, free: 47.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00535/1.095, allocations: 1.053 MB / 496.1 MB, free: 46.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003192/1.095, allocations: 31.97 kB / 496.1 MB, free: 46.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/1.103, allocations: 5.058 MB / 0.4894 GB, free: 41.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001121/1.104, allocations: 1.489 MB / 0.4909 GB, free: 39.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.116, allocations: 4.925 MB / 0.4957 GB, free: 34.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009997/1.117, allocations: 369.6 kB / 0.496 GB, free: 34.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009397/1.118, allocations: 33.41 kB / 0.4961 GB, free: 34.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002489/1.121, allocations: 123.8 kB / 0.4962 GB, free: 34.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/1.121, allocations: 80.47 kB / 0.4963 GB, free: 34.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.121, allocations: 35.98 kB / 0.4963 GB, free: 34.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004554/1.126, allocations: 2.268 MB / 0.4985 GB, free: 32 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.126, allocations: 8 kB / 0.4985 GB, free: 31.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005897/1.132, allocations: 0.9559 MB / 0.4994 GB, free: 31.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (93): * Single equations (assignments): 86 * 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.0007343/1.133, allocations: 185.3 kB / 0.4996 GB, free: 30.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01341/1.146, allocations: 5.156 MB / 0.5047 GB, free: 25.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/1.146, allocations: 8.125 kB / 0.5047 GB, free: 25.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005903/1.152, allocations: 1.969 MB / 0.5066 GB, free: 23.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/1.155, allocations: 355.5 kB / 0.5069 GB, free: 23.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.176, allocations: 10.07 MB / 0.5168 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004941/1.181, allocations: 2.945 MB / 0.5196 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.183, allocations: 243.4 kB / 0.5199 GB, free: 9.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.854e-06/1.183, allocations: 4 kB / 0.5199 GB, free: 9.926 MB / 362.7 MB Notification: Performance of Templates: time 0.4734/1.656, allocations: 109.8 MB / 0.6271 GB, free: 68.64 MB / 394.7 MB