Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.069/2.069, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.594e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 44.5 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.18/1.505, allocations: 437.3 MB / 0.7144 GB, free: 12.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/1.506, allocations: 67.41 kB / 0.7145 GB, free: 12.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3538/1.859, allocations: 24.3 MB / 0.7382 GB, free: 155 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/1.859, allocations: 4 kB / 0.7382 GB, free: 155 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/1.859, allocations: 1.562 kB / 0.7382 GB, free: 155 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00117/1.861, allocations: 436.9 kB / 0.7386 GB, free: 154.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.861, allocations: 8.656 kB / 0.7386 GB, free: 154.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009905/1.871, allocations: 467.8 kB / 0.7391 GB, free: 154.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.871, allocations: 167.9 kB / 0.7392 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/1.871, allocations: 3.844 kB / 0.7392 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.871, allocations: 3.625 kB / 0.7392 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007041/1.872, allocations: 228.8 kB / 0.7395 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/1.872, allocations: 115.7 kB / 0.7396 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.872, allocations: 0 / 0.7396 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/1.872, allocations: 3.938 kB / 0.7396 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.872, allocations: 0 / 0.7396 GB, free: 154.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.873, allocations: 393.9 kB / 0.74 GB, free: 154.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/1.875, allocations: 185.8 kB / 0.7401 GB, free: 154.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/1.875, allocations: 55.11 kB / 0.7402 GB, free: 154.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/1.875, allocations: 11.38 kB / 0.7402 GB, free: 154.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/1.875, allocations: 36.75 kB / 0.7402 GB, free: 154 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.417e-06/1.875, allocations: 0 / 0.7402 GB, free: 154 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001715/1.877, allocations: 294.2 kB / 0.7405 GB, free: 154 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/1.877, allocations: 55.25 kB / 0.7406 GB, free: 153.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/1.877, allocations: 100.2 kB / 0.7407 GB, free: 153.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.877, allocations: 25.7 kB / 0.7407 GB, free: 153.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/1.877, allocations: 93.83 kB / 0.7408 GB, free: 153.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/1.877, allocations: 52.17 kB / 0.7408 GB, free: 153.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/1.877, allocations: 0 / 0.7408 GB, free: 153.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.666e-05/1.877, allocations: 321.3 kB / 0.7411 GB, free: 153.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/1.877, allocations: 59.77 kB / 0.7412 GB, free: 153.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/1.877, allocations: 87.19 kB / 0.7413 GB, free: 153.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/1.878, allocations: 72.56 kB / 0.7413 GB, free: 153.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.878, allocations: 0 / 0.7413 GB, free: 153.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004891/1.878, allocations: 197.1 kB / 0.7415 GB, free: 153.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/1.878, allocations: 7.875 kB / 0.7415 GB, free: 153.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.878, allocations: 3.984 kB / 0.7415 GB, free: 153.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.878, allocations: 3.938 kB / 0.7415 GB, free: 153.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/1.879, allocations: 53.61 kB / 0.7416 GB, free: 153.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/1.879, allocations: 3.906 kB / 0.7416 GB, free: 153.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/1.879, allocations: 11.28 kB / 0.7416 GB, free: 153.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/1.879, allocations: 14.86 kB / 0.7416 GB, free: 153.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001042/1.879, allocations: 106.2 kB / 0.7417 GB, free: 153.2 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004558/1.88, allocations: 181.1 kB / 0.7419 GB, free: 153.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/1.88, allocations: 3.75 kB / 0.7419 GB, free: 153.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/1.881, allocations: 228.1 kB / 0.7421 GB, free: 153.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/1.881, allocations: 0 / 0.7421 GB, free: 153.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.881, allocations: 2.25 kB / 0.7421 GB, free: 153.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.881, allocations: 0 / 0.7421 GB, free: 153.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/1.882, allocations: 0.4952 MB / 0.7426 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.882, allocations: 2.906 kB / 0.7426 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.883, allocations: 48.86 kB / 0.7426 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/1.883, allocations: 0 / 0.7426 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/1.883, allocations: 3.875 kB / 0.7427 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/1.883, allocations: 0 / 0.7427 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.883, allocations: 3.984 kB / 0.7427 GB, free: 152.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004789/1.883, allocations: 306.8 kB / 0.7429 GB, free: 152.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/1.883, allocations: 84.95 kB / 0.743 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.578e-05/1.883, allocations: 7 kB / 0.743 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/1.884, allocations: 11.47 kB / 0.743 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/1.884, allocations: 21.45 kB / 0.7431 GB, free: 152.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-05/1.884, allocations: 11.02 kB / 0.7431 GB, free: 152.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.229e-05/1.884, allocations: 79.03 kB / 0.7432 GB, free: 152.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.884, allocations: 3.906 kB / 0.7432 GB, free: 152.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008167/1.885, allocations: 68.66 kB / 0.7432 GB, free: 152.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001812/1.887, allocations: 1.464 MB / 0.7447 GB, free: 151.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004656/1.887, allocations: 150.2 kB / 0.7448 GB, free: 151.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.887, allocations: 0 / 0.7448 GB, free: 151.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.887, allocations: 79.59 kB / 0.7449 GB, free: 151.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/1.888, allocations: 33.47 kB / 0.7449 GB, free: 151.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.889, allocations: 197.3 kB / 0.7451 GB, free: 151.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/1.889, allocations: 0.7008 MB / 0.7458 GB, free: 150.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006898/1.89, allocations: 50.89 kB / 0.7458 GB, free: 150.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002843/1.89, allocations: 43.75 kB / 0.7459 GB, free: 150.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.212e-06/1.89, allocations: 0 / 0.7459 GB, free: 150.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0585/1.949, allocations: 7.248 MB / 0.7529 GB, free: 148.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/1.949, allocations: 126.4 kB / 0.7531 GB, free: 148.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/4.67, allocations: 3.938 kB / 0.7531 GB, free: 148.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat