Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.ElastoGap,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_ElastoGap",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.754e-05/4.768e-05, allocations: 4 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6056, allocations: 76.28 MB / 393.3 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.6059, allocations: 61.72 kB / 393.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03224/0.6382, allocations: 5.719 MB / 399.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.6382, allocations: 0 / 399.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.6383, allocations: 11.94 kB / 399.1 MB, free: 6.539 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.001267/0.6395, allocations: 0.5521 MB / 399.6 MB, free: 5.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.6396, allocations: 8.031 kB / 399.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.26e-05/0.6397, allocations: 64.61 kB / 399.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.277e-05/0.6398, allocations: 43.52 kB / 399.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.6402, allocations: 249.2 kB / 400 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.6403, allocations: 29.61 kB / 400 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.899e-05/0.6403, allocations: 33.84 kB / 400.1 MB, free: 5.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.641, allocations: 242.2 kB / 400.3 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.641, allocations: 7.984 kB / 400.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.833e-05/0.6411, allocations: 6.375 kB / 400.3 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.6411, allocations: 8 kB / 400.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006108/0.6417, allocations: 219.6 kB / 400.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.6437, allocations: 0.8013 MB / 401.3 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.6444, allocations: 346.5 kB / 401.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.6449, allocations: 172.5 kB / 401.8 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/0.6449, allocations: 8 kB / 401.9 MB, free: 4.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.645, allocations: 38.38 kB / 401.9 MB, free: 4.168 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/0.645, allocations: 0 / 401.9 MB, free: 4.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.005836/0.6508, allocations: 1.767 MB / 403.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.6509, allocations: 55.97 kB / 403.7 MB, free: 2.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.6512, allocations: 176.3 kB / 403.9 MB, free: 2.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.6512, allocations: 33.52 kB / 403.9 MB, free: 2.414 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.6513, allocations: 140.1 kB / 404.1 MB, free: 2.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.6516, allocations: 223.5 kB / 404.3 MB, free: 2.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.6516, allocations: 15.62 kB / 404.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6518, allocations: 342.1 kB / 404.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.6522, allocations: 134.9 kB / 404.8 MB, free: 1.691 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.6525, allocations: 145.2 kB / 404.9 MB, free: 1.602 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.6529, allocations: 148.9 kB / 405 MB, free: 1.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.653, allocations: 0 / 405 MB, free: 1.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001058/0.654, allocations: 445 kB / 405.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6541, allocations: 4 kB / 405.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6541, allocations: 0 / 405.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.6541, allocations: 8 kB / 405.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.6551, allocations: 123.6 kB / 405.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.842e-05/0.6552, allocations: 7.953 kB / 405.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.6556, allocations: 27.55 kB / 405.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.762e-05/0.6557, allocations: 23.73 kB / 405.7 MB, free: 1.016 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.0001585/0.6558, allocations: 136.2 kB / 405.8 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-05/0.6559, allocations: 31.62 kB / 405.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.6561, allocations: 49.97 kB / 405.9 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.6561, allocations: 4 kB / 405.9 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6561, allocations: 0 / 405.9 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.6562, allocations: 7.938 kB / 405.9 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002717/0.6589, allocations: 1.264 MB / 407.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.6589, allocations: 4 kB / 407.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009995/0.6599, allocations: 127.2 kB / 407.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.902e-05/0.66, allocations: 7.953 kB / 407.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.66, allocations: 22.8 kB / 407.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/0.6601, allocations: 7.938 kB / 407.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.6601, allocations: 8 kB / 407.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.6618, allocations: 1.03 MB / 408.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.662, allocations: 112.6 kB / 408.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.6621, allocations: 23.72 kB / 408.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.6625, allocations: 30.73 kB / 408.5 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.6627, allocations: 55.09 kB / 408.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.6627, allocations: 23.36 kB / 408.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001854/0.6629, allocations: 142.1 kB / 408.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.795e-06/0.6629, allocations: 0 / 408.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006052/0.6636, allocations: 100.8 kB / 408.8 MB, free: 14.13 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.002575/0.6661, allocations: 2.812 MB / 411.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.6672, allocations: 384.7 kB / 412 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6672, allocations: 0 / 412 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005375/0.6678, allocations: 228.3 kB / 412.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007819/0.6686, allocations: 62.19 kB / 412.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.6711, allocations: 0.9136 MB / 413.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004501/0.6716, allocations: 0.805 MB / 414 MB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003333/0.6719, allocations: 47.25 kB / 414.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002807/0.6722, allocations: 115 kB / 414.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6722, allocations: 0 / 414.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.7057, allocations: 6.77 MB / 421 MB, free: 2.395 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003605/0.7062, allocations: 156.8 kB / 421.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.484, allocations: 0 / 421.1 MB, free: 2.168 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat does not exist to compare? outputFormat=mat