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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.957e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 47.58 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4792, allocations: 97.18 MB / 414.1 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4795, allocations: 87.14 kB / 414.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3698/0.8493, allocations: 93.92 MB / 0.4962 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.64e-06/0.8493, allocations: 0 / 0.4962 GB, free: 15.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002387/0.8496, allocations: 95.92 kB / 0.4963 GB, free: 15.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01831/0.8679, allocations: 4.715 MB / 0.5009 GB, free: 10.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.868, allocations: 8.031 kB / 0.5009 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.8843, allocations: 2.692 MB / 0.5035 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01798/0.9023, allocations: 5.606 MB / 0.509 GB, free: 2.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005385/0.9029, allocations: 361.5 kB / 0.5094 GB, free: 2.184 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002064/0.905, allocations: 479.8 kB / 0.5098 GB, free: 1.715 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.273/1.178, allocations: 12.46 MB / 0.522 GB, free: 90.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/1.178, allocations: 65.62 kB / 0.5221 GB, free: 90.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/1.18, allocations: 232 kB / 0.5223 GB, free: 90.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002355/1.182, allocations: 1.211 MB / 0.5235 GB, free: 90.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04193/1.224, allocations: 9.929 MB / 0.5332 GB, free: 90.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07147/1.295, allocations: 52.92 MB / 0.5848 GB, free: 55.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/1.309, allocations: 4.49 MB / 0.5892 GB, free: 53.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/1.312, allocations: 1.658 MB / 0.5908 GB, free: 53.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01474/1.327, allocations: 8.294 MB / 0.5989 GB, free: 48.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.327, allocations: 54.45 kB / 0.599 GB, free: 48.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 5.86e-06/1.327, allocations: 3 kB / 0.599 GB, free: 48.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=205): time 0.04304/1.37, allocations: 13.76 MB / 0.6124 GB, free: 43.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00108/1.371, allocations: 1.612 MB / 0.614 GB, free: 41.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006195/1.377, allocations: 3.696 MB / 0.6176 GB, free: 40.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003415/1.378, allocations: 55.19 kB / 0.6177 GB, free: 40.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001933/1.38, allocations: 3.414 MB / 0.621 GB, free: 37.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007774/1.38, allocations: 0.8087 MB / 0.6218 GB, free: 36.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/1.381, allocations: 136 kB / 0.6219 GB, free: 36.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003573/1.381, allocations: 0.5896 MB / 0.6225 GB, free: 35.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/1.385, allocations: 2.131 MB / 0.6246 GB, free: 33.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005594/1.391, allocations: 6.184 MB / 0.6306 GB, free: 26.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006251/1.397, allocations: 3.593 MB / 0.6341 GB, free: 23.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.825e-05/1.397, allocations: 44 kB / 0.6342 GB, free: 23.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01912/1.416, allocations: 8.469 MB / 0.6424 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.847e-05/1.416, allocations: 68 kB / 0.6425 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006767/1.423, allocations: 2.782 MB / 0.6452 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/1.427, allocations: 1.084 MB / 0.6463 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006436/1.433, allocations: 1.601 MB / 0.6478 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/1.438, allocations: 4.365 MB / 0.6521 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006913/1.445, allocations: 0.4951 MB / 0.6526 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008347/1.446, allocations: 419.3 kB / 0.653 GB, free: 6.234 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (845): * Single equations (assignments): 836 * 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.001033/1.447, allocations: 0.6228 MB / 0.6536 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006308/1.448, allocations: 375.1 kB / 0.654 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007053/1.455, allocations: 3.24 MB / 0.6571 GB, free: 2.648 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005974/1.461, allocations: 2.684 MB / 0.6597 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.461, allocations: 4 kB / 0.6597 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/1.461, allocations: 10.97 kB / 0.6597 GB, free: 500 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02928/1.49, allocations: 10.3 MB / 0.6698 GB, free: 7.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.98e-05/1.49, allocations: 12 kB / 0.6698 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/1.494, allocations: 367.4 kB / 0.6702 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006419/1.5, allocations: 0.9791 MB / 0.6711 GB, free: 5.887 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/1.501, allocations: 65.06 kB / 0.6712 GB, free: 5.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007205/1.508, allocations: 4.599 MB / 0.6757 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2542/1.762, allocations: 1.461 MB / 0.6771 GB, free: 96.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.775, allocations: 7.457 MB / 0.6844 GB, free: 93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.777, allocations: 0.6671 MB / 0.685 GB, free: 92.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007329/1.778, allocations: 56.66 kB / 0.6851 GB, free: 92.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.781, allocations: 178.9 kB / 0.6853 GB, free: 92.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/1.781, allocations: 173.2 kB / 0.6854 GB, free: 92.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000229/1.781, allocations: 79.09 kB / 0.6855 GB, free: 92.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006294/1.788, allocations: 2.536 MB / 0.688 GB, free: 92.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.508e-06/1.788, allocations: 0 / 0.688 GB, free: 92.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00748/1.795, allocations: 1.153 MB / 0.6891 GB, free: 92.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 (179): * Single equations (assignments): 172 * 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.0006544/1.796, allocations: 226.2 kB / 0.6893 GB, free: 92.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02026/1.816, allocations: 5.51 MB / 0.6947 GB, free: 92.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-05/1.816, allocations: 2.75 kB / 0.6947 GB, free: 92.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00859/1.825, allocations: 2.121 MB / 0.6968 GB, free: 91.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005741/1.831, allocations: 469.5 kB / 0.6972 GB, free: 91.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03371/1.864, allocations: 8.878 MB / 0.7059 GB, free: 89.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/1.876, allocations: 3.556 MB / 0.7094 GB, free: 88.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01392/1.89, allocations: 2.028 MB / 0.7113 GB, free: 88.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/1.892, allocations: 264.7 kB / 0.7116 GB, free: 88.55 MB / 442.7 MB Notification: Performance of SimCode: time 3.207e-06/1.892, allocations: 4 kB / 0.7116 GB, free: 88.55 MB / 442.7 MB Notification: Performance of Templates: time 0.0993/1.991, allocations: 36.46 MB / 0.7472 GB, free: 86.46 MB / 442.7 MB