Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.232e-05, allocations: 4 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 50.42 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5702, allocations: 77.72 MB / 420.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5705, allocations: 64.25 kB / 420.9 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02657/0.5971, allocations: 5.882 MB / 426.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.5971, allocations: 4 kB / 426.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.5971, allocations: 7.938 kB / 426.8 MB, free: 11.5 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.001313/0.5985, allocations: 0.5508 MB / 427.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.5985, allocations: 12.03 kB / 427.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.5987, allocations: 64.36 kB / 427.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.623e-05/0.5988, allocations: 31.62 kB / 427.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.5992, allocations: 255.4 kB / 427.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.5993, allocations: 22.38 kB / 427.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/0.5994, allocations: 31.36 kB / 427.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.6, allocations: 251 kB / 428 MB, free: 10.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.6001, allocations: 3.906 kB / 428 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.6001, allocations: 13.81 kB / 428.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.6001, allocations: 4 kB / 428.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.6008, allocations: 224.2 kB / 428.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.6028, allocations: 0.794 MB / 429.1 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/0.6036, allocations: 344.7 kB / 429.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004171/0.604, allocations: 181.6 kB / 429.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.967e-05/0.6041, allocations: 4 kB / 429.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.6041, allocations: 33.94 kB / 429.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.6041, allocations: 0 / 429.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.006357/0.6105, allocations: 1.762 MB / 431.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.6106, allocations: 67.91 kB / 431.5 MB, free: 7.566 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.6109, allocations: 178.6 kB / 431.6 MB, free: 7.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.515e-05/0.6109, allocations: 36.89 kB / 431.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.6111, allocations: 137.4 kB / 431.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.6113, allocations: 213.4 kB / 432 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.6114, allocations: 7.312 kB / 432 MB, free: 7.074 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6116, allocations: 348.3 kB / 432.4 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.612, allocations: 141.9 kB / 432.5 MB, free: 6.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.6123, allocations: 147.5 kB / 432.6 MB, free: 6.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/0.6128, allocations: 155.7 kB / 432.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.6128, allocations: 0 / 432.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001049/0.6139, allocations: 443 kB / 433.2 MB, free: 6.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6139, allocations: 8 kB / 433.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6139, allocations: 0 / 433.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6139, allocations: 0 / 433.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.6149, allocations: 130.6 kB / 433.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.615, allocations: 4 kB / 433.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.6154, allocations: 27.11 kB / 433.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.6155, allocations: 19.56 kB / 433.4 MB, free: 5.977 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.0001713/0.6157, allocations: 146.7 kB / 433.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6158, allocations: 31.62 kB / 433.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.6159, allocations: 48.84 kB / 433.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.616, allocations: 12 kB / 433.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.616, allocations: 0 / 433.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.616, allocations: 3.984 kB / 433.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.6188, allocations: 1.255 MB / 434.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6189, allocations: 4 kB / 434.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.62, allocations: 131.2 kB / 435 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-05/0.62, allocations: 8 kB / 435 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.6201, allocations: 19.17 kB / 435.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-05/0.6201, allocations: 11.94 kB / 435.1 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.6201, allocations: 4 kB / 435.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6219, allocations: 1.029 MB / 436.1 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.6222, allocations: 108.8 kB / 436.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.295e-05/0.6223, allocations: 22.41 kB / 436.2 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/0.6228, allocations: 35.23 kB / 436.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.6229, allocations: 47.34 kB / 436.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.623, allocations: 27.61 kB / 436.3 MB, free: 3.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.6232, allocations: 137.1 kB / 436.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6232, allocations: 0 / 436.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.6239, allocations: 101.9 kB / 436.6 MB, free: 3.098 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.002747/0.6266, allocations: 2.81 MB / 439.4 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.6278, allocations: 386.6 kB / 439.8 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.6278, allocations: 0 / 439.8 MB, free: 88 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006481/0.6285, allocations: 224.6 kB / 440 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009148/0.6294, allocations: 70.22 kB / 440 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.6321, allocations: 0.9145 MB / 441 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.6326, allocations: 0.805 MB / 441.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.633, allocations: 47.25 kB / 441.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.6333, allocations: 117.5 kB / 441.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6333, allocations: 0 / 441.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.6699, allocations: 6.757 MB / 448.7 MB, free: 7.398 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.6702, allocations: 162.2 kB / 448.8 MB, free: 7.168 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.538, allocations: 0 / 448.8 MB, free: 7.168 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat