Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.438e-05, allocations: 7.234 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.282/9.415, allocations: 2.8 GB / 3.201 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005145/9.415, allocations: 95.98 kB / 3.201 GB, free: 46.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.287/12.7, allocations: 0.4981 GB / 3.699 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/12.7, allocations: 0 / 3.699 GB, free: 52.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.593e-05/12.7, allocations: 20.89 kB / 3.699 GB, free: 52.5 MB / 0.5261 GB 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.008139/12.71, allocations: 1.764 MB / 3.701 GB, free: 51.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/12.71, allocations: 11.38 kB / 3.701 GB, free: 51.82 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003217/12.71, allocations: 111.9 kB / 3.701 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/12.71, allocations: 326.1 kB / 3.702 GB, free: 51.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/12.72, allocations: 0.5937 MB / 3.702 GB, free: 51.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/12.72, allocations: 117.6 kB / 3.702 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/12.72, allocations: 67.38 kB / 3.702 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003525/12.72, allocations: 1.19 MB / 3.703 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/12.72, allocations: 3.656 kB / 3.703 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/12.72, allocations: 33.03 kB / 3.704 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.612e-05/12.72, allocations: 40.8 kB / 3.704 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003537/12.72, allocations: 0.9738 MB / 3.704 GB, free: 51.13 MB / 0.5261 GB 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.009433/12.73, allocations: 5.608 MB / 3.71 GB, free: 47.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002772/12.74, allocations: 0.7308 MB / 3.711 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/12.74, allocations: 250.9 kB / 3.711 GB, free: 47.35 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05551/12.79, allocations: 15.77 MB / 3.726 GB, free: 37.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/12.79, allocations: 44.69 kB / 3.726 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=45): time 3.196e-06/12.79, allocations: 0 / 3.726 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49): time 0.008031/12.8, allocations: 2.02 MB / 3.728 GB, free: 37.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/12.8, allocations: 162.2 kB / 3.728 GB, free: 37.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008788/12.8, allocations: 0.5262 MB / 3.729 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/12.8, allocations: 41.36 kB / 3.729 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/12.8, allocations: 388.5 kB / 3.729 GB, free: 36.78 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/12.8, allocations: 172 kB / 3.73 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/12.8, allocations: 16.78 kB / 3.73 GB, free: 36.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001254/12.8, allocations: 377.2 kB / 3.73 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005765/12.8, allocations: 240.3 kB / 3.73 GB, free: 36.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007634/12.8, allocations: 0.5576 MB / 3.731 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/12.81, allocations: 342.3 kB / 3.731 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/12.81, allocations: 1.406 kB / 3.731 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002063/12.81, allocations: 0.849 MB / 3.732 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/12.81, allocations: 13.55 kB / 3.732 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/12.81, allocations: 15.25 kB / 3.732 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/12.81, allocations: 62.3 kB / 3.732 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/12.81, allocations: 309.8 kB / 3.732 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/12.81, allocations: 1.978 MB / 3.734 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/12.81, allocations: 77.91 kB / 3.734 GB, free: 34.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/12.81, allocations: 39.66 kB / 3.734 GB, free: 34.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (95): * Single equations (assignments): 93 * 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.0002672/12.81, allocations: 172.3 kB / 3.734 GB, free: 33.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/12.81, allocations: 71.47 kB / 3.735 GB, free: 33.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003739/12.82, allocations: 2.565 MB / 3.737 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-05/12.82, allocations: 41.05 kB / 3.737 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/12.82, allocations: 0 / 3.737 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/12.82, allocations: 6.828 kB / 3.737 GB, free: 33.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005743/12.82, allocations: 3.753 MB / 3.741 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/12.82, allocations: 3.562 kB / 3.741 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002259/12.83, allocations: 245.8 kB / 3.741 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005524/12.83, allocations: 81.36 kB / 3.741 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00011/12.83, allocations: 13.16 kB / 3.741 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/12.83, allocations: 1.996 MB / 3.743 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/12.83, allocations: 0 / 3.743 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/12.83, allocations: 2.24 MB / 3.745 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/12.83, allocations: 338.5 kB / 3.746 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/12.83, allocations: 12.31 kB / 3.746 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/12.83, allocations: 58.08 kB / 3.746 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/12.83, allocations: 50.97 kB / 3.746 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/12.83, allocations: 21.83 kB / 3.746 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001008/12.84, allocations: 0.5439 MB / 3.746 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/12.84, allocations: 3.562 kB / 3.746 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005964/12.84, allocations: 1.14 MB / 3.747 GB, free: 30.39 MB / 0.5261 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.01391/12.86, allocations: 4.336 MB / 3.752 GB, free: 29.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003265/12.86, allocations: 0.9947 MB / 3.753 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/12.86, allocations: 3.844 kB / 3.753 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/12.86, allocations: 0.7561 MB / 3.753 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/12.86, allocations: 376 kB / 3.754 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/12.87, allocations: 2.452 MB / 3.756 GB, free: 28.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/12.87, allocations: 1.187 MB / 3.757 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002186/12.88, allocations: 448.2 kB / 3.758 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/12.88, allocations: 445.4 kB / 3.758 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of SimCode: time 1.814e-06/12.88, allocations: 0 / 3.758 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1274/13.01, allocations: 55.49 MB / 3.812 GB, free: 25.25 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/13.01, allocations: 244.6 kB / 3.812 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.33/18.34, allocations: 0 / 3.812 GB, free: 24.92 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat