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.872/1.872, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.096e-05, allocations: 4 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2943, allocations: 44.48 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.4381, allocations: 89.62 MB / 383.7 MB, free: 8.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.4384, allocations: 91.83 kB / 383.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5325/0.971, allocations: 89.75 MB / 473.6 MB, free: 74.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.284e-06/0.971, allocations: 0 / 473.6 MB, free: 74.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002009/0.9712, allocations: 95.38 kB / 473.7 MB, free: 74.68 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.01639/0.9876, allocations: 4.615 MB / 478.3 MB, free: 70.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.9877, allocations: 12.03 kB / 478.3 MB, free: 70 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/1.003, allocations: 2.677 MB / 481 MB, free: 67.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01538/1.018, allocations: 5.536 MB / 486.5 MB, free: 61.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/1.018, allocations: 159.9 kB / 486.7 MB, free: 61.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/1.02, allocations: 271.9 kB / 486.9 MB, free: 61.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01348/1.034, allocations: 6.722 MB / 493.6 MB, free: 54.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/1.054, allocations: 10.19 MB / 0.492 GB, free: 43.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/1.054, allocations: 67.34 kB / 0.4921 GB, free: 43.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.055, allocations: 36 kB / 0.4921 GB, free: 43.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/1.057, allocations: 1.182 MB / 0.4933 GB, free: 41.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06127/1.119, allocations: 51.93 MB / 0.544 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/1.124, allocations: 2.644 MB / 0.5466 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002985/1.127, allocations: 1.452 MB / 0.548 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008591/1.128, allocations: 0.5611 MB / 0.5485 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.128, allocations: 51.88 kB / 0.5486 GB, free: 15.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=168): time 6.196e-06/1.128, allocations: 0 / 0.5486 GB, free: 15.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=185): time 0.03906/1.167, allocations: 12.19 MB / 0.5605 GB, free: 3.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.167, allocations: 149.8 kB / 0.5606 GB, free: 3.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2325/1.399, allocations: 3.192 MB / 0.5638 GB, free: 99.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003807/1.4, allocations: 26.89 kB / 0.5638 GB, free: 99.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002805/1.403, allocations: 3.395 MB / 0.5671 GB, free: 98.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009868/1.404, allocations: 0.722 MB / 0.5678 GB, free: 98.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000573/1.404, allocations: 0 / 0.5678 GB, free: 98.06 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004847/1.405, allocations: 0.5948 MB / 0.5684 GB, free: 97.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004681/1.41, allocations: 2.009 MB / 0.5703 GB, free: 97.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007345/1.417, allocations: 6.183 MB / 0.5764 GB, free: 92.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006816/1.424, allocations: 3.477 MB / 0.5798 GB, free: 92.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002263/1.424, allocations: 43.53 kB / 0.5798 GB, free: 92.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02079/1.445, allocations: 7.89 MB / 0.5875 GB, free: 91.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.445, allocations: 71.62 kB / 0.5876 GB, free: 91.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006461/1.452, allocations: 2.581 MB / 0.5901 GB, free: 91.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004307/1.456, allocations: 1.079 MB / 0.5912 GB, free: 91.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006846/1.463, allocations: 1.619 MB / 0.5927 GB, free: 91.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005123/1.468, allocations: 4.232 MB / 0.5969 GB, free: 88.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00757/1.476, allocations: 387.3 kB / 0.5973 GB, free: 88.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001538/1.477, allocations: 425.6 kB / 0.5977 GB, free: 88.42 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 685 * 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 (849): * Single equations (assignments): 840 * 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.001768/1.479, allocations: 488.9 kB / 0.5981 GB, free: 88.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/1.48, allocations: 336.5 kB / 0.5984 GB, free: 87.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00745/1.487, allocations: 2.929 MB / 0.6013 GB, free: 86.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006347/1.494, allocations: 2.452 MB / 0.6037 GB, free: 86.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.494, allocations: 5.031 kB / 0.6037 GB, free: 86.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/1.494, allocations: 13.19 kB / 0.6037 GB, free: 86.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0228/1.517, allocations: 9.08 MB / 0.6126 GB, free: 82.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-05/1.517, allocations: 17.12 kB / 0.6126 GB, free: 82.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/1.519, allocations: 334.3 kB / 0.6129 GB, free: 82.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004024/1.523, allocations: 0.955 MB / 0.6139 GB, free: 82.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004233/1.523, allocations: 31.75 kB / 0.6139 GB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00574/1.529, allocations: 4.471 MB / 0.6182 GB, free: 79.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009459/1.53, allocations: 1.416 MB / 0.6196 GB, free: 78.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.541, allocations: 6.631 MB / 0.6261 GB, free: 73.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.543, allocations: 0.6199 MB / 0.6267 GB, free: 72.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/1.544, allocations: 18.86 kB / 0.6267 GB, free: 72.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002648/1.546, allocations: 150.7 kB / 0.6269 GB, free: 72.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.547, allocations: 151.3 kB / 0.627 GB, free: 72.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002033/1.547, allocations: 68.81 kB / 0.6271 GB, free: 72.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004342/1.551, allocations: 2.096 MB / 0.6291 GB, free: 70.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.551, allocations: 0 / 0.6291 GB, free: 70.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007736/1.559, allocations: 0.9834 MB / 0.6301 GB, free: 69.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 14 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (161): * Single equations (assignments): 154 * 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.0006845/1.56, allocations: 181 kB / 0.6303 GB, free: 69.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.57, allocations: 5.343 MB / 0.6355 GB, free: 64.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.57, allocations: 0 / 0.6355 GB, free: 64.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004273/1.574, allocations: 2.058 MB / 0.6375 GB, free: 62.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002757/1.577, allocations: 351.6 kB / 0.6378 GB, free: 62.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.597, allocations: 9.015 MB / 0.6466 GB, free: 54.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006369/1.603, allocations: 3.483 MB / 0.65 GB, free: 51.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/1.604, allocations: 307.8 kB / 0.6503 GB, free: 51.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.711e-06/1.604, allocations: 0 / 0.6503 GB, free: 51.52 MB / 394.7 MB Notification: Performance of Templates: time 0.4047/2.009, allocations: 128.1 MB / 0.7755 GB, free: 75.08 MB / 410.7 MB