Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_1_cpp_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.09/1.09, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.732e-05, allocations: 0 / 151.5 MB, free: 15.49 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2225, allocations: 25.15 MB / 176.6 MB, free: 15.98 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05935/0.282, allocations: 33.83 MB / 210.5 MB, free: 15.6 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.2822, allocations: 63.97 kB / 210.5 MB, free: 15.54 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02367/0.3059, allocations: 5.286 MB / 215.8 MB, free: 10.23 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.306, allocations: 0 / 215.8 MB, free: 10.23 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.306, allocations: 7.938 kB / 215.8 MB, free: 10.22 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.001199/0.3072, allocations: 0.5257 MB / 216.3 MB, free: 9.652 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3073, allocations: 12.03 kB / 216.4 MB, free: 9.641 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.585e-05/0.3074, allocations: 66.53 kB / 216.4 MB, free: 9.566 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/0.3075, allocations: 31.62 kB / 216.5 MB, free: 9.535 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3077, allocations: 206.6 kB / 216.7 MB, free: 9.293 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.3078, allocations: 16.56 kB / 216.7 MB, free: 9.277 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.3078, allocations: 35.86 kB / 216.7 MB, free: 9.242 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.3085, allocations: 223.8 kB / 216.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.3085, allocations: 0 / 216.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.3086, allocations: 12 kB / 216.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.119e-05/0.3086, allocations: 8 kB / 216.9 MB, free: 9 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.3092, allocations: 189.1 kB / 217.1 MB, free: 8.816 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.3111, allocations: 0.7529 MB / 217.9 MB, free: 8.012 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.3119, allocations: 278.6 kB / 218.2 MB, free: 7.73 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.3123, allocations: 150 kB / 218.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.3124, allocations: 8 kB / 218.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3124, allocations: 38.56 kB / 218.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of pre-optimization done (n=35): time 3.466e-06/0.3124, allocations: 0 / 218.3 MB, free: 7.523 MB / 186.7 MB Notification: Performance of matching and sorting (n=55): time 0.006006/0.3184, allocations: 1.645 MB / 220 MB, free: 5.777 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.3186, allocations: 59.91 kB / 220.1 MB, free: 5.703 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3188, allocations: 173.8 kB / 220.2 MB, free: 5.531 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.3189, allocations: 37.7 kB / 220.3 MB, free: 5.488 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.319, allocations: 207.3 kB / 220.5 MB, free: 5.281 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.3192, allocations: 181.3 kB / 220.6 MB, free: 5.102 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3193, allocations: 8 kB / 220.6 MB, free: 5.094 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3195, allocations: 338.8 kB / 221 MB, free: 4.754 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.3198, allocations: 125.1 kB / 221.1 MB, free: 4.633 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.3202, allocations: 127.9 kB / 221.2 MB, free: 4.512 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.3206, allocations: 143.3 kB / 221.4 MB, free: 4.371 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3207, allocations: 0 / 221.4 MB, free: 4.371 MB / 186.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009962/0.3217, allocations: 386.8 kB / 221.7 MB, free: 3.984 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3217, allocations: 8.766 kB / 221.8 MB, free: 3.977 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.3217, allocations: 4 kB / 221.8 MB, free: 3.973 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/0.3218, allocations: 4 kB / 221.8 MB, free: 3.969 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.3227, allocations: 115.8 kB / 221.9 MB, free: 3.855 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3227, allocations: 0 / 221.9 MB, free: 3.855 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.3231, allocations: 27.98 kB / 221.9 MB, free: 3.828 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.3232, allocations: 20 kB / 221.9 MB, free: 3.809 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.0001618/0.3233, allocations: 131.8 kB / 222 MB, free: 3.676 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.3234, allocations: 31.66 kB / 222.1 MB, free: 3.645 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.3236, allocations: 43.08 kB / 222.1 MB, free: 3.605 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.3236, allocations: 4 kB / 222.1 MB, free: 3.602 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.3236, allocations: 3.938 kB / 222.1 MB, free: 3.598 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.3236, allocations: 3.984 kB / 222.1 MB, free: 3.594 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.3264, allocations: 1.185 MB / 223.3 MB, free: 2.293 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.3265, allocations: 4 kB / 223.3 MB, free: 2.289 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.3274, allocations: 119.8 kB / 223.4 MB, free: 2.172 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/0.3274, allocations: 11.98 kB / 223.5 MB, free: 2.16 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.637e-05/0.3275, allocations: 12 kB / 223.5 MB, free: 2.148 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.3275, allocations: 8 kB / 223.5 MB, free: 2.141 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.3275, allocations: 12.17 kB / 223.5 MB, free: 2.129 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.3293, allocations: 0.9507 MB / 224.4 MB, free: 0.9961 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.3295, allocations: 116.8 kB / 224.5 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.3296, allocations: 12 kB / 224.6 MB, free: 0.8516 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.3301, allocations: 39.94 kB / 224.6 MB, free: 0.8125 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.3302, allocations: 51.64 kB / 224.6 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.3303, allocations: 19.98 kB / 224.7 MB, free: 0.7422 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.3304, allocations: 139 kB / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3305, allocations: 0 / 224.8 MB, free: 0.6055 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005867/0.331, allocations: 87.94 kB / 224.9 MB, free: 0.5195 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.002515/0.3336, allocations: 2.746 MB / 227.6 MB, free: 13.62 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0009313/0.3345, allocations: 341.7 kB / 228 MB, free: 13.29 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.3346, allocations: 4 kB / 228 MB, free: 13.29 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005013/0.3351, allocations: 195.7 kB / 228.2 MB, free: 13.1 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.3359, allocations: 66.48 kB / 228.2 MB, free: 13.04 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.3384, allocations: 0.8792 MB / 229.1 MB, free: 12.05 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.3389, allocations: 0.7883 MB / 229.9 MB, free: 11.24 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.3392, allocations: 111.4 kB / 230 MB, free: 11.13 MB / 202.7 MB Notification: Performance of SimCode: time 3.306e-06/0.3393, allocations: 0 / 230 MB, free: 11.13 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.628/2.968, allocations: 5.369 MB / 235.4 MB, free: 5.777 MB / 202.7 MB