Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.988e-05, allocations: 4 kB / 225.1 MB, free: 2.23 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2665, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.186/8.452, allocations: 2.465 GB / 2.722 GB, free: 81.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/8.453, allocations: 83.69 kB / 2.722 GB, free: 81.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.625/10.08, allocations: 289 MB / 3.005 GB, free: 45.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/10.08, allocations: 0 / 3.005 GB, free: 45.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.568e-05/10.08, allocations: 9.328 kB / 3.005 GB, free: 45.79 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.003323/10.08, allocations: 0.8982 MB / 3.005 GB, free: 45.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/10.08, allocations: 7.781 kB / 3.005 GB, free: 45.34 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/10.08, allocations: 76.34 kB / 3.006 GB, free: 45.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/10.08, allocations: 81.05 kB / 3.006 GB, free: 45.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/10.08, allocations: 302 kB / 3.006 GB, free: 45.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.804e-05/10.08, allocations: 23.09 kB / 3.006 GB, free: 45.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.118e-05/10.08, allocations: 39.2 kB / 3.006 GB, free: 45.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/10.08, allocations: 444.4 kB / 3.006 GB, free: 44.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/10.08, allocations: 3.656 kB / 3.006 GB, free: 44.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/10.08, allocations: 18.23 kB / 3.006 GB, free: 44.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/10.08, allocations: 11.22 kB / 3.006 GB, free: 44.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008201/10.09, allocations: 311.5 kB / 3.007 GB, free: 44.93 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.003498/10.09, allocations: 2.626 MB / 3.009 GB, free: 42.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/10.09, allocations: 259.6 kB / 3.01 GB, free: 42.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/10.09, allocations: 102 kB / 3.01 GB, free: 42.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04861/10.14, allocations: 15.3 MB / 3.025 GB, free: 33.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/10.14, allocations: 38.31 kB / 3.025 GB, free: 33.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/10.14, allocations: 3.844 kB / 3.025 GB, free: 33.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.005621/10.14, allocations: 1.178 MB / 3.026 GB, free: 33.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/10.14, allocations: 55.31 kB / 3.026 GB, free: 33.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/10.14, allocations: 236.6 kB / 3.026 GB, free: 33.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/10.14, allocations: 32.77 kB / 3.026 GB, free: 33.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/10.14, allocations: 196 kB / 3.026 GB, free: 33.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.07e-05/10.14, allocations: 107.2 kB / 3.026 GB, free: 32.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/10.15, allocations: 9.219 kB / 3.026 GB, free: 32.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.209e-05/10.15, allocations: 339.7 kB / 3.027 GB, free: 32.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/10.15, allocations: 93.56 kB / 3.027 GB, free: 32.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/10.15, allocations: 221.7 kB / 3.027 GB, free: 32.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/10.15, allocations: 125.7 kB / 3.027 GB, free: 32.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/10.15, allocations: 0 / 3.027 GB, free: 32.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001001/10.15, allocations: 417.8 kB / 3.028 GB, free: 32.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/10.15, allocations: 7.875 kB / 3.028 GB, free: 32.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/10.15, allocations: 3.875 kB / 3.028 GB, free: 32.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/10.15, allocations: 274.2 kB / 3.028 GB, free: 32.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005312/10.15, allocations: 78.52 kB / 3.028 GB, free: 32.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/10.16, allocations: 1.865 MB / 3.03 GB, free: 30.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/10.16, allocations: 30.42 kB / 3.03 GB, free: 30.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/10.16, allocations: 20.69 kB / 3.03 GB, free: 30.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001392/10.16, allocations: 136.6 kB / 3.03 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/10.16, allocations: 33.84 kB / 3.03 GB, free: 30.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/10.16, allocations: 0.9353 MB / 3.031 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/10.16, allocations: 14.44 kB / 3.031 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/10.16, allocations: 0 / 3.031 GB, free: 30.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/10.16, allocations: 1.116 MB / 3.032 GB, free: 29.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/10.16, allocations: 1.58 MB / 3.033 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/10.16, allocations: 0 / 3.033 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/10.16, allocations: 55.08 kB / 3.033 GB, free: 29.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/10.16, allocations: 284.7 kB / 3.034 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/10.17, allocations: 7.062 kB / 3.034 GB, free: 29.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005936/10.17, allocations: 0.6584 MB / 3.034 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/10.17, allocations: 2.469 kB / 3.034 GB, free: 28.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/10.17, allocations: 0.9462 MB / 3.035 GB, free: 28.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/10.17, allocations: 138.2 kB / 3.035 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/10.17, allocations: 18.2 kB / 3.035 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/10.17, allocations: 14.38 kB / 3.036 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/10.17, allocations: 18.7 kB / 3.036 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/10.17, allocations: 12.97 kB / 3.036 GB, free: 28.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005216/10.17, allocations: 236.4 kB / 3.036 GB, free: 28.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.72e-07/10.17, allocations: 0 / 3.036 GB, free: 28.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004334/10.17, allocations: 0.5379 MB / 3.036 GB, free: 28.54 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.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008896/10.18, allocations: 2.251 MB / 3.038 GB, free: 27.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/10.18, allocations: 0.4958 MB / 3.039 GB, free: 27.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/10.18, allocations: 0 / 3.039 GB, free: 27.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009164/10.19, allocations: 289.2 kB / 3.039 GB, free: 27.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/10.19, allocations: 191.8 kB / 3.039 GB, free: 27.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/10.19, allocations: 0.9657 MB / 3.04 GB, free: 27.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/10.19, allocations: 0.8327 MB / 3.041 GB, free: 26.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007785/10.19, allocations: 109.4 kB / 3.041 GB, free: 26.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/10.19, allocations: 144.2 kB / 3.041 GB, free: 26.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.834e-06/10.19, allocations: 0 / 3.041 GB, free: 26.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09813/10.29, allocations: 29.3 MB / 3.07 GB, free: 24.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/10.29, allocations: 192.6 kB / 3.07 GB, free: 24.56 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4/14.29, allocations: 0 / 3.07 GB, free: 24.56 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat