Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.976e-05, allocations: 10.66 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4037/0.4038, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.866/8.27, allocations: 2.627 GB / 2.978 GB, free: 121.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/8.27, allocations: 96.11 kB / 2.978 GB, free: 121.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.411/10.68, allocations: 0.4905 GB / 3.469 GB, free: 21.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/10.68, allocations: 0 / 3.469 GB, free: 21.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.342e-05/10.68, allocations: 23.83 kB / 3.469 GB, free: 21.48 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008019/10.69, allocations: 1.752 MB / 3.47 GB, free: 19.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/10.69, allocations: 8.031 kB / 3.47 GB, free: 19.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/10.69, allocations: 113.8 kB / 3.471 GB, free: 19.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003471/10.69, allocations: 324.1 kB / 3.471 GB, free: 19.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/10.69, allocations: 0.6134 MB / 3.472 GB, free: 18.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/10.7, allocations: 119.4 kB / 3.472 GB, free: 18.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/10.7, allocations: 62.41 kB / 3.472 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/10.7, allocations: 1.183 MB / 3.473 GB, free: 17.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.009e-05/10.7, allocations: 11.94 kB / 3.473 GB, free: 17.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/10.7, allocations: 26.81 kB / 3.473 GB, free: 17.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.357e-05/10.7, allocations: 45.28 kB / 3.473 GB, free: 17.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/10.7, allocations: 0.9704 MB / 3.474 GB, free: 16.1 MB / 490.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.008899/10.71, allocations: 5.594 MB / 3.479 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002822/10.71, allocations: 0.728 MB / 3.48 GB, free: 9.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005764/10.71, allocations: 241.7 kB / 3.48 GB, free: 9.188 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06385/10.78, allocations: 18.85 MB / 3.499 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/10.78, allocations: 46.5 kB / 3.499 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.986e-06/10.78, allocations: 0 / 3.499 GB, free: 3.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=49): time 0.009059/10.79, allocations: 2.01 MB / 3.501 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/10.79, allocations: 166.6 kB / 3.501 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/10.79, allocations: 0.5304 MB / 3.501 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/10.79, allocations: 33.7 kB / 3.501 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/10.79, allocations: 393.8 kB / 3.502 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/10.79, allocations: 181.4 kB / 3.502 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/10.79, allocations: 16 kB / 3.502 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002121/10.79, allocations: 378.8 kB / 3.502 GB, free: 200 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3727/11.16, allocations: 237.4 kB / 3.503 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/11.16, allocations: 0.58 MB / 3.503 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/11.17, allocations: 343.2 kB / 3.503 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/11.17, allocations: 3.719 kB / 3.503 GB, free: 65.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002431/11.17, allocations: 0.8679 MB / 3.504 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/11.17, allocations: 13.72 kB / 3.504 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/11.17, allocations: 11.23 kB / 3.504 GB, free: 65.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/11.17, allocations: 67.41 kB / 3.504 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/11.17, allocations: 313.7 kB / 3.505 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/11.17, allocations: 1.983 MB / 3.507 GB, free: 64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/11.17, allocations: 89.75 kB / 3.507 GB, free: 64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/11.17, allocations: 42.56 kB / 3.507 GB, free: 64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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: 1 * 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: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/11.17, allocations: 166.7 kB / 3.507 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/11.18, allocations: 72.67 kB / 3.507 GB, free: 63.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/11.18, allocations: 2.569 MB / 3.509 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.579e-05/11.18, allocations: 33.47 kB / 3.51 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/11.18, allocations: 2.062 kB / 3.51 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/11.18, allocations: 3.188 kB / 3.51 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007561/11.19, allocations: 3.741 MB / 3.513 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/11.19, allocations: 2.688 kB / 3.513 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/11.19, allocations: 241.9 kB / 3.513 GB, free: 63.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005547/11.19, allocations: 87.5 kB / 3.513 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/11.19, allocations: 12.98 kB / 3.514 GB, free: 63.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/11.19, allocations: 1.992 MB / 3.515 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/11.19, allocations: 6.141 kB / 3.515 GB, free: 61.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/11.2, allocations: 2.229 MB / 3.518 GB, free: 61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009748/11.2, allocations: 329 kB / 3.518 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/11.2, allocations: 14.41 kB / 3.518 GB, free: 60.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/11.2, allocations: 59.8 kB / 3.518 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/11.2, allocations: 57 kB / 3.518 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.617e-05/11.2, allocations: 21.33 kB / 3.518 GB, free: 60.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001256/11.2, allocations: 0.5356 MB / 3.519 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/11.2, allocations: 0 / 3.519 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006739/11.21, allocations: 1.138 MB / 3.52 GB, free: 60.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01565/11.22, allocations: 4.311 MB / 3.524 GB, free: 59.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003741/11.23, allocations: 1.002 MB / 3.525 GB, free: 59.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/11.23, allocations: 6.406 kB / 3.525 GB, free: 59.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/11.23, allocations: 0.7568 MB / 3.526 GB, free: 59.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/11.23, allocations: 371.3 kB / 3.526 GB, free: 59.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009664/11.24, allocations: 2.456 MB / 3.528 GB, free: 59.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008673/11.24, allocations: 1.182 MB / 3.53 GB, free: 58.56 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001658/11.25, allocations: 441.8 kB / 3.53 GB, free: 58.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/11.25, allocations: 441 kB / 3.53 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/11.25, allocations: 0 / 3.53 GB, free: 58.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/11.38, allocations: 55.21 MB / 3.584 GB, free: 56.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/11.38, allocations: 247.2 kB / 3.585 GB, free: 56.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.75/16.13, allocations: 4 kB / 3.585 GB, free: 56.23 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat