Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|p2.s|p2.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.893e-05, allocations: 4.031 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07856/0.07861, allocations: 44.51 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3587/0.4373, allocations: 90.28 MB / 390.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.4377, allocations: 85.22 kB / 390.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3535/0.7912, allocations: 91.78 MB / 482 MB, free: 6.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.62e-06/0.7912, allocations: 0 / 482 MB, free: 6.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002528/0.7915, allocations: 88 kB / 482.1 MB, free: 6.254 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1644 * Number of variables: 1644 Notification: Performance of Generate backend data structure: time 0.01878/0.8103, allocations: 4.621 MB / 486.7 MB, free: 1.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.8104, allocations: 15.97 kB / 486.7 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.8268, allocations: 2.677 MB / 489.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/0.8449, allocations: 5.551 MB / 495 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000552/0.8455, allocations: 353.2 kB / 495.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002142/0.8477, allocations: 463.8 kB / 495.8 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03362/0.8813, allocations: 12.21 MB / 0.4961 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.8816, allocations: 79.28 kB / 0.4961 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001661/0.8833, allocations: 231.9 kB / 0.4964 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002603/0.8859, allocations: 1.167 MB / 0.4975 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2579/1.144, allocations: 9.712 MB / 0.507 GB, free: 70.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06455/1.208, allocations: 52.34 MB / 0.5581 GB, free: 38.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01361/1.222, allocations: 4.01 MB / 0.562 GB, free: 37.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003032/1.225, allocations: 1.596 MB / 0.5636 GB, free: 37.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/1.24, allocations: 7.407 MB / 0.5708 GB, free: 35.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/1.24, allocations: 58.45 kB / 0.5709 GB, free: 35.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 6.35e-06/1.24, allocations: 0 / 0.5709 GB, free: 35.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.04909/1.289, allocations: 13.81 MB / 0.5844 GB, free: 30.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00111/1.291, allocations: 1.598 MB / 0.5859 GB, free: 28.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007901/1.299, allocations: 3.658 MB / 0.5895 GB, free: 27.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003853/1.299, allocations: 55.89 kB / 0.5895 GB, free: 27.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002342/1.301, allocations: 3.312 MB / 0.5928 GB, free: 24.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009737/1.302, allocations: 0.7503 MB / 0.5935 GB, free: 24.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006122/1.303, allocations: 130.2 kB / 0.5936 GB, free: 24.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003926/1.303, allocations: 0.5824 MB / 0.5942 GB, free: 23.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/1.308, allocations: 2.098 MB / 0.5962 GB, free: 22.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006677/1.315, allocations: 6.119 MB / 0.6022 GB, free: 16.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/1.321, allocations: 3.538 MB / 0.6057 GB, free: 15.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/1.321, allocations: 48.23 kB / 0.6057 GB, free: 15.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.02031/1.342, allocations: 8.23 MB / 0.6138 GB, free: 13.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/1.342, allocations: 65.41 kB / 0.6138 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006837/1.349, allocations: 2.697 MB / 0.6165 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/1.353, allocations: 1.086 MB / 0.6175 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006952/1.36, allocations: 1.567 MB / 0.6191 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/1.365, allocations: 4.375 MB / 0.6233 GB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007239/1.372, allocations: 0.5049 MB / 0.6238 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.374, allocations: 408.3 kB / 0.6242 GB, free: 7.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 42 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (825): * Single equations (assignments): 816 * 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.001087/1.375, allocations: 0.6142 MB / 0.6248 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007732/1.376, allocations: 379.1 kB / 0.6252 GB, free: 6.094 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007012/1.383, allocations: 3.122 MB / 0.6282 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005899/1.389, allocations: 2.591 MB / 0.6307 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/1.389, allocations: 7.953 kB / 0.6308 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/1.389, allocations: 15.33 kB / 0.6308 GB, free: 1.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02757/1.416, allocations: 10.07 MB / 0.6406 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.75e-05/1.416, allocations: 20.19 kB / 0.6406 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002112/1.418, allocations: 348.2 kB / 0.6409 GB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003885/1.422, allocations: 0.977 MB / 0.6419 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004199/1.423, allocations: 58.7 kB / 0.642 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/1.43, allocations: 4.586 MB / 0.6464 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001494/1.431, allocations: 1.464 MB / 0.6479 GB, free: 2.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.45, allocations: 7.424 MB / 0.6551 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002335/1.452, allocations: 0.6573 MB / 0.6558 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008947/1.453, allocations: 58.66 kB / 0.6558 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.456, allocations: 176.9 kB / 0.656 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005014/1.456, allocations: 157 kB / 0.6561 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/1.457, allocations: 71.75 kB / 0.6562 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006109/1.463, allocations: 2.516 MB / 0.6587 GB, free: 9.477 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.208e-06/1.463, allocations: 0 / 0.6587 GB, free: 9.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008027/1.471, allocations: 1.118 MB / 0.6598 GB, free: 8.367 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 157 * 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.0007635/1.472, allocations: 210 kB / 0.66 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01286/1.485, allocations: 5.416 MB / 0.6652 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/1.485, allocations: 8 kB / 0.6652 GB, free: 3.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005235/1.49, allocations: 2.079 MB / 0.6673 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/1.493, allocations: 437.3 kB / 0.6677 GB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2575/1.751, allocations: 9.15 MB / 0.6766 GB, free: 98.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008306/1.759, allocations: 3.508 MB / 0.6801 GB, free: 97.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/1.761, allocations: 311.7 kB / 0.6804 GB, free: 97.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.08e-06/1.761, allocations: 0 / 0.6804 GB, free: 97.62 MB / 426.7 MB Notification: Performance of Templates: time 0.1799/1.941, allocations: 129.8 MB / 0.8071 GB, free: 14.57 MB / 426.7 MB