Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.2e-05, allocations: 4 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 44.49 MB / 294.2 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.581/7.902, allocations: 2.575 GB / 2.863 GB, free: 82.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/7.902, allocations: 92.55 kB / 2.863 GB, free: 82.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.406/10.31, allocations: 425.8 MB / 3.278 GB, free: 37.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/10.31, allocations: 3.906 kB / 3.278 GB, free: 37.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.395e-05/10.31, allocations: 15.17 kB / 3.278 GB, free: 37.89 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.006246/10.31, allocations: 1.248 MB / 3.28 GB, free: 37.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/10.31, allocations: 10.47 kB / 3.28 GB, free: 37.42 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/10.32, allocations: 159 kB / 3.28 GB, free: 37.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/10.32, allocations: 323.7 kB / 3.28 GB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/10.32, allocations: 15.31 kB / 3.28 GB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/10.32, allocations: 17.66 kB / 3.28 GB, free: 37.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007669/10.32, allocations: 299.4 kB / 3.28 GB, free: 37.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/10.32, allocations: 371.1 kB / 3.281 GB, free: 37.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/10.32, allocations: 0.8594 kB / 3.281 GB, free: 37.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/10.32, allocations: 3.844 kB / 3.281 GB, free: 37.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/10.32, allocations: 7.875 kB / 3.281 GB, free: 37.07 MB / 410.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.004272/10.32, allocations: 2.538 MB / 3.283 GB, free: 35.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/10.32, allocations: 244.3 kB / 3.284 GB, free: 35.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/10.32, allocations: 117.3 kB / 3.284 GB, free: 35.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/10.33, allocations: 0.5624 MB / 3.284 GB, free: 34.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/10.33, allocations: 41.67 kB / 3.284 GB, free: 34.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.226e-06/10.33, allocations: 0 / 3.284 GB, free: 34.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004113/10.33, allocations: 0.9804 MB / 3.285 GB, free: 34.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/10.33, allocations: 55.31 kB / 3.285 GB, free: 34.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/10.33, allocations: 197.1 kB / 3.285 GB, free: 34.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.212e-05/10.33, allocations: 27.34 kB / 3.285 GB, free: 34.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/10.33, allocations: 245.3 kB / 3.286 GB, free: 33.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/10.33, allocations: 114 kB / 3.286 GB, free: 33.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/10.33, allocations: 1.641 kB / 3.286 GB, free: 33.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/10.33, allocations: 330.9 kB / 3.286 GB, free: 33.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/10.33, allocations: 94.03 kB / 3.286 GB, free: 33.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/10.33, allocations: 193.1 kB / 3.286 GB, free: 33.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004591/10.33, allocations: 126.4 kB / 3.286 GB, free: 33.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/10.33, allocations: 0 / 3.286 GB, free: 33.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001225/10.33, allocations: 393.3 kB / 3.287 GB, free: 33.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/10.33, allocations: 7.562 kB / 3.287 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/10.33, allocations: 3.375 kB / 3.287 GB, free: 33.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/10.33, allocations: 79.41 kB / 3.287 GB, free: 33.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006656/10.33, allocations: 95.66 kB / 3.287 GB, free: 33.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/10.34, allocations: 2.33 MB / 3.289 GB, free: 31.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008387/10.34, allocations: 69.31 kB / 3.289 GB, free: 31.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/10.34, allocations: 20.56 kB / 3.289 GB, free: 31.13 MB / 410.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 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.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.0001772/10.34, allocations: 114 kB / 3.29 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009533/10.34, allocations: 311.7 kB / 3.29 GB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.954e-05/10.34, allocations: 25.06 kB / 3.29 GB, free: 30.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/10.34, allocations: 1.102 MB / 3.291 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/10.34, allocations: 11.11 kB / 3.291 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/10.34, allocations: 7.781 kB / 3.291 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/10.34, allocations: 1.261 MB / 3.292 GB, free: 30.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/10.34, allocations: 1.768 MB / 3.294 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/10.34, allocations: 0 / 3.294 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006436/10.34, allocations: 85.36 kB / 3.294 GB, free: 29.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003366/10.35, allocations: 73.67 kB / 3.294 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/10.35, allocations: 0 / 3.294 GB, free: 29.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005167/10.35, allocations: 0.6204 MB / 3.295 GB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/10.35, allocations: 0 / 3.295 GB, free: 29.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/10.35, allocations: 1.02 MB / 3.296 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/10.35, allocations: 150.9 kB / 3.296 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.767e-05/10.35, allocations: 1.75 kB / 3.296 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/10.35, allocations: 35.59 kB / 3.296 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/10.35, allocations: 30.75 kB / 3.296 GB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/10.35, allocations: 18.73 kB / 3.296 GB, free: 29.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003067/10.35, allocations: 209.9 kB / 3.296 GB, free: 28.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.35, allocations: 0 / 3.296 GB, free: 28.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00613/10.36, allocations: 0.8652 MB / 3.297 GB, free: 28.84 MB / 410.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: 8 ($cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.01391/10.37, allocations: 2.864 MB / 3.3 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/10.37, allocations: 0.5273 MB / 3.3 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/10.37, allocations: 0 / 3.3 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009736/10.37, allocations: 317.1 kB / 3.301 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/10.37, allocations: 141.2 kB / 3.301 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006372/10.38, allocations: 1.216 MB / 3.302 GB, free: 27.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/10.38, allocations: 0.8643 MB / 3.303 GB, free: 26.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/10.38, allocations: 165.5 kB / 3.303 GB, free: 26.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/10.38, allocations: 3.25 kB / 3.303 GB, free: 26.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.634/14.02, allocations: 29.2 MB / 3.331 GB, free: 25.04 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat