Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.857e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3576, allocations: 44.5 MB / 294.2 MB, free: 14.44 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.855/8.213, allocations: 2.574 GB / 2.861 GB, free: 87.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/8.213, allocations: 87 kB / 2.861 GB, free: 87.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614/9.827, allocations: 294.1 MB / 3.148 GB, free: 57.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.57e-06/9.828, allocations: 3.938 kB / 3.148 GB, free: 57.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.177e-05/9.828, allocations: 9.281 kB / 3.148 GB, free: 57.46 MB / 410.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.004805/9.832, allocations: 0.914 MB / 3.149 GB, free: 57.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/9.833, allocations: 9.938 kB / 3.149 GB, free: 57.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/9.834, allocations: 86 kB / 3.149 GB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/9.835, allocations: 305.2 kB / 3.149 GB, free: 56.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/9.835, allocations: 11.72 kB / 3.149 GB, free: 56.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.145e-05/9.835, allocations: 15.69 kB / 3.149 GB, free: 56.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006324/9.836, allocations: 233.9 kB / 3.15 GB, free: 56.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/9.837, allocations: 351.4 kB / 3.15 GB, free: 56.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/9.837, allocations: 8.156 kB / 3.15 GB, free: 56.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/9.837, allocations: 3.625 kB / 3.15 GB, free: 56.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/9.837, allocations: 11.25 kB / 3.15 GB, free: 56.64 MB / 410.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.05048/9.887, allocations: 17.76 MB / 3.167 GB, free: 45.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/9.888, allocations: 180.4 kB / 3.168 GB, free: 45.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/9.888, allocations: 82.14 kB / 3.168 GB, free: 45.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04747/9.935, allocations: 15.38 MB / 3.183 GB, free: 36.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/9.935, allocations: 34.53 kB / 3.183 GB, free: 36.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.487e-06/9.935, allocations: 0 / 3.183 GB, free: 36.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.005434/9.941, allocations: 1.141 MB / 3.184 GB, free: 35.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/9.941, allocations: 55.16 kB / 3.184 GB, free: 35.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/9.941, allocations: 209.3 kB / 3.184 GB, free: 35.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/9.941, allocations: 28.61 kB / 3.184 GB, free: 35.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/9.941, allocations: 211.5 kB / 3.184 GB, free: 35.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.646e-05/9.941, allocations: 96.38 kB / 3.184 GB, free: 35.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/9.942, allocations: 0 / 3.184 GB, free: 35.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.6e-05/9.942, allocations: 337.1 kB / 3.185 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/9.942, allocations: 84.12 kB / 3.185 GB, free: 35.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/9.942, allocations: 205.2 kB / 3.185 GB, free: 34.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/9.943, allocations: 227.2 kB / 3.185 GB, free: 34.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/9.943, allocations: 0 / 3.185 GB, free: 34.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001827/9.945, allocations: 486.4 kB / 3.186 GB, free: 34.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/9.945, allocations: 6.562 kB / 3.186 GB, free: 34.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/9.945, allocations: 3.688 kB / 3.186 GB, free: 34.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003441/9.946, allocations: 74.22 kB / 3.186 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/9.946, allocations: 83.22 kB / 3.186 GB, free: 34.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/9.948, allocations: 1.915 MB / 3.188 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/9.949, allocations: 25.83 kB / 3.188 GB, free: 33.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/9.949, allocations: 18.75 kB / 3.188 GB, free: 33.15 MB / 410.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.0001315/9.949, allocations: 117.5 kB / 3.188 GB, free: 33.04 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001556/9.95, allocations: 374.9 kB / 3.188 GB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/9.951, allocations: 29.42 kB / 3.188 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/9.952, allocations: 0.8175 MB / 3.189 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/9.952, allocations: 6.766 kB / 3.189 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/9.952, allocations: 1.75 kB / 3.189 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001214/9.953, allocations: 1.028 MB / 3.19 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/9.956, allocations: 1.401 MB / 3.191 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/9.956, allocations: 0 / 3.191 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003522/9.956, allocations: 49.2 kB / 3.191 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/9.956, allocations: 99.91 kB / 3.192 GB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/9.957, allocations: 7.531 kB / 3.192 GB, free: 31.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007828/9.957, allocations: 0.712 MB / 3.192 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/9.957, allocations: 0 / 3.192 GB, free: 31.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/9.959, allocations: 0.9008 MB / 3.193 GB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/9.959, allocations: 116.3 kB / 3.193 GB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.661e-05/9.959, allocations: 2.016 kB / 3.193 GB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/9.96, allocations: 15.34 kB / 3.193 GB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/9.96, allocations: 24.91 kB / 3.193 GB, free: 31.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/9.96, allocations: 18.53 kB / 3.193 GB, free: 31.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000191/9.96, allocations: 158.4 kB / 3.193 GB, free: 31.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.21e-07/9.96, allocations: 0 / 3.193 GB, free: 31.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00308/9.963, allocations: 0.5117 MB / 3.194 GB, free: 30.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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.00687/9.97, allocations: 2.349 MB / 3.196 GB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/9.971, allocations: 494.4 kB / 3.197 GB, free: 29.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/9.971, allocations: 1 kB / 3.197 GB, free: 29.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00056/9.972, allocations: 285.6 kB / 3.197 GB, free: 29.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/9.973, allocations: 133.2 kB / 3.197 GB, free: 29.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00354/9.977, allocations: 0.9099 MB / 3.198 GB, free: 29.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/9.977, allocations: 0.8152 MB / 3.199 GB, free: 28.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/9.978, allocations: 133.2 kB / 3.199 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/9.978, allocations: 130.2 kB / 3.199 GB, free: 28.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/9.978, allocations: 0 / 3.199 GB, free: 28.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/10.06, allocations: 22.05 MB / 3.221 GB, free: 27.61 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/10.06, allocations: 158.9 kB / 3.221 GB, free: 27.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.613/13.67, allocations: 7.438 kB / 3.221 GB, free: 27.41 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat