Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.753e-05, allocations: 3.984 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2706, allocations: 38.78 MB / 263.9 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.3937, allocations: 66.7 MB / 330.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.394, allocations: 67.95 kB / 330.6 MB, free: 6.824 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03068/0.4247, allocations: 5.65 MB / 336.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.599e-06/0.4248, allocations: 0 / 336.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.481e-05/0.4248, allocations: 7.938 kB / 336.3 MB, free: 1.137 MB / 282.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.001304/0.4262, allocations: 0.5496 MB / 336.9 MB, free: 0.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4262, allocations: 12.03 kB / 336.9 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.4264, allocations: 62.53 kB / 336.9 MB, free: 472 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.4265, allocations: 31.62 kB / 337 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/0.4269, allocations: 262.3 kB / 337.2 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.427, allocations: 20.56 kB / 337.2 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.4271, allocations: 24 kB / 337.3 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.4278, allocations: 247.8 kB / 337.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.4278, allocations: 3.984 kB / 337.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.4279, allocations: 16 kB / 337.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.4279, allocations: 4 kB / 337.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006772/0.4286, allocations: 225 kB / 337.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.4308, allocations: 0.7991 MB / 338.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/0.4317, allocations: 339.2 kB / 338.9 MB, free: 14.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.4322, allocations: 180.8 kB / 339 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-05/0.4323, allocations: 4 kB / 339.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4323, allocations: 34.56 kB / 339.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.777e-06/0.4324, allocations: 0 / 339.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.006629/0.439, allocations: 1.758 MB / 340.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4391, allocations: 67.86 kB / 340.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.4394, allocations: 177.8 kB / 341.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.4395, allocations: 37.7 kB / 341.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.4396, allocations: 145 kB / 341.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.4398, allocations: 212.9 kB / 341.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.4399, allocations: 12 kB / 341.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4401, allocations: 342.8 kB / 341.8 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.4405, allocations: 141.1 kB / 342 MB, free: 11.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.4409, allocations: 135.9 kB / 342.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.4414, allocations: 159.2 kB / 342.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4414, allocations: 4 kB / 342.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001382/0.4428, allocations: 434.7 kB / 342.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.564e-05/0.4429, allocations: 8 kB / 342.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.443, allocations: 0 / 342.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.443, allocations: 0 / 342.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.4445, allocations: 131.8 kB / 342.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.642e-05/0.4446, allocations: 0 / 342.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.4453, allocations: 39.88 kB / 342.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.4454, allocations: 20 kB / 342.9 MB, free: 10.26 MB / 298.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.0002558/0.4457, allocations: 136.8 kB / 343 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.4459, allocations: 31.62 kB / 343 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.4461, allocations: 47.33 kB / 343.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.4461, allocations: 11.98 kB / 343.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.4462, allocations: 0 / 343.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.4462, allocations: 7.984 kB / 343.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00445/0.4507, allocations: 1.262 MB / 344.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/0.4508, allocations: 4 kB / 344.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.4524, allocations: 127.8 kB / 344.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3e-05/0.4524, allocations: 8.562 kB / 344.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.87e-05/0.4525, allocations: 27.95 kB / 344.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.967e-05/0.4526, allocations: 15.92 kB / 344.5 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/0.4526, allocations: 4 kB / 344.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.4554, allocations: 1.017 MB / 345.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.4557, allocations: 116.8 kB / 345.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.4558, allocations: 19.95 kB / 345.7 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.4566, allocations: 27.98 kB / 345.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.4568, allocations: 59.83 kB / 345.8 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.766e-05/0.4569, allocations: 20 kB / 345.8 MB, free: 7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.4572, allocations: 140.4 kB / 345.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4572, allocations: 0 / 345.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009567/0.4582, allocations: 96 kB / 346 MB, free: 6.77 MB / 298.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.003911/0.4621, allocations: 2.815 MB / 348.8 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.4633, allocations: 385.8 kB / 349.2 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.4633, allocations: 4 kB / 349.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005941/0.4639, allocations: 215.7 kB / 349.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.4648, allocations: 77 kB / 349.5 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.4675, allocations: 0.9114 MB / 350.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.4681, allocations: 0.7972 MB / 351.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003777/0.4685, allocations: 47.27 kB / 351.3 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.4688, allocations: 119.4 kB / 351.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4688, allocations: 0 / 351.4 MB, free: 1.148 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/0.5166, allocations: 6.766 MB / 358.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003402/0.517, allocations: 156.4 kB / 358.3 MB, free: 10.22 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.726/3.243, allocations: 0 / 358.3 MB, free: 10.22 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat