Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadModel(Modelica): time 1.052/1.052, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.636e-05, allocations: 0 / 151.4 MB, free: 15.59 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 25.15 MB / 176.5 MB, free: 4 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05246/0.197, allocations: 33.83 MB / 210.4 MB, free: 15.63 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.1972, allocations: 63.91 kB / 210.4 MB, free: 15.57 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02246/0.2197, allocations: 5.287 MB / 215.7 MB, free: 10.25 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2197, allocations: 0 / 215.7 MB, free: 10.25 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.2197, allocations: 4 kB / 215.7 MB, free: 10.25 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009849/0.2207, allocations: 0.5258 MB / 216.3 MB, free: 9.68 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.2208, allocations: 8.031 kB / 216.3 MB, free: 9.672 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.219e-05/0.2209, allocations: 35.62 kB / 216.3 MB, free: 9.637 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.2211, allocations: 198.7 kB / 216.5 MB, free: 9.402 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.2212, allocations: 24.5 kB / 216.5 MB, free: 9.379 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.2213, allocations: 27.91 kB / 216.5 MB, free: 9.352 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/0.2219, allocations: 227.8 kB / 216.8 MB, free: 9.125 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.2219, allocations: 3.984 kB / 216.8 MB, free: 9.121 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.2219, allocations: 8 kB / 216.8 MB, free: 9.113 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.321e-06/0.222, allocations: 8 kB / 216.8 MB, free: 9.105 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.2225, allocations: 189.1 kB / 217 MB, free: 8.922 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.2242, allocations: 0.7523 MB / 217.7 MB, free: 8.117 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.2251, allocations: 274.7 kB / 218 MB, free: 7.84 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.2257, allocations: 149.2 kB / 218.1 MB, free: 7.688 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-05/0.2258, allocations: 7.984 kB / 218.1 MB, free: 7.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.2259, allocations: 51.08 kB / 218.2 MB, free: 7.621 MB / 186.7 MB Notification: Performance of pre-optimization done (n=35): time 5.411e-06/0.2259, allocations: 0 / 218.2 MB, free: 7.621 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.007904/0.2338, allocations: 1.645 MB / 219.8 MB, free: 5.879 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.052e-05/0.234, allocations: 59.97 kB / 219.9 MB, free: 5.805 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003355/0.2343, allocations: 173.9 kB / 220.1 MB, free: 5.633 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-05/0.2344, allocations: 29.7 kB / 220.1 MB, free: 5.598 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.2346, allocations: 203.5 kB / 220.3 MB, free: 5.395 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.2349, allocations: 185.2 kB / 220.5 MB, free: 5.211 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.235, allocations: 16 kB / 220.5 MB, free: 5.195 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002411/0.2353, allocations: 334.8 kB / 220.8 MB, free: 4.859 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.2358, allocations: 125.1 kB / 220.9 MB, free: 4.738 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.2364, allocations: 131.9 kB / 221.1 MB, free: 4.613 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.237, allocations: 139.3 kB / 221.2 MB, free: 4.477 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.835e-06/0.2371, allocations: 0 / 221.2 MB, free: 4.477 MB / 186.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001545/0.2386, allocations: 386.9 kB / 221.6 MB, free: 4.09 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.012e-05/0.2387, allocations: 4.781 kB / 221.6 MB, free: 4.086 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.2387, allocations: 4 kB / 221.6 MB, free: 4.082 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2388, allocations: 4 kB / 221.6 MB, free: 4.078 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.2399, allocations: 115.8 kB / 221.7 MB, free: 3.965 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.24, allocations: 4 kB / 221.7 MB, free: 3.961 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2404, allocations: 23.98 kB / 221.7 MB, free: 3.938 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.2404, allocations: 19.98 kB / 221.8 MB, free: 3.918 MB / 186.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 (61): * Single equations (assignments): 61 * 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.0001578/0.2406, allocations: 132.9 kB / 221.9 MB, free: 3.781 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2407, allocations: 31.62 kB / 221.9 MB, free: 3.75 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.2408, allocations: 43.03 kB / 222 MB, free: 3.711 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.2409, allocations: 11.98 kB / 222 MB, free: 3.699 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.2409, allocations: 0 / 222 MB, free: 3.699 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.568e-06/0.2409, allocations: 0 / 222 MB, free: 3.699 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.2434, allocations: 1.189 MB / 223.2 MB, free: 2.395 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.2434, allocations: 4 kB / 223.2 MB, free: 2.391 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006711/0.2441, allocations: 111.9 kB / 223.3 MB, free: 2.281 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/0.2441, allocations: 4 kB / 223.3 MB, free: 2.277 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.2442, allocations: 23.98 kB / 223.3 MB, free: 2.254 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.2442, allocations: 7.938 kB / 223.3 MB, free: 2.246 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.996e-06/0.2443, allocations: 7.953 kB / 223.3 MB, free: 2.238 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2459, allocations: 0.9586 MB / 224.3 MB, free: 1.098 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.246, allocations: 104.7 kB / 224.4 MB, free: 0.9766 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.2461, allocations: 24.03 kB / 224.4 MB, free: 0.9531 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.2465, allocations: 27.98 kB / 224.4 MB, free: 0.9258 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2466, allocations: 47.59 kB / 224.5 MB, free: 0.8789 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/0.2467, allocations: 27.94 kB / 224.5 MB, free: 0.8516 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.2469, allocations: 135 kB / 224.6 MB, free: 0.7188 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.2469, allocations: 0 / 224.6 MB, free: 0.7188 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005547/0.2475, allocations: 95.89 kB / 224.7 MB, free: 0.625 MB / 186.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 (55): * Single equations (assignments): 55 * 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.0002018/0.2477, allocations: 119.1 kB / 224.8 MB, free: 0.5 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007906/0.2485, allocations: 334 kB / 225.2 MB, free: 180 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.824e-06/0.2485, allocations: 0 / 225.2 MB, free: 180 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.249, allocations: 203.8 kB / 225.4 MB, free: 15.97 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006334/0.2496, allocations: 66.77 kB / 225.4 MB, free: 15.91 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2514, allocations: 0.8121 MB / 226.2 MB, free: 15.02 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.2519, allocations: 0.7844 MB / 227 MB, free: 14.21 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.2521, allocations: 43.42 kB / 227.1 MB, free: 14.16 MB / 202.7 MB Notification: Performance of SimCode: time 1.791e-06/0.2522, allocations: 0 / 227.1 MB, free: 14.16 MB / 202.7 MB Notification: Performance of Templates: time 0.008326/0.2605, allocations: 4.003 MB / 231.1 MB, free: 10.18 MB / 202.7 MB