Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.185e-05, allocations: 0 / 225.1 MB, free: 2.117 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2875, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.882/8.17, allocations: 2.466 GB / 2.724 GB, free: 81.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/8.17, allocations: 86.34 kB / 2.724 GB, free: 81.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.223/10.39, allocations: 418.9 MB / 3.133 GB, free: 44.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/10.39, allocations: 0 / 3.133 GB, free: 44.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.048e-05/10.39, allocations: 11.16 kB / 3.133 GB, free: 44.66 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.005926/10.4, allocations: 1.187 MB / 3.134 GB, free: 44.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/10.4, allocations: 11.19 kB / 3.134 GB, free: 44.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/10.4, allocations: 66.17 kB / 3.134 GB, free: 44.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/10.4, allocations: 157.7 kB / 3.135 GB, free: 44.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007459/10.4, allocations: 327.2 kB / 3.135 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/10.4, allocations: 18.25 kB / 3.135 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-05/10.4, allocations: 32.44 kB / 3.135 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/10.41, allocations: 0.5411 MB / 3.135 GB, free: 43.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/10.41, allocations: 6.344 kB / 3.135 GB, free: 43.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.039e-05/10.41, allocations: 19.5 kB / 3.135 GB, free: 43.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/10.41, allocations: 7.906 kB / 3.135 GB, free: 43.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/10.41, allocations: 334.2 kB / 3.136 GB, free: 43.74 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.00507/10.41, allocations: 2.561 MB / 3.138 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/10.41, allocations: 284.8 kB / 3.139 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003346/10.41, allocations: 110.4 kB / 3.139 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1367/10.55, allocations: 30.87 MB / 3.169 GB, free: 23.65 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/10.55, allocations: 42.03 kB / 3.169 GB, free: 23.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 2.275e-06/10.55, allocations: 0 / 3.169 GB, free: 23.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004461/10.56, allocations: 1.094 MB / 3.17 GB, free: 23.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/10.56, allocations: 58.61 kB / 3.17 GB, free: 23.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/10.56, allocations: 224.1 kB / 3.17 GB, free: 23.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.045e-05/10.56, allocations: 37.05 kB / 3.17 GB, free: 23.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/10.56, allocations: 191.2 kB / 3.17 GB, free: 22.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/10.56, allocations: 114.9 kB / 3.17 GB, free: 22.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/10.56, allocations: 5.688 kB / 3.17 GB, free: 22.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/10.56, allocations: 336 kB / 3.171 GB, free: 22.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/10.56, allocations: 94.27 kB / 3.171 GB, free: 22.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/10.56, allocations: 204.7 kB / 3.171 GB, free: 22.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/10.56, allocations: 133.8 kB / 3.171 GB, free: 22.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/10.56, allocations: 0 / 3.171 GB, free: 22.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002122/10.56, allocations: 414.3 kB / 3.172 GB, free: 22.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/10.56, allocations: 7.812 kB / 3.172 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/10.56, allocations: 3.875 kB / 3.172 GB, free: 22.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/10.56, allocations: 60.55 kB / 3.172 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/10.56, allocations: 85.44 kB / 3.172 GB, free: 22.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/10.56, allocations: 2.424 MB / 3.174 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/10.57, allocations: 29.3 kB / 3.174 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/10.57, allocations: 17.94 kB / 3.174 GB, free: 19.94 MB / 378.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003139/10.57, allocations: 137.2 kB / 3.174 GB, free: 19.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/10.57, allocations: 26.67 kB / 3.174 GB, free: 19.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/10.57, allocations: 0.8752 MB / 3.175 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/10.57, allocations: 10.94 kB / 3.175 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/10.57, allocations: 0 / 3.175 GB, free: 19.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001773/10.57, allocations: 1.036 MB / 3.176 GB, free: 19.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/10.57, allocations: 1.488 MB / 3.178 GB, free: 18.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/10.57, allocations: 4 kB / 3.178 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006247/10.57, allocations: 49.09 kB / 3.178 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000702/10.58, allocations: 63.67 kB / 3.178 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/10.58, allocations: 16.3 kB / 3.178 GB, free: 18.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006959/10.58, allocations: 0.5968 MB / 3.178 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/10.58, allocations: 5.922 kB / 3.178 GB, free: 18.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/10.58, allocations: 0.8042 MB / 3.179 GB, free: 18.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/10.58, allocations: 138.3 kB / 3.179 GB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/10.58, allocations: 10.11 kB / 3.179 GB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009541/10.58, allocations: 38.28 kB / 3.179 GB, free: 17.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.308e-05/10.58, allocations: 24.05 kB / 3.179 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/10.58, allocations: 20.48 kB / 3.179 GB, free: 17.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005422/10.58, allocations: 233.9 kB / 3.18 GB, free: 17.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.222e-06/10.58, allocations: 4 kB / 3.18 GB, free: 17.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005879/10.59, allocations: 0.8859 MB / 3.18 GB, free: 17.74 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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01253/10.6, allocations: 2.576 MB / 3.183 GB, free: 16.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002127/10.6, allocations: 492.3 kB / 3.183 GB, free: 16.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/10.6, allocations: 0 / 3.183 GB, free: 16.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007341/10.6, allocations: 242.5 kB / 3.184 GB, free: 16.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/10.6, allocations: 170.5 kB / 3.184 GB, free: 16.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/10.61, allocations: 1.098 MB / 3.185 GB, free: 16.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/10.61, allocations: 0.8316 MB / 3.186 GB, free: 15.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001022/10.61, allocations: 178.3 kB / 3.186 GB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/10.61, allocations: 148.6 kB / 3.186 GB, free: 15.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/10.61, allocations: 4.656 kB / 3.186 GB, free: 15.53 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/10.73, allocations: 37.5 MB / 3.223 GB, free: 11.35 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/10.73, allocations: 210.4 kB / 3.223 GB, free: 11.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.564/15.29, allocations: 0 / 3.223 GB, free: 11.12 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.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat