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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.682e-05/2.68e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0787/0.07875, allocations: 38.76 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.0467/0.1255, allocations: 30.14 MB / 297.1 MB, free: 2.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.3116/0.4371, allocations: 7.229 MB / 304.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007037/0.4442, allocations: 165.1 kB / 304.5 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005608/0.4499, allocations: 1.55 MB / 306 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01638/0.4663, allocations: 4.355 MB / 310.4 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.4692, allocations: 493.9 kB / 310.8 MB, free: 3.172 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.4731, allocations: 1.415 MB / 312.3 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005866/0.479, allocations: 3.3 MB / 315.6 MB, free: 1.902 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.4805, allocations: 0.7072 MB / 316.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.4823, allocations: 1.045 MB / 317.3 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.4845, allocations: 0.8174 MB / 318.1 MB, free: 1.316 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.4851, allocations: 103.9 kB / 318.2 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.4864, allocations: 1.266 MB / 319.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008306/0.4873, allocations: 225.8 kB / 319.7 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006319/0.4936, allocations: 4.708 MB / 324.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4937, allocations: 0 / 324.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4937, allocations: 0 / 324.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001651/0.4938, allocations: 0 / 324.4 MB, free: 14.37 MB / 266.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.01046/0.5043, allocations: 3.361 MB / 327.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5044, allocations: 8.375 kB / 327.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.5178, allocations: 2.142 MB / 329.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006498/0.5243, allocations: 2.211 MB / 332.1 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.5246, allocations: 206.2 kB / 332.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/0.5266, allocations: 360.8 kB / 332.7 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.5509, allocations: 8.682 MB / 341.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.5511, allocations: 42.41 kB / 341.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008225/0.5519, allocations: 131.1 kB / 341.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004385/0.5563, allocations: 1.6 MB / 343.1 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02391/0.5803, allocations: 7.362 MB / 350.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06519/0.6455, allocations: 34.49 MB / 385 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.6596, allocations: 3.178 MB / 388.2 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01451/0.6742, allocations: 6.031 MB / 394.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.6743, allocations: 47.12 kB / 394.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=118): time 5.08e-06/0.6743, allocations: 0 / 394.3 MB, free: 12.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.04961/0.7239, allocations: 11.03 MB / 405.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00178/0.7257, allocations: 1.628 MB / 406.9 MB, free: 15.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/0.7333, allocations: 3.26 MB / 410.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003847/0.7337, allocations: 41.7 kB / 410.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002906/0.7367, allocations: 2.751 MB / 413 MB, free: 9.461 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0011/0.7378, allocations: 0.5275 MB / 413.5 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005562/0.7384, allocations: 104 kB / 413.6 MB, free: 8.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004724/0.7388, allocations: 0.5253 MB / 414.1 MB, free: 8.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005061/0.7439, allocations: 1.876 MB / 416 MB, free: 6.422 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008237/0.7522, allocations: 5.271 MB / 421.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007579/0.7598, allocations: 3.069 MB / 424.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.154e-05/0.76, allocations: 39.94 kB / 424.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=693) (initialization): time 0.02362/0.7836, allocations: 7.75 MB / 432.1 MB, free: 4.551 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.7838, allocations: 63.75 kB / 432.2 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008621/0.7924, allocations: 2.48 MB / 434.7 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006147/0.7986, allocations: 1.268 MB / 435.9 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2274/1.026, allocations: 1.215 MB / 437.1 MB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009963/1.036, allocations: 5.066 MB / 442.2 MB, free: 117.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006393/1.042, allocations: 380.8 kB / 442.6 MB, free: 117.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.044, allocations: 334.5 kB / 442.9 MB, free: 117.9 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): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004736/1.048, allocations: 1.789 MB / 444.7 MB, free: 117.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/1.049, allocations: 296.4 kB / 445 MB, free: 117.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009433/1.059, allocations: 2.693 MB / 447.7 MB, free: 116.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007858/1.067, allocations: 2.305 MB / 450 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.219e-05/1.067, allocations: 5.438 kB / 450 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/1.067, allocations: 5.266 kB / 450 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008452/1.075, allocations: 3.353 MB / 453.4 MB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/1.075, allocations: 0 / 453.4 MB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.078, allocations: 208.7 kB / 453.6 MB, free: 114.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005686/1.083, allocations: 1.051 MB / 454.6 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/1.084, allocations: 36.17 kB / 454.6 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008364/1.092, allocations: 5.063 MB / 459.7 MB, free: 111 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00118/1.093, allocations: 1.487 MB / 461.2 MB, free: 109.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.106, allocations: 4.921 MB / 466.1 MB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.107, allocations: 367.6 kB / 466.5 MB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009565/1.108, allocations: 26.8 kB / 466.5 MB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002658/1.111, allocations: 126.8 kB / 466.6 MB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/1.111, allocations: 82.55 kB / 466.7 MB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/1.111, allocations: 43.47 kB / 466.7 MB, free: 107.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004865/1.116, allocations: 2.265 MB / 469 MB, free: 106.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.116, allocations: 0 / 469 MB, free: 106.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006217/1.122, allocations: 0.9387 MB / 470 MB, free: 106.1 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.0008929/1.123, allocations: 184.4 kB / 470.1 MB, free: 106 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01307/1.136, allocations: 5.102 MB / 475.2 MB, free: 102.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.136, allocations: 0 / 475.2 MB, free: 102.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006013/1.142, allocations: 1.962 MB / 477.2 MB, free: 100.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/1.145, allocations: 359.4 kB / 477.5 MB, free: 100.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.166, allocations: 9.67 MB / 487.2 MB, free: 90.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005406/1.171, allocations: 2.929 MB / 490.1 MB, free: 87.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.007225/1.178, allocations: 1.671 MB / 491.8 MB, free: 85.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/1.18, allocations: 207.4 kB / 492 MB, free: 85.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.332e-06/1.18, allocations: 0 / 492 MB, free: 85.74 MB / 362.7 MB Notification: Performance of Templates: time 0.109/1.288, allocations: 31.18 MB / 0.5109 GB, free: 54.66 MB / 362.7 MB