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 1.987/1.987, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.32e-05, allocations: 0 / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.0994, allocations: 44.52 MB / 299.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.123/8.223, allocations: 2.576 GB / 2.869 GB, free: 85.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004357/8.223, allocations: 89.75 kB / 2.869 GB, free: 85.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.106/10.33, allocations: 429.6 MB / 3.288 GB, free: 31.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/10.33, allocations: 0 / 3.288 GB, free: 31.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.643e-05/10.33, allocations: 7.281 kB / 3.288 GB, free: 31.59 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.005217/10.33, allocations: 1.255 MB / 3.29 GB, free: 30.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/10.33, allocations: 8.031 kB / 3.29 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.486e-05/10.33, allocations: 70.53 kB / 3.29 GB, free: 30.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/10.34, allocations: 154 kB / 3.29 GB, free: 30.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/10.34, allocations: 327.1 kB / 3.29 GB, free: 29.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.388e-05/10.34, allocations: 29.64 kB / 3.29 GB, free: 29.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/10.34, allocations: 32 kB / 3.29 GB, free: 29.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/10.34, allocations: 0.5438 MB / 3.291 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/10.34, allocations: 0 / 3.291 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.005e-05/10.34, allocations: 19.94 kB / 3.291 GB, free: 29.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/10.34, allocations: 15.95 kB / 3.291 GB, free: 29.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/10.34, allocations: 468.1 kB / 3.291 GB, free: 28.62 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.00388/10.34, allocations: 2.624 MB / 3.294 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/10.35, allocations: 417.2 kB / 3.294 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/10.35, allocations: 138.5 kB / 3.294 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001088/10.35, allocations: 0.5582 MB / 3.295 GB, free: 24.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/10.35, allocations: 34.56 kB / 3.295 GB, free: 24.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.387e-06/10.35, allocations: 3.938 kB / 3.295 GB, free: 24.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.005206/10.35, allocations: 1.25 MB / 3.296 GB, free: 23.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/10.35, allocations: 53.94 kB / 3.296 GB, free: 23.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003247/10.35, allocations: 225 kB / 3.296 GB, free: 22.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/10.35, allocations: 33.7 kB / 3.296 GB, free: 22.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/10.35, allocations: 238 kB / 3.297 GB, free: 22.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/10.35, allocations: 118.3 kB / 3.297 GB, free: 22.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/10.35, allocations: 8 kB / 3.297 GB, free: 22.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.699e-05/10.35, allocations: 334 kB / 3.297 GB, free: 22.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/10.35, allocations: 104.9 kB / 3.297 GB, free: 22.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/10.35, allocations: 205.8 kB / 3.297 GB, free: 21.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/10.35, allocations: 127.2 kB / 3.297 GB, free: 21.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/10.35, allocations: 4 kB / 3.297 GB, free: 21.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001114/10.36, allocations: 419 kB / 3.298 GB, free: 21.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/10.36, allocations: 9.406 kB / 3.298 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/10.36, allocations: 4 kB / 3.298 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005142/10.36, allocations: 81.64 kB / 3.298 GB, free: 21.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/10.36, allocations: 95.88 kB / 3.298 GB, free: 21.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/10.36, allocations: 2.375 MB / 3.3 GB, free: 18.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000703/10.36, allocations: 51.19 kB / 3.3 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/10.36, allocations: 19.98 kB / 3.3 GB, free: 18.55 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 (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.0001418/10.36, allocations: 132.8 kB / 3.301 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.358e-05/10.36, allocations: 31.62 kB / 3.301 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/10.36, allocations: 1.342 MB / 3.302 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/10.36, allocations: 19.91 kB / 3.302 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/10.36, allocations: 0 / 3.302 GB, free: 17.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/10.36, allocations: 1.432 MB / 3.303 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/10.37, allocations: 2.098 MB / 3.305 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/10.37, allocations: 0 / 3.305 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007606/10.37, allocations: 99.89 kB / 3.305 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004514/10.37, allocations: 74.55 kB / 3.306 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/10.37, allocations: 15.92 kB / 3.306 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/10.37, allocations: 0.5948 MB / 3.306 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/10.37, allocations: 3.938 kB / 3.306 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/10.37, allocations: 1.169 MB / 3.307 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/10.37, allocations: 175.3 kB / 3.307 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/10.37, allocations: 8 kB / 3.307 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005756/10.37, allocations: 43.12 kB / 3.308 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/10.37, allocations: 35.94 kB / 3.308 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/10.37, allocations: 12 kB / 3.308 GB, free: 11.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003432/10.37, allocations: 234.2 kB / 3.308 GB, free: 10.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/10.37, allocations: 0 / 3.308 GB, free: 10.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004367/10.38, allocations: 0.886 MB / 3.309 GB, free: 9.941 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: 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.01028/10.39, allocations: 2.949 MB / 3.312 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/10.39, allocations: 0.5788 MB / 3.312 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/10.39, allocations: 0 / 3.312 GB, free: 6.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/10.39, allocations: 376.8 kB / 3.312 GB, free: 6.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/10.39, allocations: 186.1 kB / 3.313 GB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005523/10.4, allocations: 1.366 MB / 3.314 GB, free: 4.734 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/10.4, allocations: 0.89 MB / 3.315 GB, free: 3.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/10.4, allocations: 198.7 kB / 3.315 GB, free: 3.633 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/10.4, allocations: 0 / 3.315 GB, free: 3.633 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.131/14.53, allocations: 29.84 MB / 3.344 GB, free: 62.19 MB / 426.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