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 1.882/1.882, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.548e-05, allocations: 0 / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0803/0.08035, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4302, allocations: 86.94 MB / 386.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.4304, allocations: 83.58 kB / 386.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2626/0.6931, allocations: 71.62 MB / 458.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.127e-06/0.6931, allocations: 0 / 458.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002199/0.6933, allocations: 71.98 kB / 458.6 MB, free: 13.98 MB / 346.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.01618/0.7095, allocations: 3.779 MB / 462.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.7096, allocations: 16.03 kB / 462.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.7224, allocations: 2.144 MB / 464.5 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01516/0.7376, allocations: 4.439 MB / 468.9 MB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.738, allocations: 275.2 kB / 469.2 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.7398, allocations: 363.8 kB / 469.6 MB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02416/0.7639, allocations: 8.969 MB / 478.5 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001964/0.7642, allocations: 55.56 kB / 478.6 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.7654, allocations: 175.9 kB / 478.8 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001862/0.7673, allocations: 0.8801 MB / 479.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/0.7866, allocations: 7.076 MB / 486.7 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3287/1.115, allocations: 43.16 MB / 0.5175 GB, free: 55.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/1.126, allocations: 3.136 MB / 0.5205 GB, free: 54.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/1.128, allocations: 1.361 MB / 0.5219 GB, free: 54.54 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/1.14, allocations: 6.066 MB / 0.5278 GB, free: 52.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/1.14, allocations: 46.12 kB / 0.5278 GB, free: 52.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=118): time 5.8e-06/1.14, allocations: 0 / 0.5278 GB, free: 52.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.02751/1.168, allocations: 8.936 MB / 0.5365 GB, free: 50.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001181/1.169, allocations: 1.615 MB / 0.5381 GB, free: 49.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/1.175, allocations: 3.112 MB / 0.5412 GB, free: 48.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002874/1.176, allocations: 40 kB / 0.5412 GB, free: 48.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.178, allocations: 2.73 MB / 0.5439 GB, free: 47.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007119/1.178, allocations: 0.522 MB / 0.5444 GB, free: 46.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000496/1.179, allocations: 104.4 kB / 0.5445 GB, free: 46.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003417/1.179, allocations: 0.5373 MB / 0.545 GB, free: 46.52 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/1.183, allocations: 1.829 MB / 0.5468 GB, free: 46.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00555/1.189, allocations: 5.201 MB / 0.5519 GB, free: 42.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00566/1.194, allocations: 3.059 MB / 0.5549 GB, free: 42.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.194, allocations: 33.91 kB / 0.5549 GB, free: 42.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.0231/1.218, allocations: 7.832 MB / 0.5625 GB, free: 40.94 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.218, allocations: 58.03 kB / 0.5626 GB, free: 40.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01077/1.228, allocations: 3.066 MB / 0.5656 GB, free: 40.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.239, allocations: 1.937 MB / 0.5675 GB, free: 39.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/1.245, allocations: 1.224 MB / 0.5687 GB, free: 39.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009284/1.254, allocations: 5.721 MB / 0.5743 GB, free: 36.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/1.26, allocations: 372.7 kB / 0.5746 GB, free: 36.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/1.261, allocations: 338 kB / 0.5749 GB, free: 36.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * 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 (657): * Single equations (assignments): 648 * 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.001058/1.262, allocations: 0.5279 MB / 0.5755 GB, free: 35.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007131/1.263, allocations: 291.6 kB / 0.5757 GB, free: 35.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00703/1.27, allocations: 2.664 MB / 0.5783 GB, free: 34.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005974/1.276, allocations: 2.248 MB / 0.5805 GB, free: 33.88 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.276, allocations: 4 kB / 0.5805 GB, free: 33.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/1.276, allocations: 7.297 kB / 0.5805 GB, free: 33.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007871/1.284, allocations: 3.353 MB / 0.5838 GB, free: 32.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.931e-05/1.284, allocations: 0 / 0.5838 GB, free: 32.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/1.286, allocations: 203.6 kB / 0.584 GB, free: 32.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003749/1.289, allocations: 1.043 MB / 0.585 GB, free: 32.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003144/1.29, allocations: 30.28 kB / 0.5851 GB, free: 32.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006793/1.297, allocations: 4.99 MB / 0.5899 GB, free: 29.04 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009964/1.298, allocations: 1.474 MB / 0.5914 GB, free: 27.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009365/1.307, allocations: 4.843 MB / 0.5961 GB, free: 23.74 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009866/1.308, allocations: 363.8 kB / 0.5964 GB, free: 23.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.309, allocations: 23.95 kB / 0.5965 GB, free: 23.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/1.311, allocations: 126.6 kB / 0.5966 GB, free: 23.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000404/1.311, allocations: 73.17 kB / 0.5967 GB, free: 23.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.311, allocations: 39.14 kB / 0.5967 GB, free: 23.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004719/1.316, allocations: 2.147 MB / 0.5988 GB, free: 21.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-06/1.316, allocations: 0 / 0.5988 GB, free: 21.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006222/1.322, allocations: 0.9344 MB / 0.5997 GB, free: 20.39 MB / 394.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.0005796/1.323, allocations: 172.8 kB / 0.5999 GB, free: 20.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/1.333, allocations: 4.863 MB / 0.6046 GB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/1.333, allocations: 0 / 0.6046 GB, free: 15.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004411/1.338, allocations: 1.972 MB / 0.6065 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/1.34, allocations: 358 kB / 0.6069 GB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/1.356, allocations: 7.205 MB / 0.6139 GB, free: 7.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005334/1.362, allocations: 2.941 MB / 0.6168 GB, free: 5.203 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.363, allocations: 249.9 kB / 0.617 GB, free: 4.969 MB / 394.7 MB Notification: Performance of SimCode: time 2.01e-06/1.363, allocations: 0 / 0.617 GB, free: 4.969 MB / 394.7 MB Notification: Performance of Templates: time 0.4223/1.785, allocations: 108.1 MB / 0.7226 GB, free: 115.3 MB / 442.7 MB