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_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.71e-05, allocations: 4 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 44.5 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.04419/0.3378, allocations: 30.14 MB / 333.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.3571, allocations: 7.274 MB / 340.7 MB, free: 8.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006235/0.3634, allocations: 159.6 kB / 340.9 MB, free: 7.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005544/0.369, allocations: 1.559 MB / 342.5 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01546/0.3845, allocations: 4.347 MB / 346.8 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002658/0.3872, allocations: 479.2 kB / 347.3 MB, free: 1.535 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.3912, allocations: 1.412 MB / 348.7 MB, free: 124 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006355/0.3976, allocations: 3.29 MB / 352 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.399, allocations: 0.7013 MB / 352.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.4008, allocations: 1.04 MB / 353.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.4029, allocations: 0.8347 MB / 354.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007325/0.4037, allocations: 100 kB / 354.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.4054, allocations: 1.274 MB / 355.9 MB, free: 8.828 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008455/0.4062, allocations: 224 kB / 356.1 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.4131, allocations: 4.719 MB / 360.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4132, allocations: 7.938 kB / 360.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4132, allocations: 0 / 360.9 MB, free: 3.871 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001616/0.4134, allocations: 0 / 360.9 MB, free: 3.871 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.01004/0.4234, allocations: 3.362 MB / 364.2 MB, free: 456 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.4235, allocations: 8.031 kB / 364.2 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/0.4371, allocations: 2.163 MB / 366.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006092/0.4432, allocations: 2.216 MB / 368.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.4435, allocations: 205.2 kB / 368.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.445, allocations: 363.6 kB / 369.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02246/0.4674, allocations: 8.674 MB / 377.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.4676, allocations: 39.67 kB / 377.9 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005664/0.4682, allocations: 131.9 kB / 378 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004107/0.4723, allocations: 1.606 MB / 379.6 MB, free: 352 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.4952, allocations: 7.357 MB / 387 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06043/0.5557, allocations: 34.52 MB / 421.5 MB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/0.5692, allocations: 3.174 MB / 424.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2633/0.8326, allocations: 6.063 MB / 430.7 MB, free: 106.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/0.8327, allocations: 43.06 kB / 430.8 MB, free: 106.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=118): time 5.17e-06/0.8327, allocations: 3.656 kB / 430.8 MB, free: 106.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=125): time 0.03986/0.8726, allocations: 11.02 MB / 441.8 MB, free: 102.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001333/0.874, allocations: 1.633 MB / 443.4 MB, free: 100.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005502/0.8795, allocations: 3.258 MB / 446.7 MB, free: 98.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003581/0.8799, allocations: 47.05 kB / 446.7 MB, free: 98.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001877/0.8818, allocations: 2.754 MB / 449.5 MB, free: 95.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007259/0.8826, allocations: 0.5208 MB / 450 MB, free: 94.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003887/0.883, allocations: 104 kB / 450.1 MB, free: 94.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.8833, allocations: 0.5253 MB / 450.6 MB, free: 94.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003958/0.8872, allocations: 1.91 MB / 452.5 MB, free: 92.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005635/0.8929, allocations: 5.299 MB / 457.8 MB, free: 85.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006211/0.8992, allocations: 3.106 MB / 460.9 MB, free: 82.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.371e-05/0.8993, allocations: 36 kB / 461 MB, free: 82.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.03116/0.9304, allocations: 8.675 MB / 469.7 MB, free: 73.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/0.9306, allocations: 56 kB / 469.7 MB, free: 73.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01819/0.9488, allocations: 3.422 MB / 473.1 MB, free: 70.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01886/0.9677, allocations: 2.246 MB / 475.4 MB, free: 67.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006594/0.9743, allocations: 1.22 MB / 476.6 MB, free: 66.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.9896, allocations: 7.226 MB / 483.8 MB, free: 59.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005893/0.9956, allocations: 382 kB / 484.2 MB, free: 58.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008692/0.9965, allocations: 340 kB / 484.5 MB, free: 58.35 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.003511/1, allocations: 1.792 MB / 486.3 MB, free: 56.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006543/1.001, allocations: 300 kB / 486.6 MB, free: 56.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008105/1.009, allocations: 2.692 MB / 489.3 MB, free: 53.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007129/1.016, allocations: 2.292 MB / 491.6 MB, free: 51.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.016, allocations: 8.562 kB / 491.6 MB, free: 51.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.016, allocations: 11.88 kB / 491.6 MB, free: 51.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/1.023, allocations: 3.36 MB / 495 MB, free: 47.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/1.023, allocations: 8 kB / 495 MB, free: 47.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.025, allocations: 199.7 kB / 495.2 MB, free: 47.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005298/1.03, allocations: 1.057 MB / 496.2 MB, free: 46.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/1.03, allocations: 27.98 kB / 496.3 MB, free: 46.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007787/1.038, allocations: 5.05 MB / 0.4896 GB, free: 41.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001122/1.039, allocations: 1.489 MB / 0.491 GB, free: 39.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/1.051, allocations: 4.924 MB / 0.4958 GB, free: 34.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/1.052, allocations: 373.1 kB / 0.4962 GB, free: 34.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007326/1.052, allocations: 28 kB / 0.4962 GB, free: 34.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.055, allocations: 127.8 kB / 0.4963 GB, free: 34.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.055, allocations: 80.47 kB / 0.4964 GB, free: 33.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.055, allocations: 34.41 kB / 0.4964 GB, free: 33.94 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004146/1.059, allocations: 2.268 MB / 0.4987 GB, free: 31.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.059, allocations: 0 / 0.4987 GB, free: 31.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005773/1.065, allocations: 0.9622 MB / 0.4996 GB, free: 30.72 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.0006135/1.066, allocations: 184.5 kB / 0.4998 GB, free: 30.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01278/1.079, allocations: 5.152 MB / 0.5048 GB, free: 25.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.079, allocations: 4.188 kB / 0.5048 GB, free: 25.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005832/1.085, allocations: 1.97 MB / 0.5067 GB, free: 23.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.087, allocations: 353 kB / 0.5071 GB, free: 22.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.105, allocations: 9.663 MB / 0.5165 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004125/1.109, allocations: 2.934 MB / 0.5194 GB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.006544/1.116, allocations: 1.671 MB / 0.521 GB, free: 8.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000948/1.117, allocations: 207.4 kB / 0.5212 GB, free: 8.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/1.117, allocations: 0 / 0.5212 GB, free: 8.41 MB / 362.7 MB Notification: Performance of Templates: time 0.09765/1.214, allocations: 33.87 MB / 0.5543 GB, free: 6.578 MB / 394.7 MB