Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadModel(Modelica): time 1.987/1.987, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.443e-05, allocations: 7.984 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09176, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5379, allocations: 99.04 MB / 441.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5382, allocations: 86.14 kB / 441.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4069/0.9451, allocations: 94.99 MB / 0.5241 GB, free: 392 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.42e-06/0.9451, allocations: 0 / 0.5241 GB, free: 392 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002442/0.9454, allocations: 95.94 kB / 0.5242 GB, free: 296 kB / 442.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.2704/1.216, allocations: 4.698 MB / 0.5288 GB, free: 97.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.216, allocations: 9.625 kB / 0.5288 GB, free: 97.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0176/1.234, allocations: 2.693 MB / 0.5314 GB, free: 97.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/1.251, allocations: 5.312 MB / 0.5366 GB, free: 96.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006133/1.252, allocations: 360.1 kB / 0.5369 GB, free: 96.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/1.254, allocations: 479.7 kB / 0.5374 GB, free: 96.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03257/1.287, allocations: 12.47 MB / 0.5496 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002717/1.287, allocations: 70.84 kB / 0.5496 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/1.289, allocations: 234.9 kB / 0.5499 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/1.291, allocations: 1.203 MB / 0.551 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02649/1.318, allocations: 9.929 MB / 0.5607 GB, free: 93.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06395/1.382, allocations: 52.88 MB / 0.6124 GB, free: 55.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.397, allocations: 4.495 MB / 0.6168 GB, free: 53.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/1.4, allocations: 1.663 MB / 0.6184 GB, free: 53.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01531/1.415, allocations: 8.267 MB / 0.6265 GB, free: 48.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/1.415, allocations: 54.94 kB / 0.6265 GB, free: 48.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 6.539e-06/1.415, allocations: 0 / 0.6265 GB, free: 48.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=205): time 0.04447/1.46, allocations: 13.67 MB / 0.6399 GB, free: 37.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001125/1.461, allocations: 1.591 MB / 0.6414 GB, free: 36.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006672/1.468, allocations: 3.668 MB / 0.645 GB, free: 32.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003679/1.468, allocations: 53.7 kB / 0.645 GB, free: 32.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/1.47, allocations: 3.332 MB / 0.6483 GB, free: 29.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001024/1.471, allocations: 0.8082 MB / 0.6491 GB, free: 29.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/1.472, allocations: 132 kB / 0.6492 GB, free: 28.92 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004119/1.472, allocations: 0.5951 MB / 0.6498 GB, free: 28.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004328/1.477, allocations: 2.133 MB / 0.6519 GB, free: 26.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006694/1.484, allocations: 6.186 MB / 0.6579 GB, free: 18.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006532/1.49, allocations: 3.592 MB / 0.6614 GB, free: 15.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.49, allocations: 44 kB / 0.6615 GB, free: 15.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=883) (initialization): time 0.01981/1.51, allocations: 8.344 MB / 0.6696 GB, free: 8.316 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/1.51, allocations: 68 kB / 0.6697 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006589/1.517, allocations: 2.787 MB / 0.6724 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/1.521, allocations: 1.082 MB / 0.6735 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00739/1.528, allocations: 1.598 MB / 0.675 GB, free: 3.797 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/1.534, allocations: 4.379 MB / 0.6793 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007914/1.542, allocations: 0.4916 MB / 0.6798 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.543, allocations: 419.9 kB / 0.6802 GB, free: 14.33 MB / 458.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.001656/1.545, allocations: 0.6261 MB / 0.6808 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009572/1.546, allocations: 375.1 kB / 0.6812 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008928/1.555, allocations: 3.227 MB / 0.6843 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007328/1.562, allocations: 2.687 MB / 0.6869 GB, free: 7.363 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/1.562, allocations: 7.938 kB / 0.6869 GB, free: 7.355 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-05/1.562, allocations: 11.92 kB / 0.6869 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2914/1.854, allocations: 10.27 MB / 0.697 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-05/1.854, allocations: 13.72 kB / 0.697 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/1.856, allocations: 365.5 kB / 0.6973 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00416/1.86, allocations: 0.9773 MB / 0.6983 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004334/1.861, allocations: 62.03 kB / 0.6983 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006481/1.867, allocations: 4.596 MB / 0.7028 GB, free: 97.74 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001068/1.868, allocations: 1.469 MB / 0.7043 GB, free: 96.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.881, allocations: 7.44 MB / 0.7115 GB, free: 93.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/1.883, allocations: 456.2 kB / 0.712 GB, free: 93.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.884, allocations: 60.95 kB / 0.712 GB, free: 93.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005555/1.889, allocations: 174.9 kB / 0.7122 GB, free: 93.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/1.891, allocations: 177.3 kB / 0.7124 GB, free: 93.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000471/1.891, allocations: 79.06 kB / 0.7124 GB, free: 93.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01098/1.902, allocations: 2.516 MB / 0.7149 GB, free: 93.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.002e-06/1.902, allocations: 0 / 0.7149 GB, free: 93.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01479/1.917, allocations: 1.153 MB / 0.716 GB, free: 93.16 MB / 458.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.001318/1.918, allocations: 223.2 kB / 0.7162 GB, free: 93.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02104/1.939, allocations: 5.515 MB / 0.7216 GB, free: 92.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.507e-05/1.94, allocations: 2.906 kB / 0.7216 GB, free: 92.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009179/1.949, allocations: 2.122 MB / 0.7237 GB, free: 92.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/1.955, allocations: 466.2 kB / 0.7241 GB, free: 92.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/1.985, allocations: 9.358 MB / 0.7333 GB, free: 89.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007045/1.992, allocations: 3.548 MB / 0.7367 GB, free: 89.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.994, allocations: 320.9 kB / 0.737 GB, free: 89.12 MB / 458.7 MB Notification: Performance of SimCode: time 2.127e-06/1.994, allocations: 0 / 0.737 GB, free: 89.12 MB / 458.7 MB Notification: Performance of Templates: time 0.4416/2.435, allocations: 132.1 MB / 0.866 GB, free: 115.9 MB / 474.7 MB