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.894/1.894, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.961e-05/4.979e-05, allocations: 4 kB / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3041, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.023/8.327, allocations: 2.466 GB / 2.724 GB, free: 81.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/8.328, allocations: 90.55 kB / 2.724 GB, free: 81.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.537/10.86, allocations: 418.9 MB / 3.133 GB, free: 44.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.947e-06/10.87, allocations: 0 / 3.133 GB, free: 44.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.095e-05/10.87, allocations: 7.875 kB / 3.133 GB, free: 44.71 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.007819/10.87, allocations: 1.228 MB / 3.134 GB, free: 44.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/10.87, allocations: 14.19 kB / 3.134 GB, free: 44.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/10.87, allocations: 65.94 kB / 3.134 GB, free: 44.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/10.88, allocations: 158.4 kB / 3.135 GB, free: 44.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/10.88, allocations: 318.4 kB / 3.135 GB, free: 43.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/10.88, allocations: 38.23 kB / 3.135 GB, free: 43.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/10.88, allocations: 28.06 kB / 3.135 GB, free: 43.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/10.88, allocations: 0.5462 MB / 3.135 GB, free: 43.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.478e-05/10.88, allocations: 3.906 kB / 3.135 GB, free: 43.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/10.88, allocations: 17.81 kB / 3.135 GB, free: 43.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/10.88, allocations: 11.31 kB / 3.135 GB, free: 43.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003006/10.88, allocations: 465.4 kB / 3.136 GB, free: 43.8 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.006838/10.89, allocations: 2.625 MB / 3.138 GB, free: 41.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/10.89, allocations: 411.1 kB / 3.139 GB, free: 41.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/10.9, allocations: 126.4 kB / 3.139 GB, free: 41.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/10.9, allocations: 0.561 MB / 3.14 GB, free: 41.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/10.9, allocations: 36.44 kB / 3.14 GB, free: 41.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 4.128e-06/10.9, allocations: 0 / 3.14 GB, free: 41.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.008936/10.91, allocations: 1.256 MB / 3.141 GB, free: 40.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/10.91, allocations: 57.78 kB / 3.141 GB, free: 40.92 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/10.91, allocations: 218.3 kB / 3.141 GB, free: 40.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/10.91, allocations: 36.89 kB / 3.141 GB, free: 40.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/10.91, allocations: 178.1 kB / 3.141 GB, free: 40.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/10.91, allocations: 112.3 kB / 3.141 GB, free: 40.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/10.91, allocations: 15.19 kB / 3.141 GB, free: 40.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/10.91, allocations: 336.1 kB / 3.142 GB, free: 40.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/10.91, allocations: 106.8 kB / 3.142 GB, free: 40.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/10.91, allocations: 193 kB / 3.142 GB, free: 40.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/10.91, allocations: 123.6 kB / 3.142 GB, free: 40.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/10.91, allocations: 5.312 kB / 3.142 GB, free: 40.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001931/10.91, allocations: 427.9 kB / 3.142 GB, free: 40.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/10.91, allocations: 7.531 kB / 3.142 GB, free: 40.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/10.91, allocations: 8.828 kB / 3.143 GB, free: 40.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007629/10.91, allocations: 82.3 kB / 3.143 GB, free: 40.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/10.91, allocations: 96.59 kB / 3.143 GB, free: 40.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002595/10.92, allocations: 2.361 MB / 3.145 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/10.92, allocations: 52.42 kB / 3.145 GB, free: 37.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/10.92, allocations: 19.89 kB / 3.145 GB, free: 37.78 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.0002621/10.92, allocations: 137 kB / 3.145 GB, free: 37.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/10.92, allocations: 30.22 kB / 3.145 GB, free: 37.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/10.92, allocations: 1.336 MB / 3.147 GB, free: 37.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/10.92, allocations: 18.05 kB / 3.147 GB, free: 37.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/10.92, allocations: 0 / 3.147 GB, free: 37.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002649/10.92, allocations: 1.437 MB / 3.148 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/10.93, allocations: 2.094 MB / 3.15 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/10.93, allocations: 0 / 3.15 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/10.93, allocations: 111 kB / 3.15 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007461/10.93, allocations: 72.66 kB / 3.15 GB, free: 36.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.652e-05/10.93, allocations: 7.344 kB / 3.15 GB, free: 36.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005917/10.93, allocations: 0.5948 MB / 3.151 GB, free: 35.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/10.93, allocations: 0 / 3.151 GB, free: 35.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/10.93, allocations: 1.171 MB / 3.152 GB, free: 35.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/10.93, allocations: 175 kB / 3.152 GB, free: 35.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/10.93, allocations: 10.28 kB / 3.152 GB, free: 35.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/10.94, allocations: 40.58 kB / 3.152 GB, free: 35.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/10.94, allocations: 32.94 kB / 3.152 GB, free: 35.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.94e-05/10.94, allocations: 15.58 kB / 3.152 GB, free: 35.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004804/10.94, allocations: 230.2 kB / 3.152 GB, free: 35.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.172e-06/10.94, allocations: 0 / 3.152 GB, free: 35.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006139/10.94, allocations: 0.8894 MB / 3.153 GB, free: 35.43 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.01437/10.96, allocations: 2.962 MB / 3.156 GB, free: 34.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002289/10.96, allocations: 0.5675 MB / 3.157 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/10.96, allocations: 3.906 kB / 3.157 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/10.96, allocations: 372.3 kB / 3.157 GB, free: 34.44 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/10.96, allocations: 181.5 kB / 3.157 GB, free: 34.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007663/10.97, allocations: 1.328 MB / 3.159 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/10.97, allocations: 0.8842 MB / 3.159 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009604/10.97, allocations: 149 kB / 3.16 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/10.97, allocations: 191.9 kB / 3.16 GB, free: 33.33 MB / 378.7 MB Notification: Performance of SimCode: time 1.913e-06/10.97, allocations: 0 / 3.16 GB, free: 33.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/11.1, allocations: 39.26 MB / 3.198 GB, free: 31.54 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/11.1, allocations: 188.7 kB / 3.198 GB, free: 31.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.492/15.59, allocations: 0 / 3.198 GB, free: 31.32 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