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.92/1.92, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.367e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3468, allocations: 38.76 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.859/8.206, allocations: 2.466 GB / 2.724 GB, free: 63.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/8.206, allocations: 89.77 kB / 2.724 GB, free: 63.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.047/10.25, allocations: 418.9 MB / 3.133 GB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/10.25, allocations: 384 / 3.133 GB, free: 15.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.387e-05/10.25, allocations: 12 kB / 3.133 GB, free: 15.37 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.006815/10.26, allocations: 1.191 MB / 3.134 GB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.579e-05/10.26, allocations: 8.031 kB / 3.134 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002153/10.26, allocations: 70.53 kB / 3.134 GB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004003/10.26, allocations: 163.7 kB / 3.135 GB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/10.27, allocations: 323.2 kB / 3.135 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/10.27, allocations: 24.78 kB / 3.135 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/10.27, allocations: 28 kB / 3.135 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/10.27, allocations: 0.537 MB / 3.135 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/10.27, allocations: 7.938 kB / 3.135 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/10.27, allocations: 12 kB / 3.135 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/10.27, allocations: 8 kB / 3.135 GB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/10.27, allocations: 324.3 kB / 3.136 GB, free: 12.59 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.005033/10.28, allocations: 2.571 MB / 3.138 GB, free: 9.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009752/10.28, allocations: 281.2 kB / 3.139 GB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/10.28, allocations: 101.3 kB / 3.139 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4104/10.69, allocations: 30.88 MB / 3.169 GB, free: 36.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/10.69, allocations: 38.19 kB / 3.169 GB, free: 36.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.327e-06/10.69, allocations: 0.9062 kB / 3.169 GB, free: 36.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004671/10.69, allocations: 1.087 MB / 3.17 GB, free: 35.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/10.69, allocations: 58.56 kB / 3.17 GB, free: 35.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/10.69, allocations: 230.5 kB / 3.17 GB, free: 35.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/10.69, allocations: 32.2 kB / 3.17 GB, free: 35.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/10.69, allocations: 190.8 kB / 3.17 GB, free: 35.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.711e-05/10.69, allocations: 110.4 kB / 3.17 GB, free: 35.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/10.69, allocations: 5.625 kB / 3.17 GB, free: 35.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/10.69, allocations: 342.9 kB / 3.171 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/10.69, allocations: 98.53 kB / 3.171 GB, free: 35.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/10.69, allocations: 203.8 kB / 3.171 GB, free: 35.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/10.69, allocations: 123.6 kB / 3.171 GB, free: 35.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-06/10.69, allocations: 4.562 kB / 3.171 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001392/10.69, allocations: 392.5 kB / 3.172 GB, free: 35.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/10.7, allocations: 6.438 kB / 3.172 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/10.7, allocations: 3.719 kB / 3.172 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/10.7, allocations: 69.91 kB / 3.172 GB, free: 35.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006353/10.7, allocations: 82.64 kB / 3.172 GB, free: 35.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/10.7, allocations: 2.424 MB / 3.174 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/10.7, allocations: 26.52 kB / 3.174 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/10.7, allocations: 20.62 kB / 3.174 GB, free: 32.7 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.0001695/10.7, allocations: 130.9 kB / 3.174 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/10.7, allocations: 31.59 kB / 3.174 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/10.7, allocations: 0.8682 MB / 3.175 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/10.7, allocations: 6.844 kB / 3.175 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/10.7, allocations: 3.531 kB / 3.175 GB, free: 32.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/10.7, allocations: 1.037 MB / 3.176 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/10.7, allocations: 1.49 MB / 3.178 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/10.7, allocations: 0 / 3.178 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/10.7, allocations: 49.39 kB / 3.178 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/10.7, allocations: 70.95 kB / 3.178 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/10.7, allocations: 13.77 kB / 3.178 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004018/10.71, allocations: 0.5944 MB / 3.178 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/10.71, allocations: 0 / 3.178 GB, free: 31.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/10.71, allocations: 0.807 MB / 3.179 GB, free: 30.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/10.71, allocations: 135.6 kB / 3.179 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/10.71, allocations: 15.17 kB / 3.179 GB, free: 30.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/10.71, allocations: 47.95 kB / 3.179 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/10.71, allocations: 21.38 kB / 3.179 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/10.71, allocations: 11.19 kB / 3.179 GB, free: 30.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003339/10.71, allocations: 235.3 kB / 3.18 GB, free: 30.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.71, allocations: 0 / 3.18 GB, free: 30.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004671/10.71, allocations: 0.8846 MB / 3.18 GB, free: 30.67 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.01024/10.72, allocations: 2.593 MB / 3.183 GB, free: 29.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/10.72, allocations: 472.8 kB / 3.183 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/10.72, allocations: 0 / 3.183 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/10.72, allocations: 246 kB / 3.184 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/10.73, allocations: 170.9 kB / 3.184 GB, free: 29.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005022/10.73, allocations: 1.102 MB / 3.185 GB, free: 29.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/10.73, allocations: 0.8289 MB / 3.186 GB, free: 28.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006834/10.73, allocations: 188.5 kB / 3.186 GB, free: 28.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/10.73, allocations: 144.3 kB / 3.186 GB, free: 28.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/10.73, allocations: 0 / 3.186 GB, free: 28.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1592/10.89, allocations: 37.5 MB / 3.223 GB, free: 27.09 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/10.89, allocations: 197.2 kB / 3.223 GB, free: 26.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.465/15.36, allocations: 4 kB / 3.223 GB, free: 26.86 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