Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.972e-05, allocations: 4 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09198/0.09203, allocations: 50.41 MB / 342.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4076/0.4997, allocations: 79.3 MB / 421.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.5, allocations: 74.89 kB / 421.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03904/0.539, allocations: 9.554 MB / 431.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.5391, allocations: 0 / 431.5 MB, free: 6.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.5391, allocations: 8 kB / 431.5 MB, free: 6.746 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001638/0.5408, allocations: 0.7275 MB / 432.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5408, allocations: 8.031 kB / 432.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.541, allocations: 55.34 kB / 432.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005313/0.5415, allocations: 306 kB / 432.6 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.5416, allocations: 38.67 kB / 432.6 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.5417, allocations: 47.34 kB / 432.7 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009268/0.5427, allocations: 404.4 kB / 433 MB, free: 5.309 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.5427, allocations: 3.984 kB / 433.1 MB, free: 5.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.672e-05/0.5428, allocations: 17.81 kB / 433.1 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.5428, allocations: 12 kB / 433.1 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009035/0.5437, allocations: 362.3 kB / 433.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.547, allocations: 1.394 MB / 434.8 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.548, allocations: 488.4 kB / 435.3 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007744/0.5488, allocations: 329.8 kB / 435.6 MB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.845e-05/0.5489, allocations: 16.53 kB / 435.6 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.549, allocations: 42.31 kB / 435.7 MB, free: 3.379 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 4.163e-06/0.549, allocations: 4 kB / 435.7 MB, free: 3.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.00835/0.5573, allocations: 2.747 MB / 438.4 MB, free: 1.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.5574, allocations: 60.41 kB / 438.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.5578, allocations: 217.1 kB / 438.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.394e-05/0.5579, allocations: 43.27 kB / 438.7 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.558, allocations: 253.8 kB / 439 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003265/0.5584, allocations: 344.6 kB / 439.3 MB, free: 308 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.5584, allocations: 17.94 kB / 439.3 MB, free: 304 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5587, allocations: 352.6 kB / 439.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.5592, allocations: 229.7 kB / 439.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.5599, allocations: 294.1 kB / 440.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006348/0.5605, allocations: 251.2 kB / 440.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-06/0.5606, allocations: 3.938 kB / 440.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001522/0.5621, allocations: 0.6721 MB / 441.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.5621, allocations: 8 kB / 441.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.31e-06/0.5622, allocations: 0 / 441.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.5622, allocations: 4 kB / 441.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.5634, allocations: 215.5 kB / 441.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.5634, allocations: 7.984 kB / 441.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.564, allocations: 62.72 kB / 441.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-05/0.5641, allocations: 30.92 kB / 441.4 MB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002147/0.5643, allocations: 159.6 kB / 441.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/0.5645, allocations: 55.34 kB / 441.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.5647, allocations: 70.7 kB / 441.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5647, allocations: 8 kB / 441.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.64e-06/0.5647, allocations: 0 / 441.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.5647, allocations: 7.984 kB / 441.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/0.5686, allocations: 1.888 MB / 443.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.5687, allocations: 4 kB / 443.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.5699, allocations: 220.8 kB / 443.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.157e-05/0.5699, allocations: 8 kB / 443.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.028e-05/0.57, allocations: 25.98 kB / 443.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.23e-05/0.5701, allocations: 15.94 kB / 443.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.5701, allocations: 4 kB / 443.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.5727, allocations: 1.458 MB / 445.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.5729, allocations: 127.9 kB / 445.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.573, allocations: 22.48 kB / 445.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005779/0.5736, allocations: 57.66 kB / 445.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.5737, allocations: 78.58 kB / 445.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.712e-05/0.5738, allocations: 30.12 kB / 445.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002404/0.5741, allocations: 179.3 kB / 445.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.164e-06/0.5741, allocations: 0 / 445.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007563/0.5749, allocations: 156.4 kB / 446 MB, free: 10.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0002269/0.5751, allocations: 139.9 kB / 446.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.5765, allocations: 0.6144 MB / 446.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.054e-06/0.5766, allocations: 4 kB / 446.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.5774, allocations: 389.2 kB / 447.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.5782, allocations: 106 kB / 447.2 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.5812, allocations: 1.284 MB / 448.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.5818, allocations: 0.877 MB / 449.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.5822, allocations: 63.41 kB / 449.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of SimCode: time 1.995e-06/0.5822, allocations: 0 / 449.5 MB, free: 7.438 MB / 362.7 MB Notification: Performance of Templates: time 0.01385/0.5961, allocations: 6.946 MB / 456.4 MB, free: 496 kB / 362.7 MB