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.732/1.732, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.87e-05/3.875e-05, allocations: 4 kB / 225.1 MB, free: 2.602 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2867, allocations: 38.77 MB / 263.9 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/7.962, allocations: 2.466 GB / 2.724 GB, free: 82.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/7.962, allocations: 87.41 kB / 2.724 GB, free: 82.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.318/10.28, allocations: 418.9 MB / 3.133 GB, free: 44.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/10.28, allocations: 0 / 3.133 GB, free: 44.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.9e-05/10.28, allocations: 7.938 kB / 3.133 GB, free: 44.68 MB / 378.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.005589/10.29, allocations: 1.229 MB / 3.134 GB, free: 44.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/10.29, allocations: 7.719 kB / 3.134 GB, free: 44.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/10.29, allocations: 70.88 kB / 3.134 GB, free: 44.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/10.29, allocations: 161.1 kB / 3.134 GB, free: 44.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/10.29, allocations: 319.9 kB / 3.135 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/10.29, allocations: 29.62 kB / 3.135 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.92e-05/10.29, allocations: 31.56 kB / 3.135 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/10.29, allocations: 0.546 MB / 3.135 GB, free: 43.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/10.29, allocations: 7.812 kB / 3.135 GB, free: 43.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/10.29, allocations: 11.28 kB / 3.135 GB, free: 43.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/10.29, allocations: 7.906 kB / 3.135 GB, free: 43.76 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/10.29, allocations: 471 kB / 3.136 GB, free: 43.76 MB / 378.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.004256/10.3, allocations: 2.619 MB / 3.138 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/10.3, allocations: 422.8 kB / 3.139 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/10.3, allocations: 130 kB / 3.139 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/10.3, allocations: 0.5571 MB / 3.139 GB, free: 41.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/10.3, allocations: 40.27 kB / 3.14 GB, free: 41.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 2.485e-06/10.3, allocations: 0 / 3.14 GB, free: 41.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.005343/10.3, allocations: 1.244 MB / 3.141 GB, free: 40.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/10.31, allocations: 57.59 kB / 3.141 GB, free: 40.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/10.31, allocations: 223.7 kB / 3.141 GB, free: 40.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/10.31, allocations: 31.7 kB / 3.141 GB, free: 40.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/10.31, allocations: 241.3 kB / 3.141 GB, free: 40.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/10.31, allocations: 113.8 kB / 3.141 GB, free: 40.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/10.31, allocations: 6.656 kB / 3.141 GB, free: 40.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/10.31, allocations: 327.8 kB / 3.142 GB, free: 40.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/10.31, allocations: 103.6 kB / 3.142 GB, free: 40.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/10.31, allocations: 201.6 kB / 3.142 GB, free: 40.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/10.31, allocations: 133 kB / 3.142 GB, free: 40.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/10.31, allocations: 0 / 3.142 GB, free: 40.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001117/10.31, allocations: 413.1 kB / 3.142 GB, free: 39.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/10.31, allocations: 4.281 kB / 3.143 GB, free: 39.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/10.31, allocations: 3.906 kB / 3.143 GB, free: 39.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005239/10.31, allocations: 87.69 kB / 3.143 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/10.31, allocations: 91.22 kB / 3.143 GB, free: 39.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/10.31, allocations: 2.367 MB / 3.145 GB, free: 37.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/10.31, allocations: 64.33 kB / 3.145 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/10.31, allocations: 15.94 kB / 3.145 GB, free: 37.66 MB / 378.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.0001427/10.31, allocations: 124.2 kB / 3.145 GB, free: 37.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-05/10.31, allocations: 33.3 kB / 3.145 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/10.31, allocations: 1.337 MB / 3.147 GB, free: 37.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.687e-05/10.31, allocations: 22.28 kB / 3.147 GB, free: 37.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/10.31, allocations: 1.5 kB / 3.147 GB, free: 37.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001493/10.32, allocations: 1.428 MB / 3.148 GB, free: 36.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/10.32, allocations: 2.093 MB / 3.15 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/10.32, allocations: 0 / 3.15 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/10.32, allocations: 108.8 kB / 3.15 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/10.32, allocations: 74.45 kB / 3.15 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/10.32, allocations: 11.28 kB / 3.15 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003784/10.32, allocations: 0.5932 MB / 3.151 GB, free: 35.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/10.32, allocations: 0 / 3.151 GB, free: 35.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/10.32, allocations: 1.168 MB / 3.152 GB, free: 35.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/10.32, allocations: 171.1 kB / 3.152 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/10.32, allocations: 7.5 kB / 3.152 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/10.32, allocations: 41.31 kB / 3.152 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/10.32, allocations: 42.17 kB / 3.152 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/10.32, allocations: 12.55 kB / 3.152 GB, free: 35.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003337/10.32, allocations: 228.6 kB / 3.152 GB, free: 35.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/10.32, allocations: 5.875 kB / 3.152 GB, free: 35.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00502/10.33, allocations: 0.8957 MB / 3.153 GB, free: 35.32 MB / 378.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.01025/10.34, allocations: 2.952 MB / 3.156 GB, free: 34.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/10.34, allocations: 0.5672 MB / 3.157 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/10.34, allocations: 1.312 kB / 3.157 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006858/10.34, allocations: 378.3 kB / 3.157 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/10.34, allocations: 181.1 kB / 3.157 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005573/10.35, allocations: 1.361 MB / 3.159 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/10.35, allocations: 0.8944 MB / 3.159 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/10.35, allocations: 194.6 kB / 3.16 GB, free: 33.2 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/10.35, allocations: 0 / 3.16 GB, free: 33.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.778/14.13, allocations: 29.77 MB / 3.189 GB, free: 31.02 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