Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.454e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1444, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.197/9.341, allocations: 2.74 GB / 3.05 GB, free: 90.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004068/9.342, allocations: 95.8 kB / 3.05 GB, free: 90.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429/10.77, allocations: 294.5 MB / 3.337 GB, free: 27.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.136e-06/10.77, allocations: 4 kB / 3.337 GB, free: 27.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.574e-05/10.77, allocations: 11.94 kB / 3.337 GB, free: 27.63 MB / 426.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.004353/10.77, allocations: 0.9116 MB / 3.338 GB, free: 26.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/10.78, allocations: 8.031 kB / 3.338 GB, free: 26.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/10.78, allocations: 70.53 kB / 3.338 GB, free: 26.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/10.78, allocations: 88.52 kB / 3.338 GB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/10.78, allocations: 298.8 kB / 3.339 GB, free: 26.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/10.78, allocations: 20.78 kB / 3.339 GB, free: 26.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.602e-05/10.78, allocations: 36 kB / 3.339 GB, free: 26.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/10.78, allocations: 446.3 kB / 3.339 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/10.78, allocations: 7.922 kB / 3.339 GB, free: 25.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-05/10.78, allocations: 16 kB / 3.339 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/10.78, allocations: 8 kB / 3.339 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/10.78, allocations: 308.8 kB / 3.339 GB, free: 25.3 MB / 426.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.005313/10.79, allocations: 2.628 MB / 3.342 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/10.79, allocations: 258.6 kB / 3.342 GB, free: 22.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/10.79, allocations: 96.86 kB / 3.342 GB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06092/10.85, allocations: 15.39 MB / 3.357 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/10.85, allocations: 46.56 kB / 3.357 GB, free: 4.852 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/10.85, allocations: 0 / 3.357 GB, free: 4.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.005925/10.86, allocations: 1.155 MB / 3.358 GB, free: 3.641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/10.86, allocations: 55.41 kB / 3.359 GB, free: 3.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/10.86, allocations: 242.8 kB / 3.359 GB, free: 3.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/10.86, allocations: 29.7 kB / 3.359 GB, free: 3.297 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/10.86, allocations: 198.7 kB / 3.359 GB, free: 3.102 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.657e-05/10.86, allocations: 110.4 kB / 3.359 GB, free: 2.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/10.86, allocations: 8 kB / 3.359 GB, free: 2.984 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.847e-05/10.86, allocations: 338.8 kB / 3.359 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/10.86, allocations: 100.8 kB / 3.36 GB, free: 2.547 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/10.86, allocations: 206.3 kB / 3.36 GB, free: 2.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/10.86, allocations: 139.9 kB / 3.36 GB, free: 2.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/10.86, allocations: 4 kB / 3.36 GB, free: 2.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001128/10.86, allocations: 411.1 kB / 3.36 GB, free: 1.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/10.86, allocations: 8 kB / 3.36 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/10.86, allocations: 8.031 kB / 3.36 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006806/10.86, allocations: 265.4 kB / 3.361 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/10.87, allocations: 79.91 kB / 3.361 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3126/11.18, allocations: 1.866 MB / 3.362 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/11.18, allocations: 30.48 kB / 3.362 GB, free: 58.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/11.18, allocations: 18.78 kB / 3.362 GB, free: 58.88 MB / 426.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.0001656/11.18, allocations: 132.4 kB / 3.363 GB, free: 58.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.496e-05/11.18, allocations: 30.34 kB / 3.363 GB, free: 58.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/11.18, allocations: 0.9436 MB / 3.364 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/11.18, allocations: 11.08 kB / 3.364 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/11.18, allocations: 0 / 3.364 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001648/11.18, allocations: 1.111 MB / 3.365 GB, free: 58.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003025/11.19, allocations: 1.575 MB / 3.366 GB, free: 57.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/11.19, allocations: 3.438 kB / 3.366 GB, free: 57.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004152/11.19, allocations: 54.75 kB / 3.366 GB, free: 57.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003454/11.19, allocations: 283.8 kB / 3.366 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/11.19, allocations: 6.094 kB / 3.366 GB, free: 57.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006237/11.19, allocations: 0.6613 MB / 3.367 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/11.19, allocations: 0 / 3.367 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/11.19, allocations: 0.9522 MB / 3.368 GB, free: 57.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/11.19, allocations: 138.7 kB / 3.368 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/11.19, allocations: 5.469 kB / 3.368 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/11.19, allocations: 21.77 kB / 3.368 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/11.19, allocations: 23.23 kB / 3.368 GB, free: 57.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/11.19, allocations: 11 kB / 3.368 GB, free: 57.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003738/11.19, allocations: 241 kB / 3.368 GB, free: 56.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.633e-06/11.19, allocations: 3.562 kB / 3.368 GB, free: 56.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003154/11.2, allocations: 0.537 MB / 3.369 GB, free: 56.94 MB / 426.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.0071/11.2, allocations: 2.249 MB / 3.371 GB, free: 56.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/11.21, allocations: 0.4958 MB / 3.372 GB, free: 56.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/11.21, allocations: 1.031 kB / 3.372 GB, free: 56.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000682/11.21, allocations: 295.8 kB / 3.372 GB, free: 56.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/11.21, allocations: 185.2 kB / 3.372 GB, free: 56.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00413/11.21, allocations: 0.965 MB / 3.373 GB, free: 55.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/11.21, allocations: 0.8345 MB / 3.374 GB, free: 55.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006422/11.21, allocations: 109.6 kB / 3.374 GB, free: 55.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/11.21, allocations: 140.1 kB / 3.374 GB, free: 55.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/11.21, allocations: 0 / 3.374 GB, free: 55.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/11.34, allocations: 29.28 MB / 3.403 GB, free: 54.55 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/11.34, allocations: 197 kB / 3.403 GB, free: 54.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.814/15.16, allocations: 7.844 kB / 3.403 GB, free: 54.32 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat