Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.123e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3256, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.4934, allocations: 71.34 MB / 365.6 MB, free: 10.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/0.4938, allocations: 67.95 kB / 365.6 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0394/0.5332, allocations: 5.582 MB / 371.2 MB, free: 4.844 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5333, allocations: 4 kB / 371.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.643e-05/0.5333, allocations: 4 kB / 371.2 MB, free: 4.836 MB / 314.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.001374/0.5347, allocations: 0.5496 MB / 371.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.5347, allocations: 12.03 kB / 371.8 MB, free: 4.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.5349, allocations: 35.58 kB / 371.8 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.5353, allocations: 250.5 kB / 372.1 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.5354, allocations: 12 kB / 372.1 MB, free: 3.898 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.5355, allocations: 19.94 kB / 372.1 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007086/0.5362, allocations: 209 kB / 372.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.5368, allocations: 211.8 kB / 372.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.5369, allocations: 7.844 kB / 372.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.5369, allocations: 4 kB / 372.5 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.537, allocations: 8 kB / 372.5 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.5391, allocations: 0.7476 MB / 373.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.5399, allocations: 327.2 kB / 373.6 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.5403, allocations: 160.8 kB / 373.7 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.5403, allocations: 4 kB / 373.7 MB, free: 2.152 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.5404, allocations: 40.02 kB / 373.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.426e-06/0.5404, allocations: 0 / 373.8 MB, free: 2.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.004151/0.5446, allocations: 1.484 MB / 375.3 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.5447, allocations: 59.91 kB / 375.3 MB, free: 472 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.545, allocations: 154.1 kB / 375.5 MB, free: 308 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.545, allocations: 25.7 kB / 375.5 MB, free: 276 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5452, allocations: 144.9 kB / 375.6 MB, free: 128 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.5455, allocations: 216.8 kB / 375.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.5455, allocations: 0 / 375.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.5457, allocations: 342.8 kB / 376.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003523/0.5461, allocations: 129.1 kB / 376.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.5464, allocations: 131.9 kB / 376.4 MB, free: 15.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.5469, allocations: 146.1 kB / 376.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.5469, allocations: 0 / 376.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001005/0.5479, allocations: 398.7 kB / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5479, allocations: 4 kB / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.548, allocations: 0 / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.548, allocations: 4 kB / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/0.549, allocations: 131.8 kB / 377.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.549, allocations: 4 kB / 377.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.5494, allocations: 15.98 kB / 377.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.5495, allocations: 19.98 kB / 377.2 MB, free: 14.6 MB / 330.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.0001736/0.5497, allocations: 112.6 kB / 377.3 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001003/0.5507, allocations: 374.7 kB / 377.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.012e-05/0.5508, allocations: 39.53 kB / 377.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.551, allocations: 47.91 kB / 377.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.551, allocations: 4 kB / 377.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.551, allocations: 0 / 377.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5511, allocations: 7.984 kB / 377.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.5538, allocations: 1.157 MB / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.5539, allocations: 4.562 kB / 378.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.555, allocations: 131.8 kB / 379 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.98e-05/0.555, allocations: 8 kB / 379 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.5551, allocations: 8 kB / 379 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.688e-05/0.5551, allocations: 8 kB / 379 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.5552, allocations: 11.88 kB / 379.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.5569, allocations: 0.9821 MB / 380 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.5571, allocations: 108.8 kB / 380.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.5572, allocations: 8 kB / 380.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.5577, allocations: 23.98 kB / 380.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.5578, allocations: 51.83 kB / 380.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.5579, allocations: 28 kB / 380.2 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.5581, allocations: 128 kB / 380.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5581, allocations: 4 kB / 380.4 MB, free: 11.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006367/0.5587, allocations: 79.94 kB / 380.5 MB, free: 10.98 MB / 330.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.00269/0.5614, allocations: 2.762 MB / 383.2 MB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009428/0.5624, allocations: 357.7 kB / 383.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5625, allocations: 0 / 383.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.563, allocations: 212.4 kB / 383.8 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008248/0.5639, allocations: 61.03 kB / 383.8 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.5664, allocations: 0.8597 MB / 384.7 MB, free: 6.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.567, allocations: 0.7969 MB / 385.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003564/0.5673, allocations: 43.27 kB / 385.5 MB, free: 5.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.5677, allocations: 119.4 kB / 385.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5677, allocations: 0 / 385.6 MB, free: 5.512 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.6196, allocations: 6.319 MB / 392 MB, free: 15.21 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/0.6199, allocations: 151 kB / 392.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.434, allocations: 0 / 392.1 MB, free: 15.01 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat