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_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.926e-05, allocations: 4 kB / 255.4 MB, free: 2.676 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07688/0.07693, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3665/0.4435, allocations: 90.28 MB / 390.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4438, allocations: 89.03 kB / 390.3 MB, free: 19.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4135/0.8573, allocations: 91.78 MB / 482 MB, free: 5.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.8574, allocations: 0 / 482 MB, free: 5.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003557/0.8578, allocations: 91.98 kB / 482.1 MB, free: 5.746 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.02132/0.8791, allocations: 4.629 MB / 486.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.8792, allocations: 8.031 kB / 486.8 MB, free: 1.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.8948, allocations: 2.677 MB / 489.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/0.9123, allocations: 5.547 MB / 495 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000466/0.9128, allocations: 353.2 kB / 495.3 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.9146, allocations: 463.8 kB / 495.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05254/0.9672, allocations: 12.22 MB / 0.4961 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004758/0.9678, allocations: 71.3 kB / 0.4962 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002678/0.9705, allocations: 227.9 kB / 0.4964 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005019/0.9755, allocations: 1.167 MB / 0.4975 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.279/1.255, allocations: 9.721 MB / 0.507 GB, free: 69.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06362/1.318, allocations: 52.33 MB / 0.5581 GB, free: 37.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/1.332, allocations: 4.014 MB / 0.562 GB, free: 36.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002835/1.335, allocations: 1.599 MB / 0.5636 GB, free: 36.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01332/1.348, allocations: 7.408 MB / 0.5708 GB, free: 33.92 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.348, allocations: 52.36 kB / 0.5709 GB, free: 33.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 6.469e-06/1.348, allocations: 0 / 0.5709 GB, free: 33.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=188): time 0.04775/1.396, allocations: 13.82 MB / 0.5844 GB, free: 28.97 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001081/1.397, allocations: 1.59 MB / 0.5859 GB, free: 27.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006815/1.404, allocations: 3.668 MB / 0.5895 GB, free: 26.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003649/1.404, allocations: 51.28 kB / 0.5896 GB, free: 26.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/1.406, allocations: 3.381 MB / 0.5929 GB, free: 23.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.408, allocations: 0.7507 MB / 0.5936 GB, free: 22.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009723/1.409, allocations: 131.6 kB / 0.5937 GB, free: 22.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000802/1.41, allocations: 0.5848 MB / 0.5943 GB, free: 22.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008417/1.418, allocations: 2.093 MB / 0.5963 GB, free: 21.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/1.43, allocations: 6.121 MB / 0.6023 GB, free: 15.55 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/1.442, allocations: 3.536 MB / 0.6058 GB, free: 14.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001904/1.443, allocations: 47.33 kB / 0.6058 GB, free: 14.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=863) (initialization): time 0.03821/1.481, allocations: 8.352 MB / 0.614 GB, free: 11.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001885/1.481, allocations: 71 kB / 0.614 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.013/1.494, allocations: 2.695 MB / 0.6167 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00446/1.499, allocations: 1.082 MB / 0.6177 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006654/1.505, allocations: 1.574 MB / 0.6193 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004901/1.51, allocations: 4.374 MB / 0.6235 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007238/1.517, allocations: 0.4983 MB / 0.624 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001284/1.519, allocations: 414 kB / 0.6244 GB, free: 5.426 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.001111/1.52, allocations: 0.6183 MB / 0.625 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007608/1.521, allocations: 367.2 kB / 0.6254 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00688/1.528, allocations: 3.131 MB / 0.6284 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006976/1.535, allocations: 2.647 MB / 0.631 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/1.535, allocations: 11.61 kB / 0.631 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/1.535, allocations: 11.64 kB / 0.631 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02487/1.56, allocations: 9.935 MB / 0.6407 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/1.56, allocations: 19.84 kB / 0.6408 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.562, allocations: 343 kB / 0.6411 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003798/1.566, allocations: 0.9822 MB / 0.642 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003794/1.566, allocations: 58.7 kB / 0.6421 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006802/1.573, allocations: 4.587 MB / 0.6466 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001433/1.574, allocations: 1.464 MB / 0.648 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/1.587, allocations: 7.144 MB / 0.655 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/1.589, allocations: 0.6415 MB / 0.6556 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007144/1.59, allocations: 63.67 kB / 0.6557 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/1.593, allocations: 171.1 kB / 0.6558 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004131/1.593, allocations: 157.7 kB / 0.656 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/1.593, allocations: 72.5 kB / 0.6561 GB, free: 9.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005855/1.599, allocations: 2.516 MB / 0.6585 GB, free: 6.906 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.641e-06/1.599, allocations: 0 / 0.6585 GB, free: 6.906 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0077/1.607, allocations: 1.115 MB / 0.6596 GB, free: 5.797 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.0006836/1.608, allocations: 207.8 kB / 0.6598 GB, free: 5.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01252/1.62, allocations: 5.413 MB / 0.6651 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/1.62, allocations: 4 kB / 0.6651 GB, free: 0.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2426/1.863, allocations: 2.108 MB / 0.6672 GB, free: 99.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/1.866, allocations: 443.4 kB / 0.6676 GB, free: 99.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/1.889, allocations: 8.669 MB / 0.676 GB, free: 97.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007938/1.897, allocations: 3.491 MB / 0.6795 GB, free: 96.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007509/1.904, allocations: 1.998 MB / 0.6814 GB, free: 96.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/1.905, allocations: 269.3 kB / 0.6817 GB, free: 96.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.097e-06/1.905, allocations: 0 / 0.6817 GB, free: 96.52 MB / 426.7 MB Notification: Performance of Templates: time 0.09868/2.004, allocations: 35.55 MB / 0.7164 GB, free: 94.57 MB / 426.7 MB