Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/3.014e-05, allocations: 7.984 kB / 219.6 MB, free: 6.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3408, allocations: 38.75 MB / 258.4 MB, free: 12.27 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.55/7.89, allocations: 2.466 GB / 2.718 GB, free: 34.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/7.891, allocations: 90.31 kB / 2.718 GB, free: 34.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.257/10.15, allocations: 415.2 MB / 3.123 GB, free: 32.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/10.15, allocations: 0 / 3.123 GB, free: 32.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/10.15, allocations: 7 kB / 3.123 GB, free: 32.25 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.005198/10.15, allocations: 1.228 MB / 3.125 GB, free: 31.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/10.15, allocations: 7.25 kB / 3.125 GB, free: 31.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/10.15, allocations: 158.2 kB / 3.125 GB, free: 31.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/10.16, allocations: 316.7 kB / 3.125 GB, free: 31.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/10.16, allocations: 14.34 kB / 3.125 GB, free: 31.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.12e-05/10.16, allocations: 24.22 kB / 3.125 GB, free: 31.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007275/10.16, allocations: 302 kB / 3.125 GB, free: 31.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007221/10.16, allocations: 364.7 kB / 3.126 GB, free: 30.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/10.16, allocations: 3.938 kB / 3.126 GB, free: 30.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/10.16, allocations: 0 / 3.126 GB, free: 30.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/10.16, allocations: 11.53 kB / 3.126 GB, free: 30.89 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.003862/10.16, allocations: 2.553 MB / 3.128 GB, free: 28.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/10.16, allocations: 233.8 kB / 3.129 GB, free: 28.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/10.16, allocations: 128.1 kB / 3.129 GB, free: 28.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/10.16, allocations: 0.5557 MB / 3.129 GB, free: 28.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/10.16, allocations: 38.22 kB / 3.129 GB, free: 28.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/10.16, allocations: 5.703 kB / 3.129 GB, free: 28.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003941/10.17, allocations: 0.9775 MB / 3.13 GB, free: 27.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/10.17, allocations: 59.22 kB / 3.13 GB, free: 27.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/10.17, allocations: 198.1 kB / 3.13 GB, free: 27.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/10.17, allocations: 25.7 kB / 3.13 GB, free: 27.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/10.17, allocations: 194.9 kB / 3.131 GB, free: 27.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/10.17, allocations: 105.5 kB / 3.131 GB, free: 27.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/10.17, allocations: 0 / 3.131 GB, free: 27.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/10.17, allocations: 337.7 kB / 3.131 GB, free: 26.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/10.17, allocations: 96.31 kB / 3.131 GB, free: 26.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/10.17, allocations: 187.3 kB / 3.131 GB, free: 26.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/10.17, allocations: 124.6 kB / 3.131 GB, free: 26.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/10.17, allocations: 0 / 3.131 GB, free: 26.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001256/10.17, allocations: 410.5 kB / 3.132 GB, free: 26.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/10.17, allocations: 7.719 kB / 3.132 GB, free: 26.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/10.17, allocations: 3.375 kB / 3.132 GB, free: 26.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003957/10.17, allocations: 77.25 kB / 3.132 GB, free: 26.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006407/10.17, allocations: 93.89 kB / 3.132 GB, free: 26.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/10.17, allocations: 2.341 MB / 3.134 GB, free: 23.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007945/10.17, allocations: 57.31 kB / 3.134 GB, free: 23.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/10.17, allocations: 23.86 kB / 3.134 GB, free: 23.88 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.0001503/10.17, allocations: 108.7 kB / 3.134 GB, free: 23.77 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009032/10.17, allocations: 305.7 kB / 3.135 GB, free: 23.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/10.17, allocations: 28.83 kB / 3.135 GB, free: 23.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/10.18, allocations: 1.107 MB / 3.136 GB, free: 23.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/10.18, allocations: 14.64 kB / 3.136 GB, free: 23.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/10.18, allocations: 3.281 kB / 3.136 GB, free: 23.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/10.18, allocations: 1.249 MB / 3.137 GB, free: 22.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/10.18, allocations: 1.778 MB / 3.139 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/10.18, allocations: 0 / 3.139 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006774/10.18, allocations: 87.38 kB / 3.139 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003565/10.18, allocations: 65.41 kB / 3.139 GB, free: 21.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.361e-05/10.18, allocations: 3.75 kB / 3.139 GB, free: 21.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004538/10.18, allocations: 0.6222 MB / 3.14 GB, free: 20.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/10.18, allocations: 7.172 kB / 3.14 GB, free: 20.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/10.18, allocations: 1.012 MB / 3.141 GB, free: 20.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/10.18, allocations: 141.3 kB / 3.141 GB, free: 19.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/10.18, allocations: 10.12 kB / 3.141 GB, free: 19.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/10.19, allocations: 37.17 kB / 3.141 GB, free: 19.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/10.19, allocations: 32.8 kB / 3.141 GB, free: 19.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/10.19, allocations: 18.55 kB / 3.141 GB, free: 19.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002959/10.19, allocations: 214 kB / 3.141 GB, free: 19.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.32e-07/10.19, allocations: 0 / 3.141 GB, free: 19.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00462/10.19, allocations: 0.8595 MB / 3.142 GB, free: 19.66 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.01061/10.2, allocations: 2.857 MB / 3.145 GB, free: 18.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/10.2, allocations: 0.5283 MB / 3.145 GB, free: 18.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/10.2, allocations: 0 / 3.145 GB, free: 18.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006012/10.2, allocations: 321.2 kB / 3.145 GB, free: 18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/10.2, allocations: 142.7 kB / 3.146 GB, free: 17.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/10.21, allocations: 1.189 MB / 3.147 GB, free: 17.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/10.21, allocations: 0.8526 MB / 3.148 GB, free: 32.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006455/10.21, allocations: 169.3 kB / 3.148 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/10.21, allocations: 165.2 kB / 3.148 GB, free: 32.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/10.21, allocations: 0 / 3.148 GB, free: 32.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0975/10.31, allocations: 31.4 MB / 3.179 GB, free: 12.89 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/10.31, allocations: 158.5 kB / 3.179 GB, free: 12.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.154/14.46, allocations: 0 / 3.179 GB, free: 12.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat