Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.109e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09352, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4464, allocations: 77.79 MB / 420.3 MB, free: 332 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.4467, allocations: 60.66 kB / 420.4 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.4703, allocations: 5.879 MB / 426.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.965e-06/0.4703, allocations: 4 kB / 426.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.4704, allocations: 4 kB / 426.3 MB, free: 11.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001031/0.4714, allocations: 0.5411 MB / 426.8 MB, free: 10.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4715, allocations: 11.97 kB / 426.8 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.644e-05/0.4716, allocations: 39.62 kB / 426.9 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.472, allocations: 245.9 kB / 427.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.472, allocations: 24 kB / 427.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.814e-05/0.4721, allocations: 27.75 kB / 427.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.4727, allocations: 256.1 kB / 427.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.4727, allocations: 3.906 kB / 427.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.4728, allocations: 11.69 kB / 427.4 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.4728, allocations: 12 kB / 427.4 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005401/0.4734, allocations: 217.8 kB / 427.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.4751, allocations: 0.8113 MB / 428.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006811/0.4758, allocations: 333.2 kB / 428.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.4762, allocations: 181.3 kB / 429 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.4763, allocations: 4 kB / 429 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.4763, allocations: 37.5 kB / 429 MB, free: 9.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.79e-06/0.4763, allocations: 4 kB / 429 MB, free: 9.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.004795/0.4811, allocations: 1.756 MB / 430.8 MB, free: 7.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4812, allocations: 63.84 kB / 430.8 MB, free: 7.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.4815, allocations: 179.7 kB / 431 MB, free: 7.297 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.4815, allocations: 37.27 kB / 431 MB, free: 7.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.4817, allocations: 197.3 kB / 431.2 MB, free: 7.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4819, allocations: 213.1 kB / 431.4 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.482, allocations: 18.56 kB / 431.5 MB, free: 6.891 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4822, allocations: 334.4 kB / 431.8 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.4825, allocations: 135.8 kB / 431.9 MB, free: 6.484 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.4828, allocations: 146.5 kB / 432.1 MB, free: 6.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.4832, allocations: 154.5 kB / 432.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.589e-06/0.4833, allocations: 3.938 kB / 432.2 MB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009209/0.4842, allocations: 435.1 kB / 432.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4842, allocations: 4 kB / 432.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.82e-06/0.4842, allocations: 0 / 432.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4843, allocations: 7.984 kB / 432.7 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.485, allocations: 123.1 kB / 432.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.485, allocations: 4 kB / 432.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.4853, allocations: 29.98 kB / 432.8 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.4853, allocations: 11.38 kB / 432.8 MB, free: 5.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001694/0.4855, allocations: 150.2 kB / 433 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.4856, allocations: 31.62 kB / 433 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4858, allocations: 44.72 kB / 433 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4858, allocations: 8 kB / 433 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.637e-06/0.4858, allocations: 0 / 433 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.4858, allocations: 7.922 kB / 433.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.4884, allocations: 1.261 MB / 434.3 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.4885, allocations: 4 kB / 434.3 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.4892, allocations: 123.3 kB / 434.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.771e-05/0.4892, allocations: 8 kB / 434.4 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.4893, allocations: 22.42 kB / 434.5 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.548e-05/0.4893, allocations: 8 kB / 434.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.973e-06/0.4893, allocations: 7.938 kB / 434.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.4909, allocations: 1.023 MB / 435.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4911, allocations: 111.8 kB / 435.6 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.4912, allocations: 19.03 kB / 435.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/0.4916, allocations: 33.67 kB / 435.7 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4917, allocations: 49.91 kB / 435.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.4918, allocations: 26.98 kB / 435.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.4919, allocations: 139.1 kB / 435.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.492, allocations: 0 / 435.9 MB, free: 3.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005881/0.4926, allocations: 96.94 kB / 436 MB, free: 2.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.4928, allocations: 123.9 kB / 436.1 MB, free: 2.828 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008206/0.4936, allocations: 378.3 kB / 436.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.238e-06/0.4936, allocations: 0 / 436.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.4941, allocations: 240 kB / 436.7 MB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.4947, allocations: 68.75 kB / 436.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.4966, allocations: 0.8625 MB / 437.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.4972, allocations: 0.7972 MB / 438.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.4974, allocations: 43.42 kB / 438.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of SimCode: time 1.796e-06/0.4974, allocations: 0 / 438.5 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of Templates: time 0.008908/0.5063, allocations: 4.359 MB / 442.8 MB, free: 12.33 MB / 362.7 MB