Running command: translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadModel(Modelica): time 1.192/1.192, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.324e-05, allocations: 0 / 151.4 MB, free: 15.63 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 25.16 MB / 176.5 MB, free: 15.99 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05491/0.1983, allocations: 35.18 MB / 211.7 MB, free: 14.29 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.1986, allocations: 67.95 kB / 211.8 MB, free: 14.22 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03986/0.2385, allocations: 8.713 MB / 220.5 MB, free: 5.473 MB / 186.7 MB Notification: Performance of FrontEnd: time 3.561e-06/0.2385, allocations: 0 / 220.5 MB, free: 5.473 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.121e-05/0.2386, allocations: 11.94 kB / 220.5 MB, free: 5.461 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002541/0.2412, allocations: 0.7015 MB / 221.2 MB, free: 4.715 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.2412, allocations: 12.03 kB / 221.2 MB, free: 4.703 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.2415, allocations: 51.34 kB / 221.3 MB, free: 4.652 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007971/0.2424, allocations: 285.4 kB / 221.6 MB, free: 4.336 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-05/0.2425, allocations: 36.94 kB / 221.6 MB, free: 4.301 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.2427, allocations: 48 kB / 221.6 MB, free: 4.254 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.2443, allocations: 380.5 kB / 222 MB, free: 3.875 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.389e-05/0.2444, allocations: 7.906 kB / 222 MB, free: 3.867 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.2445, allocations: 16 kB / 222 MB, free: 3.852 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.2446, allocations: 12 kB / 222 MB, free: 3.84 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.2462, allocations: 345.9 kB / 222.4 MB, free: 3.5 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/0.2517, allocations: 1.347 MB / 223.7 MB, free: 2.09 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.2535, allocations: 443.6 kB / 224.2 MB, free: 1.648 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.2549, allocations: 323 kB / 224.5 MB, free: 1.328 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.2551, allocations: 12.55 kB / 224.5 MB, free: 1.316 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.2551, allocations: 35.12 kB / 224.5 MB, free: 1.273 MB / 186.7 MB Notification: Performance of pre-optimization done (n=62): time 5.956e-06/0.2552, allocations: 0 / 224.5 MB, free: 1.273 MB / 186.7 MB Notification: Performance of matching and sorting (n=98): time 0.01447/0.2696, allocations: 2.669 MB / 227.2 MB, free: 14.52 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.2698, allocations: 60.19 kB / 227.3 MB, free: 14.44 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.2703, allocations: 211.2 kB / 227.5 MB, free: 14.23 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001582/0.2705, allocations: 41.7 kB / 227.5 MB, free: 14.19 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.2708, allocations: 239.7 kB / 227.7 MB, free: 13.95 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005597/0.2714, allocations: 331.1 kB / 228.1 MB, free: 13.62 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.2715, allocations: 20 kB / 228.1 MB, free: 13.6 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002716/0.2718, allocations: 347.1 kB / 228.4 MB, free: 13.25 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.2728, allocations: 217.9 kB / 228.6 MB, free: 13.04 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.274, allocations: 283.5 kB / 228.9 MB, free: 12.75 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.2758, allocations: 240.9 kB / 229.1 MB, free: 12.52 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.48e-06/0.2759, allocations: 4 kB / 229.1 MB, free: 12.52 MB / 202.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004232/0.2802, allocations: 0.6378 MB / 229.8 MB, free: 11.87 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.2803, allocations: 8.766 kB / 229.8 MB, free: 11.86 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.2803, allocations: 0 / 229.8 MB, free: 11.86 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.462e-05/0.2804, allocations: 8 kB / 229.8 MB, free: 11.86 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/0.2828, allocations: 207.8 kB / 230 MB, free: 11.65 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.2829, allocations: 11.92 kB / 230 MB, free: 11.64 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.2834, allocations: 55.97 kB / 230.1 MB, free: 11.59 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.2836, allocations: 35.92 kB / 230.1 MB, free: 11.55 MB / 202.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 (108): * Single equations (assignments): 108 * 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.0002338/0.2838, allocations: 148.6 kB / 230.3 MB, free: 11.4 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.284, allocations: 51.34 kB / 230.3 MB, free: 11.35 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.2842, allocations: 73.27 kB / 230.4 MB, free: 11.28 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.2842, allocations: 8 kB / 230.4 MB, free: 11.27 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.2842, allocations: 7.938 kB / 230.4 MB, free: 11.26 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.2843, allocations: 7.984 kB / 230.4 MB, free: 11.25 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.2885, allocations: 1.841 MB / 232.2 MB, free: 9.301 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.2885, allocations: 8 kB / 232.2 MB, free: 9.293 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.2898, allocations: 207.7 kB / 232.4 MB, free: 9.09 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-05/0.2899, allocations: 8 kB / 232.5 MB, free: 9.082 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.403e-05/0.29, allocations: 32.23 kB / 232.5 MB, free: 9.051 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.64e-05/0.29, allocations: 8 kB / 232.5 MB, free: 9.043 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.58e-06/0.29, allocations: 11.94 kB / 232.5 MB, free: 9.031 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.2928, allocations: 1.397 MB / 233.9 MB, free: 7.441 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.2932, allocations: 168.5 kB / 234.1 MB, free: 7.258 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.2933, allocations: 27.98 kB / 234.1 MB, free: 7.23 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006152/0.294, allocations: 59.97 kB / 234.2 MB, free: 7.172 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.2941, allocations: 72.58 kB / 234.2 MB, free: 7.102 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.761e-05/0.2942, allocations: 28 kB / 234.3 MB, free: 7.074 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002375/0.2945, allocations: 179.1 kB / 234.4 MB, free: 6.898 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.24e-07/0.2945, allocations: 0 / 234.4 MB, free: 6.898 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007239/0.2953, allocations: 148 kB / 234.6 MB, free: 6.754 MB / 202.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 (98): * Single equations (assignments): 98 * 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.0002211/0.2955, allocations: 131 kB / 234.7 MB, free: 6.613 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.2969, allocations: 0.5878 MB / 235.3 MB, free: 6.027 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 5.424e-06/0.297, allocations: 0 / 235.3 MB, free: 6.027 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008786/0.2979, allocations: 375.5 kB / 235.7 MB, free: 5.656 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.2987, allocations: 98.78 kB / 235.8 MB, free: 5.562 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.3017, allocations: 1.254 MB / 237 MB, free: 4.223 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.3024, allocations: 0.873 MB / 237.9 MB, free: 3.324 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.3028, allocations: 67.41 kB / 237.9 MB, free: 3.258 MB / 202.7 MB Notification: Performance of SimCode: time 1.816e-06/0.3028, allocations: 0 / 237.9 MB, free: 3.258 MB / 202.7 MB Notification: Performance of Templates: time 0.01406/0.3168, allocations: 6.655 MB / 244.6 MB, free: 12.59 MB / 218.7 MB