Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.158/2.158, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.382e-05, allocations: 0 / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4976/0.6196, allocations: 77.75 MB / 420.4 MB, free: 60 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.6199, allocations: 63.78 kB / 420.5 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02668/0.6466, allocations: 5.892 MB / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6467, allocations: 0 / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.6467, allocations: 4 kB / 426.3 MB, free: 11.05 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.001322/0.648, allocations: 0.5452 MB / 426.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.6481, allocations: 12.03 kB / 426.9 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.651e-05/0.6482, allocations: 62.91 kB / 427 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.6483, allocations: 35.62 kB / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.6487, allocations: 258.4 kB / 427.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/0.6488, allocations: 19.19 kB / 427.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-05/0.6489, allocations: 25.81 kB / 427.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.6495, allocations: 253.7 kB / 427.5 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.6496, allocations: 3.906 kB / 427.5 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.6496, allocations: 13.19 kB / 427.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.6497, allocations: 7.984 kB / 427.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.6503, allocations: 224.8 kB / 427.8 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.6523, allocations: 0.7989 MB / 428.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007656/0.6531, allocations: 337.5 kB / 428.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/0.6535, allocations: 174.8 kB / 429.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.594e-05/0.6536, allocations: 19.97 kB / 429.1 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6536, allocations: 34.12 kB / 429.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.607e-06/0.6536, allocations: 0 / 429.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.006066/0.6597, allocations: 1.76 MB / 430.9 MB, free: 7.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.6598, allocations: 63.91 kB / 431 MB, free: 7.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.6601, allocations: 183.2 kB / 431.1 MB, free: 6.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.6601, allocations: 36.95 kB / 431.2 MB, free: 6.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.6602, allocations: 137.7 kB / 431.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6605, allocations: 212.1 kB / 431.5 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.6605, allocations: 10.94 kB / 431.5 MB, free: 6.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.6607, allocations: 349.5 kB / 431.9 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.6611, allocations: 141.1 kB / 432 MB, free: 6.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/0.6615, allocations: 137.7 kB / 432.1 MB, free: 6.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.6619, allocations: 164.7 kB / 432.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6619, allocations: 0 / 432.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001067/0.663, allocations: 436.4 kB / 432.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.663, allocations: 8 kB / 432.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.663, allocations: 0 / 432.7 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.6631, allocations: 7.984 kB / 432.7 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009588/0.664, allocations: 129.3 kB / 432.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.6641, allocations: 0 / 432.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.6645, allocations: 28.48 kB / 432.9 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.6646, allocations: 15.31 kB / 432.9 MB, free: 5.527 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.0001589/0.6647, allocations: 148.8 kB / 433.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.6648, allocations: 31.62 kB / 433.1 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.665, allocations: 49.02 kB / 433.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.665, allocations: 8 kB / 433.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.665, allocations: 3.938 kB / 433.2 MB, free: 5.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.665, allocations: 3.984 kB / 433.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.6678, allocations: 1.262 MB / 434.4 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6678, allocations: 4 kB / 434.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.6689, allocations: 123.2 kB / 434.5 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.829e-05/0.6689, allocations: 8 kB / 434.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.669, allocations: 18.81 kB / 434.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/0.669, allocations: 15.92 kB / 434.6 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/0.669, allocations: 4 kB / 434.6 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.6708, allocations: 1.027 MB / 435.6 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.6709, allocations: 104.7 kB / 435.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/0.671, allocations: 21.69 kB / 435.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004805/0.6715, allocations: 37.09 kB / 435.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6716, allocations: 46.66 kB / 435.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.6717, allocations: 27.06 kB / 435.8 MB, free: 2.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.6719, allocations: 142.4 kB / 436 MB, free: 2.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6719, allocations: 0 / 436 MB, free: 2.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005996/0.6725, allocations: 95.38 kB / 436.1 MB, free: 2.648 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.002522/0.6751, allocations: 2.809 MB / 438.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00098/0.6761, allocations: 386.8 kB / 439.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6761, allocations: 3.938 kB / 439.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.6767, allocations: 225.3 kB / 439.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007685/0.6774, allocations: 69.59 kB / 439.6 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.6799, allocations: 0.9159 MB / 440.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.6805, allocations: 0.7972 MB / 441.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000333/0.6808, allocations: 47.27 kB / 441.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.6811, allocations: 117 kB / 441.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6811, allocations: 0 / 441.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.7131, allocations: 6.765 MB / 448.2 MB, free: 6.945 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002935/0.7135, allocations: 169.9 kB / 448.4 MB, free: 6.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/3.548, allocations: 0 / 448.4 MB, free: 6.707 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat