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 1.954/1.954, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.671e-05, allocations: 0 / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.0982, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4556/0.5539, allocations: 72.01 MB / 372 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.5544, allocations: 67.39 kB / 372 MB, free: 22.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03698/0.5914, allocations: 5.634 MB / 377.7 MB, free: 21.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5914, allocations: 0 / 377.7 MB, free: 21.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.5915, allocations: 5.438 kB / 377.7 MB, free: 21.33 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.001644/0.5931, allocations: 0.5515 MB / 378.2 MB, free: 20.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.5932, allocations: 9.531 kB / 378.3 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/0.5933, allocations: 64.44 kB / 378.3 MB, free: 20.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.5935, allocations: 36.77 kB / 378.3 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004652/0.594, allocations: 250.8 kB / 378.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.594, allocations: 23.06 kB / 378.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5942, allocations: 30.5 kB / 378.6 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008863/0.5951, allocations: 245.3 kB / 378.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.5951, allocations: 8.547 kB / 378.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.5952, allocations: 12.62 kB / 378.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.5952, allocations: 11.69 kB / 378.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.5961, allocations: 219.3 kB / 379.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.5988, allocations: 0.805 MB / 379.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.5999, allocations: 334.6 kB / 380.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005909/0.6005, allocations: 185.5 kB / 380.4 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.6006, allocations: 4.062 kB / 380.4 MB, free: 20.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.6006, allocations: 36.5 kB / 380.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.789e-06/0.6006, allocations: 0 / 380.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.008027/0.6087, allocations: 1.761 MB / 382.2 MB, free: 19.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.6088, allocations: 58.62 kB / 382.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.6091, allocations: 173 kB / 382.5 MB, free: 19.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.544e-05/0.6092, allocations: 37.77 kB / 382.5 MB, free: 19.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6093, allocations: 141.5 kB / 382.6 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.6095, allocations: 215.7 kB / 382.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.6096, allocations: 14.25 kB / 382.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6097, allocations: 344 kB / 383.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005095/0.6103, allocations: 137.2 kB / 383.3 MB, free: 18.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.6108, allocations: 138.8 kB / 383.5 MB, free: 18.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.6115, allocations: 158.8 kB / 383.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6115, allocations: 0 / 383.6 MB, free: 18.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00147/0.613, allocations: 444.3 kB / 384.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.613, allocations: 12.64 kB / 384.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6131, allocations: 0 / 384.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/0.6131, allocations: 4.578 kB / 384.1 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.6144, allocations: 126.7 kB / 384.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.6145, allocations: 6.5 kB / 384.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005931/0.6151, allocations: 34.17 kB / 384.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/0.6152, allocations: 16.69 kB / 384.3 MB, free: 18.73 MB / 314.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.0001879/0.6154, allocations: 135.6 kB / 384.4 MB, free: 18.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.6155, allocations: 32.97 kB / 384.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.6157, allocations: 52 kB / 384.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.6158, allocations: 7.938 kB / 384.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.6158, allocations: 0 / 384.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.6158, allocations: 2.25 kB / 384.5 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003607/0.6194, allocations: 1.271 MB / 385.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.6195, allocations: 4.125 kB / 385.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.6209, allocations: 134.3 kB / 385.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/0.6209, allocations: 8.25 kB / 385.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.621, allocations: 17.69 kB / 385.9 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.755e-05/0.621, allocations: 12.66 kB / 385.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/0.6211, allocations: 8.062 kB / 385.9 MB, free: 18.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.6233, allocations: 1.028 MB / 387 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.6236, allocations: 107.7 kB / 387.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.6237, allocations: 21.34 kB / 387.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006853/0.6244, allocations: 31.31 kB / 387.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.6245, allocations: 52.72 kB / 387.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.6246, allocations: 22.16 kB / 387.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002119/0.6249, allocations: 140.6 kB / 387.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6249, allocations: 0 / 387.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009101/0.6258, allocations: 93.66 kB / 387.4 MB, free: 17.2 MB / 314.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.003207/0.629, allocations: 2.809 MB / 390.2 MB, free: 30.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.6304, allocations: 384.4 kB / 390.6 MB, free: 30.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6305, allocations: 4 kB / 390.6 MB, free: 30.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.6312, allocations: 221.3 kB / 390.8 MB, free: 30.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.6323, allocations: 72.78 kB / 390.9 MB, free: 30.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.6355, allocations: 0.9108 MB / 391.8 MB, free: 30.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.6361, allocations: 0.8005 MB / 392.6 MB, free: 29.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004637/0.6366, allocations: 51.48 kB / 392.7 MB, free: 29.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.637, allocations: 116.8 kB / 392.8 MB, free: 29.52 MB / 330.7 MB Notification: Performance of SimCode: time 1.293e-06/0.637, allocations: 4 kB / 392.8 MB, free: 29.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09151/0.7285, allocations: 6.77 MB / 399.6 MB, free: 28.92 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.7289, allocations: 156.8 kB / 399.7 MB, free: 28.7 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.39, allocations: 3.938 kB / 399.7 MB, free: 28.69 MB / 330.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