Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.362e-05, allocations: 4 kB / 219.6 MB, free: 7.305 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.261, allocations: 38.76 MB / 258.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.252/7.513, allocations: 2.466 GB / 2.718 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/7.513, allocations: 86.94 kB / 2.718 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.148/9.661, allocations: 415.2 MB / 3.123 GB, free: 32.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/9.661, allocations: 0 / 3.123 GB, free: 32.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/9.661, allocations: 7.281 kB / 3.123 GB, free: 32.46 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.00532/9.666, allocations: 1.226 MB / 3.125 GB, free: 31.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/9.666, allocations: 7.75 kB / 3.125 GB, free: 31.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/9.668, allocations: 167.2 kB / 3.125 GB, free: 31.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/9.669, allocations: 300.2 kB / 3.125 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/9.669, allocations: 18.34 kB / 3.125 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/9.669, allocations: 25.59 kB / 3.125 GB, free: 31.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007263/9.67, allocations: 305 kB / 3.125 GB, free: 31.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/9.671, allocations: 364.2 kB / 3.126 GB, free: 31.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/9.671, allocations: 0 / 3.126 GB, free: 31.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/9.671, allocations: 3.875 kB / 3.126 GB, free: 31.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/9.671, allocations: 9.172 kB / 3.126 GB, free: 31.11 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.003893/9.675, allocations: 2.547 MB / 3.128 GB, free: 28.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/9.675, allocations: 245.5 kB / 3.129 GB, free: 28.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/9.675, allocations: 121.5 kB / 3.129 GB, free: 28.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/9.677, allocations: 0.5548 MB / 3.129 GB, free: 28.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/9.677, allocations: 38.41 kB / 3.129 GB, free: 28.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 2.625e-06/9.677, allocations: 0 / 3.129 GB, free: 28.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.004092/9.681, allocations: 0.9954 MB / 3.13 GB, free: 27.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/9.681, allocations: 54.62 kB / 3.13 GB, free: 27.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/9.681, allocations: 193.8 kB / 3.13 GB, free: 27.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/9.681, allocations: 28.73 kB / 3.13 GB, free: 27.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/9.681, allocations: 245.9 kB / 3.131 GB, free: 27.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/9.681, allocations: 103.4 kB / 3.131 GB, free: 27.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/9.681, allocations: 0 / 3.131 GB, free: 27.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.105e-05/9.681, allocations: 331.7 kB / 3.131 GB, free: 26.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/9.682, allocations: 100.2 kB / 3.131 GB, free: 26.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002822/9.682, allocations: 193.1 kB / 3.131 GB, free: 26.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/9.682, allocations: 126.6 kB / 3.131 GB, free: 26.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/9.683, allocations: 0 / 3.131 GB, free: 26.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001252/9.684, allocations: 389.8 kB / 3.132 GB, free: 26.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/9.684, allocations: 3.938 kB / 3.132 GB, free: 26.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/9.684, allocations: 3.094 kB / 3.132 GB, free: 26.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/9.684, allocations: 81.62 kB / 3.132 GB, free: 26.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/9.685, allocations: 97.23 kB / 3.132 GB, free: 26.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/9.687, allocations: 2.333 MB / 3.134 GB, free: 24.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/9.687, allocations: 64.08 kB / 3.134 GB, free: 24.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/9.687, allocations: 19.5 kB / 3.134 GB, free: 24.04 MB / 362.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.0001525/9.688, allocations: 118.8 kB / 3.135 GB, free: 23.93 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009094/9.689, allocations: 305 kB / 3.135 GB, free: 23.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/9.689, allocations: 31.17 kB / 3.135 GB, free: 23.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/9.69, allocations: 1.102 MB / 3.136 GB, free: 23.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.36e-05/9.69, allocations: 20.08 kB / 3.136 GB, free: 23.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/9.691, allocations: 3.969 kB / 3.136 GB, free: 23.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/9.692, allocations: 1.254 MB / 3.137 GB, free: 22.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/9.695, allocations: 1.765 MB / 3.139 GB, free: 21.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/9.695, allocations: 0 / 3.139 GB, free: 21.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/9.695, allocations: 90.69 kB / 3.139 GB, free: 21.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003482/9.696, allocations: 63.08 kB / 3.139 GB, free: 21.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.609e-05/9.696, allocations: 7.688 kB / 3.139 GB, free: 21.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004192/9.696, allocations: 0.6221 MB / 3.14 GB, free: 20.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.696, allocations: 0 / 3.14 GB, free: 20.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/9.698, allocations: 1.013 MB / 3.141 GB, free: 20.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/9.698, allocations: 146.9 kB / 3.141 GB, free: 20.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/9.698, allocations: 7.781 kB / 3.141 GB, free: 20.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/9.699, allocations: 32.58 kB / 3.141 GB, free: 20.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/9.699, allocations: 37.62 kB / 3.141 GB, free: 20.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/9.699, allocations: 15.17 kB / 3.141 GB, free: 20.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003173/9.699, allocations: 214.4 kB / 3.141 GB, free: 20 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/9.699, allocations: 0 / 3.141 GB, free: 20 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004419/9.704, allocations: 0.8578 MB / 3.142 GB, free: 19.84 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.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.01054/9.714, allocations: 2.865 MB / 3.145 GB, free: 18.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/9.716, allocations: 0.5176 MB / 3.145 GB, free: 18.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/9.716, allocations: 0 / 3.145 GB, free: 18.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005908/9.716, allocations: 318.9 kB / 3.146 GB, free: 18.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/9.718, allocations: 147.2 kB / 3.146 GB, free: 18.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/9.723, allocations: 1.223 MB / 3.147 GB, free: 17.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/9.724, allocations: 0.8592 MB / 3.148 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/9.724, allocations: 165 kB / 3.148 GB, free: 32.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/9.724, allocations: 0 / 3.148 GB, free: 32.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.705/13.43, allocations: 29.12 MB / 3.176 GB, free: 15.45 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat