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 1.902/1.902, allocations: 171.2 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.662e-05, allocations: 0 / 219.6 MB, free: 6.922 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2965, allocations: 38.76 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.629/7.925, allocations: 2.464 GB / 2.716 GB, free: 35.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/7.926, allocations: 80.45 kB / 2.716 GB, free: 35.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511/9.437, allocations: 286.8 MB / 2.996 GB, free: 44.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/9.437, allocations: 0 / 2.996 GB, free: 44.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.767e-05/9.437, allocations: 12 kB / 2.996 GB, free: 44.36 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.003157/9.44, allocations: 0.892 MB / 2.997 GB, free: 43.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/9.44, allocations: 8.031 kB / 2.997 GB, free: 43.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009863/9.441, allocations: 82.91 kB / 2.997 GB, free: 43.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004888/9.442, allocations: 301.1 kB / 2.998 GB, free: 43.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/9.442, allocations: 11.95 kB / 2.998 GB, free: 43.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.253e-05/9.442, allocations: 20 kB / 2.998 GB, free: 43.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005621/9.442, allocations: 236.2 kB / 2.998 GB, free: 42.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/9.443, allocations: 350.3 kB / 2.998 GB, free: 42.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/9.443, allocations: 3.781 kB / 2.998 GB, free: 42.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/9.443, allocations: 4 kB / 2.998 GB, free: 42.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/9.443, allocations: 8 kB / 2.998 GB, free: 42.51 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.06017/9.503, allocations: 17.68 MB / 3.015 GB, free: 24.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/9.504, allocations: 198.6 kB / 3.016 GB, free: 24.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/9.504, allocations: 92.78 kB / 3.016 GB, free: 24.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04682/9.551, allocations: 15.31 MB / 3.031 GB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/9.551, allocations: 30.56 kB / 3.031 GB, free: 7.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.016e-06/9.551, allocations: 4 kB / 3.031 GB, free: 7.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.005536/9.556, allocations: 1.135 MB / 3.032 GB, free: 6.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/9.556, allocations: 59.34 kB / 3.032 GB, free: 6.281 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/9.557, allocations: 216.4 kB / 3.032 GB, free: 6.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/9.557, allocations: 25.7 kB / 3.032 GB, free: 6.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/9.557, allocations: 204 kB / 3.032 GB, free: 5.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/9.557, allocations: 102.5 kB / 3.032 GB, free: 5.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/9.557, allocations: 0 / 3.032 GB, free: 5.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.839e-05/9.557, allocations: 334.8 kB / 3.033 GB, free: 5.387 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/9.557, allocations: 88.88 kB / 3.033 GB, free: 5.301 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/9.558, allocations: 208.7 kB / 3.033 GB, free: 5.051 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/9.559, allocations: 219.8 kB / 3.033 GB, free: 4.836 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/9.559, allocations: 0 / 3.033 GB, free: 4.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001858/9.561, allocations: 486.6 kB / 3.034 GB, free: 4.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/9.561, allocations: 8.5 kB / 3.034 GB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/9.561, allocations: 8 kB / 3.034 GB, free: 4.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/9.561, allocations: 69.58 kB / 3.034 GB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/9.562, allocations: 91.77 kB / 3.034 GB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/9.564, allocations: 1.917 MB / 3.036 GB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/9.564, allocations: 16.16 kB / 3.036 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/9.564, allocations: 19.98 kB / 3.036 GB, free: 2.086 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.0001366/9.565, allocations: 120.8 kB / 3.036 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001528/9.566, allocations: 363.2 kB / 3.036 GB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/9.566, allocations: 31.62 kB / 3.036 GB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/9.568, allocations: 0.8202 MB / 3.037 GB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/9.568, allocations: 7.984 kB / 3.037 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/9.568, allocations: 0 / 3.037 GB, free: 0.7227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2641/9.832, allocations: 1.033 MB / 3.038 GB, free: 52.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003104/9.835, allocations: 1.386 MB / 3.039 GB, free: 52.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/9.835, allocations: 0 / 3.039 GB, free: 52.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003735/9.835, allocations: 51.16 kB / 3.04 GB, free: 52.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/9.836, allocations: 98.23 kB / 3.04 GB, free: 52.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/9.836, allocations: 6.875 kB / 3.04 GB, free: 52.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008384/9.837, allocations: 0.711 MB / 3.04 GB, free: 51.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/9.837, allocations: 7.969 kB / 3.04 GB, free: 51.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/9.839, allocations: 0.9023 MB / 3.041 GB, free: 51.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/9.839, allocations: 111.9 kB / 3.041 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/9.839, allocations: 11.23 kB / 3.041 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/9.839, allocations: 11.16 kB / 3.041 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/9.839, allocations: 18.38 kB / 3.041 GB, free: 51.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/9.839, allocations: 11.81 kB / 3.041 GB, free: 51.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002205/9.84, allocations: 159.1 kB / 3.041 GB, free: 51.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/9.84, allocations: 0 / 3.041 GB, free: 51.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003827/9.843, allocations: 0.515 MB / 3.042 GB, free: 51.48 MB / 362.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.008146/9.852, allocations: 2.35 MB / 3.044 GB, free: 50.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/9.853, allocations: 486.9 kB / 3.045 GB, free: 50.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/9.853, allocations: 0 / 3.045 GB, free: 50.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/9.854, allocations: 284.2 kB / 3.045 GB, free: 50.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/9.856, allocations: 125.1 kB / 3.045 GB, free: 50.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/9.861, allocations: 0.9152 MB / 3.046 GB, free: 50.36 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/9.861, allocations: 0.8181 MB / 3.047 GB, free: 49.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007273/9.862, allocations: 133.4 kB / 3.047 GB, free: 49.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/9.862, allocations: 129.7 kB / 3.047 GB, free: 49.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.382e-06/9.862, allocations: 2.375 kB / 3.047 GB, free: 49.64 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1076/9.97, allocations: 21.99 MB / 3.069 GB, free: 49.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001131/9.971, allocations: 150.6 kB / 3.069 GB, free: 49.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.452/13.42, allocations: 0 / 3.069 GB, free: 49.12 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