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 1.833/1.833, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.422e-05/4.432e-05, allocations: 4 kB / 225.1 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2683, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.3864, allocations: 66.7 MB / 330.5 MB, free: 7.02 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.3867, allocations: 59.97 kB / 330.6 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02471/0.4115, allocations: 5.654 MB / 336.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4115, allocations: 0 / 336.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.4116, allocations: 7.984 kB / 336.3 MB, free: 1.27 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.001247/0.4128, allocations: 0.5497 MB / 336.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4129, allocations: 12.03 kB / 336.8 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.413, allocations: 62.55 kB / 336.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.4131, allocations: 35.61 kB / 336.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.4136, allocations: 262.3 kB / 337.2 MB, free: 268 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.238e-05/0.4137, allocations: 24.56 kB / 337.2 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.4138, allocations: 24 kB / 337.2 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.4145, allocations: 244.9 kB / 337.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.4145, allocations: 4 kB / 337.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.4146, allocations: 12 kB / 337.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.4146, allocations: 8 kB / 337.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006742/0.4153, allocations: 222.2 kB / 337.7 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.4174, allocations: 0.8029 MB / 338.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/0.4183, allocations: 344.8 kB / 338.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/0.4188, allocations: 172.8 kB / 339 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.986e-05/0.4189, allocations: 12 kB / 339 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.4189, allocations: 34.56 kB / 339.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 3.427e-06/0.4189, allocations: 0 / 339.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=63): time 0.006051/0.425, allocations: 1.769 MB / 340.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4251, allocations: 63.92 kB / 340.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.4254, allocations: 169.9 kB / 341.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.4255, allocations: 37.7 kB / 341.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4256, allocations: 141 kB / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.4258, allocations: 216.8 kB / 341.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.4259, allocations: 12 kB / 341.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.426, allocations: 342.8 kB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.4265, allocations: 145.1 kB / 341.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.4269, allocations: 141.1 kB / 342.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.4273, allocations: 151.3 kB / 342.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4274, allocations: 4 kB / 342.2 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001072/0.4284, allocations: 442.7 kB / 342.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4285, allocations: 4 kB / 342.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4285, allocations: 3.938 kB / 342.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.4285, allocations: 4 kB / 342.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009577/0.4295, allocations: 123.9 kB / 342.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.4295, allocations: 4 kB / 342.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.4299, allocations: 35.94 kB / 342.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.43, allocations: 27.91 kB / 342.9 MB, free: 10.37 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.0001673/0.4302, allocations: 137.5 kB / 343 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4303, allocations: 35.53 kB / 343 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.4305, allocations: 47.34 kB / 343.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.4305, allocations: 4 kB / 343.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.4305, allocations: 0 / 343.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.4305, allocations: 3.984 kB / 343.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.4334, allocations: 1.282 MB / 344.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.075e-05/0.4334, allocations: 4 kB / 344.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.4344, allocations: 127.8 kB / 344.5 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.562e-05/0.4345, allocations: 8 kB / 344.5 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.4345, allocations: 23.94 kB / 344.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.4346, allocations: 8 kB / 344.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.4346, allocations: 7.938 kB / 344.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.4364, allocations: 1.017 MB / 345.6 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4366, allocations: 112.7 kB / 345.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.022e-05/0.4367, allocations: 23.98 kB / 345.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.4372, allocations: 35.98 kB / 345.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.4373, allocations: 47.84 kB / 345.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.4374, allocations: 27.98 kB / 345.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.4376, allocations: 136.4 kB / 345.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4376, allocations: 0 / 345.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000568/0.4381, allocations: 96 kB / 346 MB, free: 6.871 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.002567/0.4407, allocations: 2.813 MB / 348.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.4419, allocations: 390.9 kB / 349.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.4419, allocations: 0 / 349.2 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.4425, allocations: 235.7 kB / 349.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/0.4433, allocations: 75.19 kB / 349.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.446, allocations: 0.9229 MB / 350.4 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.4466, allocations: 0.8011 MB / 351.2 MB, free: 1.383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000347/0.4469, allocations: 51.27 kB / 351.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.4473, allocations: 115.4 kB / 351.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4473, allocations: 0 / 351.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/0.4896, allocations: 6.795 MB / 358.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.49, allocations: 157.6 kB / 358.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.608/3.098, allocations: 3.938 kB / 358.4 MB, free: 10.26 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