Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.259/2.259, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.593e-05, allocations: 4 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 50.42 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5603, allocations: 77.8 MB / 420.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.5606, allocations: 65.38 kB / 420.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02557/0.5861, allocations: 5.886 MB / 426.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5862, allocations: 0 / 426.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.5862, allocations: 12 kB / 426.4 MB, free: 10.95 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.001285/0.5875, allocations: 0.5488 MB / 426.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5876, allocations: 8.031 kB / 426.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.515e-05/0.5877, allocations: 73.53 kB / 427 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.5878, allocations: 31.62 kB / 427 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.5882, allocations: 237.8 kB / 427.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.5882, allocations: 24.19 kB / 427.3 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.5883, allocations: 27.62 kB / 427.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/0.589, allocations: 255.7 kB / 427.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.589, allocations: 7.906 kB / 427.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.5891, allocations: 7.688 kB / 427.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.5891, allocations: 8 kB / 427.6 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.5897, allocations: 222.5 kB / 427.8 MB, free: 9.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.5917, allocations: 0.8065 MB / 428.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.5925, allocations: 333.8 kB / 429 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.5929, allocations: 175.2 kB / 429.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.593, allocations: 7.984 kB / 429.1 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.593, allocations: 38.19 kB / 429.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 5.58e-06/0.593, allocations: 0 / 429.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.005868/0.5989, allocations: 1.764 MB / 430.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.599, allocations: 59.97 kB / 431 MB, free: 7.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.5993, allocations: 180.2 kB / 431.2 MB, free: 6.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.5993, allocations: 36.27 kB / 431.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.5994, allocations: 197 kB / 431.4 MB, free: 6.656 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.5997, allocations: 216.5 kB / 431.6 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.5997, allocations: 12.44 kB / 431.6 MB, free: 6.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5998, allocations: 336.8 kB / 431.9 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.6002, allocations: 138.5 kB / 432.1 MB, free: 6.055 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.6006, allocations: 138.4 kB / 432.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.601, allocations: 170.2 kB / 432.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.601, allocations: 0 / 432.4 MB, free: 5.863 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009929/0.602, allocations: 428.5 kB / 432.8 MB, free: 5.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.6021, allocations: 9.344 kB / 432.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6021, allocations: 0 / 432.8 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.6021, allocations: 4 kB / 432.8 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/0.6031, allocations: 126.4 kB / 432.9 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.6032, allocations: 4 kB / 432.9 MB, free: 5.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004077/0.6036, allocations: 31.05 kB / 433 MB, free: 5.398 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.6036, allocations: 15.5 kB / 433 MB, free: 5.387 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.0001505/0.6038, allocations: 141.7 kB / 433.1 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-05/0.6039, allocations: 31.62 kB / 433.2 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.6041, allocations: 53.64 kB / 433.2 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.6041, allocations: 4 kB / 433.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.6041, allocations: 4 kB / 433.2 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.6041, allocations: 3.984 kB / 433.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.6068, allocations: 1.26 MB / 434.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.6069, allocations: 4 kB / 434.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6079, allocations: 132.2 kB / 434.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.779e-05/0.6079, allocations: 12 kB / 434.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.608, allocations: 18.62 kB / 434.6 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.608, allocations: 4 kB / 434.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-05/0.608, allocations: 15.92 kB / 434.7 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.6097, allocations: 1.014 MB / 435.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.6099, allocations: 111.5 kB / 435.8 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.417e-05/0.61, allocations: 17.75 kB / 435.8 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004703/0.6105, allocations: 30.55 kB / 435.8 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6106, allocations: 54.33 kB / 435.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.6107, allocations: 18.69 kB / 435.9 MB, free: 2.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.6109, allocations: 144.8 kB / 436 MB, free: 2.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6109, allocations: 0 / 436 MB, free: 2.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005797/0.6115, allocations: 94.5 kB / 436.1 MB, free: 2.52 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.002499/0.614, allocations: 2.821 MB / 439 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009929/0.615, allocations: 383 kB / 439.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.615, allocations: 7.938 kB / 439.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.6156, allocations: 216.6 kB / 439.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.6164, allocations: 76.7 kB / 439.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.6189, allocations: 0.938 MB / 440.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.6193, allocations: 0.8011 MB / 441.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.6197, allocations: 126.3 kB / 441.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6197, allocations: 0 / 441.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.489/3.109, allocations: 5.84 MB / 447.3 MB, free: 7.719 MB / 362.7 MB