Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.103e-05/4.117e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2636, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.903/8.167, allocations: 2.465 GB / 2.722 GB, free: 81.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/8.167, allocations: 88.19 kB / 2.722 GB, free: 81.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.615/9.782, allocations: 289 MB / 3.005 GB, free: 45.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.555e-06/9.782, allocations: 0.75 kB / 3.005 GB, free: 45.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.122e-05/9.782, allocations: 7.812 kB / 3.005 GB, free: 45.03 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003544/9.786, allocations: 0.9022 MB / 3.005 GB, free: 44.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/9.786, allocations: 7.875 kB / 3.005 GB, free: 44.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/9.786, allocations: 69.77 kB / 3.006 GB, free: 44.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/9.787, allocations: 82.53 kB / 3.006 GB, free: 44.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000625/9.788, allocations: 300.1 kB / 3.006 GB, free: 44.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/9.788, allocations: 19.09 kB / 3.006 GB, free: 44.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/9.788, allocations: 40.62 kB / 3.006 GB, free: 44.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/9.789, allocations: 448.1 kB / 3.006 GB, free: 44.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/9.789, allocations: 3.906 kB / 3.006 GB, free: 44.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/9.789, allocations: 13.34 kB / 3.006 GB, free: 44.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/9.789, allocations: 11.42 kB / 3.006 GB, free: 44.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008794/9.79, allocations: 317 kB / 3.007 GB, free: 44.15 MB / 362.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/9.795, allocations: 2.63 MB / 3.009 GB, free: 42.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/9.796, allocations: 265.6 kB / 3.01 GB, free: 42.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/9.796, allocations: 104.1 kB / 3.01 GB, free: 42.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07589/9.872, allocations: 15.3 MB / 3.025 GB, free: 32.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/9.873, allocations: 35.72 kB / 3.025 GB, free: 32.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 4.95e-06/9.873, allocations: 0 / 3.025 GB, free: 32.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.009876/9.882, allocations: 1.177 MB / 3.026 GB, free: 32.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/9.883, allocations: 60.27 kB / 3.026 GB, free: 32.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005735/9.883, allocations: 238.8 kB / 3.026 GB, free: 32.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/9.883, allocations: 35.92 kB / 3.026 GB, free: 32.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/9.884, allocations: 198.3 kB / 3.026 GB, free: 32.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/9.884, allocations: 107.2 kB / 3.026 GB, free: 32.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/9.884, allocations: 10.31 kB / 3.026 GB, free: 32.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/9.884, allocations: 336.1 kB / 3.027 GB, free: 31.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/9.884, allocations: 96.28 kB / 3.027 GB, free: 31.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/9.885, allocations: 219.7 kB / 3.027 GB, free: 31.74 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005613/9.886, allocations: 130.3 kB / 3.027 GB, free: 31.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/9.886, allocations: 2.938 kB / 3.027 GB, free: 31.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002017/9.888, allocations: 432.7 kB / 3.028 GB, free: 31.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/9.888, allocations: 8.469 kB / 3.028 GB, free: 31.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/9.888, allocations: 7.125 kB / 3.028 GB, free: 31.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/9.898, allocations: 266.2 kB / 3.028 GB, free: 31.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008803/9.899, allocations: 74.17 kB / 3.028 GB, free: 31.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002488/9.902, allocations: 1.878 MB / 3.03 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/9.902, allocations: 24.14 kB / 3.03 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/9.903, allocations: 28.58 kB / 3.03 GB, free: 29.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002343/9.903, allocations: 130.4 kB / 3.03 GB, free: 29.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/9.903, allocations: 31 kB / 3.03 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/9.905, allocations: 0.9408 MB / 3.031 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/9.906, allocations: 11.41 kB / 3.031 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/9.906, allocations: 2.812 kB / 3.031 GB, free: 29.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/9.908, allocations: 1.12 MB / 3.032 GB, free: 29.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/9.912, allocations: 1.57 MB / 3.033 GB, free: 28.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/9.912, allocations: 3.594 kB / 3.033 GB, free: 28.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/9.912, allocations: 50.44 kB / 3.034 GB, free: 28.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/9.917, allocations: 286.5 kB / 3.034 GB, free: 28.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/9.917, allocations: 5.875 kB / 3.034 GB, free: 28.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008995/9.918, allocations: 0.6636 MB / 3.034 GB, free: 28.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/9.918, allocations: 0 / 3.034 GB, free: 28.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/9.921, allocations: 0.9529 MB / 3.035 GB, free: 28.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/9.921, allocations: 144.6 kB / 3.036 GB, free: 27.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/9.921, allocations: 7.469 kB / 3.036 GB, free: 27.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008356/9.922, allocations: 12.88 kB / 3.036 GB, free: 27.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/9.922, allocations: 21.92 kB / 3.036 GB, free: 27.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/9.923, allocations: 15.03 kB / 3.036 GB, free: 27.92 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005602/9.923, allocations: 231.9 kB / 3.036 GB, free: 27.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.11e-07/9.923, allocations: 2.625 kB / 3.036 GB, free: 27.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004315/9.927, allocations: 0.5387 MB / 3.036 GB, free: 27.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009739/9.937, allocations: 2.245 MB / 3.039 GB, free: 27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001922/9.939, allocations: 0.5072 MB / 3.039 GB, free: 26.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/9.939, allocations: 0 / 3.039 GB, free: 26.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/9.94, allocations: 293.3 kB / 3.039 GB, free: 26.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/9.944, allocations: 186.7 kB / 3.039 GB, free: 26.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00591/9.95, allocations: 0.9706 MB / 3.04 GB, free: 26.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/9.95, allocations: 0.8254 MB / 3.041 GB, free: 25.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009036/9.951, allocations: 115.5 kB / 3.041 GB, free: 25.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004314/9.952, allocations: 144.1 kB / 3.041 GB, free: 25.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.653e-06/9.952, allocations: 1.969 kB / 3.041 GB, free: 25.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/10.09, allocations: 29.3 MB / 3.07 GB, free: 24.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/10.09, allocations: 201.9 kB / 3.07 GB, free: 23.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.87/13.96, allocations: 0 / 3.07 GB, free: 23.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat