Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.435/2.435, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.88e-05, allocations: 7.984 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.293/9.404, allocations: 2.742 GB / 3.051 GB, free: 91.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/9.404, allocations: 94.44 kB / 3.051 GB, free: 91.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.142/11.55, allocations: 426.8 MB / 3.468 GB, free: 40.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/11.55, allocations: 0 / 3.468 GB, free: 40.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.603e-05/11.55, allocations: 9.438 kB / 3.468 GB, free: 40.32 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.005708/11.55, allocations: 1.254 MB / 3.469 GB, free: 39.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/11.55, allocations: 11.75 kB / 3.469 GB, free: 39.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/11.55, allocations: 65.67 kB / 3.469 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/11.55, allocations: 160.6 kB / 3.47 GB, free: 39.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007127/11.56, allocations: 318.9 kB / 3.47 GB, free: 39.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.154e-05/11.56, allocations: 29.78 kB / 3.47 GB, free: 39.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/11.56, allocations: 34.41 kB / 3.47 GB, free: 39.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/11.56, allocations: 0.539 MB / 3.471 GB, free: 38.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.288e-05/11.56, allocations: 11.64 kB / 3.471 GB, free: 38.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/11.56, allocations: 15.94 kB / 3.471 GB, free: 38.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/11.56, allocations: 11.56 kB / 3.471 GB, free: 38.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/11.56, allocations: 465.8 kB / 3.471 GB, free: 38.77 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.004358/11.56, allocations: 2.615 MB / 3.474 GB, free: 36.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/11.57, allocations: 417.3 kB / 3.474 GB, free: 36.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/11.57, allocations: 140.5 kB / 3.474 GB, free: 36.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/11.57, allocations: 0.5533 MB / 3.475 GB, free: 35.86 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/11.57, allocations: 42.41 kB / 3.475 GB, free: 35.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/11.57, allocations: 0 / 3.475 GB, free: 35.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.00629/11.57, allocations: 1.244 MB / 3.476 GB, free: 35.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/11.57, allocations: 58.44 kB / 3.476 GB, free: 35.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/11.57, allocations: 223.8 kB / 3.476 GB, free: 35.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/11.57, allocations: 37.11 kB / 3.476 GB, free: 34.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/11.57, allocations: 178.7 kB / 3.476 GB, free: 34.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/11.57, allocations: 117.3 kB / 3.476 GB, free: 34.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/11.57, allocations: 8 kB / 3.476 GB, free: 34.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/11.57, allocations: 342.1 kB / 3.477 GB, free: 34.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/11.57, allocations: 100.4 kB / 3.477 GB, free: 34.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/11.57, allocations: 196.3 kB / 3.477 GB, free: 34.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/11.58, allocations: 128.1 kB / 3.477 GB, free: 34.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/11.58, allocations: 3.812 kB / 3.477 GB, free: 34.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001212/11.58, allocations: 421 kB / 3.478 GB, free: 33.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/11.58, allocations: 11.23 kB / 3.478 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/11.58, allocations: 0 / 3.478 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/11.58, allocations: 89.2 kB / 3.478 GB, free: 33.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/11.58, allocations: 100.2 kB / 3.478 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/11.58, allocations: 2.369 MB / 3.48 GB, free: 31.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/11.58, allocations: 50.3 kB / 3.48 GB, free: 31.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/11.58, allocations: 22.91 kB / 3.48 GB, free: 31.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001511/11.58, allocations: 128.5 kB / 3.48 GB, free: 31.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/11.58, allocations: 26.72 kB / 3.48 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/11.58, allocations: 1.344 MB / 3.482 GB, free: 30.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/11.58, allocations: 18.86 kB / 3.482 GB, free: 30.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/11.58, allocations: 3.953 kB / 3.482 GB, free: 30.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001614/11.58, allocations: 1.425 MB / 3.483 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003023/11.59, allocations: 2.098 MB / 3.485 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/11.59, allocations: 3.75 kB / 3.485 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/11.59, allocations: 104 kB / 3.485 GB, free: 28.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/11.59, allocations: 83.58 kB / 3.485 GB, free: 28.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/11.59, allocations: 8.062 kB / 3.485 GB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003846/11.59, allocations: 0.5958 MB / 3.486 GB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/11.59, allocations: 0 / 3.486 GB, free: 28.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/11.59, allocations: 1.168 MB / 3.487 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/11.59, allocations: 163.5 kB / 3.487 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/11.59, allocations: 15.5 kB / 3.487 GB, free: 27.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006385/11.59, allocations: 43.31 kB / 3.487 GB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/11.59, allocations: 32.56 kB / 3.487 GB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/11.59, allocations: 19.98 kB / 3.487 GB, free: 27.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003373/11.59, allocations: 230.3 kB / 3.488 GB, free: 27.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/11.59, allocations: 0 / 3.488 GB, free: 27.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004647/11.6, allocations: 0.8893 MB / 3.488 GB, free: 26.54 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.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01066/11.61, allocations: 2.95 MB / 3.491 GB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/11.61, allocations: 0.5784 MB / 3.492 GB, free: 23.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/11.61, allocations: 3.938 kB / 3.492 GB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007095/11.61, allocations: 363.8 kB / 3.492 GB, free: 23.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/11.61, allocations: 185.6 kB / 3.492 GB, free: 22.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/11.62, allocations: 1.323 MB / 3.494 GB, free: 21.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/11.62, allocations: 0.8902 MB / 3.495 GB, free: 20.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005894/11.62, allocations: 146.7 kB / 3.495 GB, free: 20.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/11.62, allocations: 192.3 kB / 3.495 GB, free: 20.71 MB / 426.7 MB Notification: Performance of SimCode: time 3.146e-06/11.62, allocations: 0 / 3.495 GB, free: 20.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4275/12.05, allocations: 39.24 MB / 3.533 GB, free: 66.29 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/12.05, allocations: 201.6 kB / 3.533 GB, free: 66.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.594/16.64, allocations: 0 / 3.533 GB, free: 66.06 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat