Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.803e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3774, allocations: 54.85 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.628/9.005, allocations: 2.626 GB / 2.972 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005398/9.006, allocations: 102 kB / 2.972 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.627/11.63, allocations: 497.2 MB / 3.458 GB, free: 19.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.234e-06/11.63, allocations: 3.938 kB / 3.458 GB, free: 19.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.529e-05/11.63, allocations: 23.12 kB / 3.458 GB, free: 19.1 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.008947/11.64, allocations: 1.761 MB / 3.46 GB, free: 17.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/11.64, allocations: 8.031 kB / 3.46 GB, free: 17.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/11.65, allocations: 322.7 kB / 3.46 GB, free: 17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001669/11.65, allocations: 0.6036 MB / 3.46 GB, free: 16.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/11.65, allocations: 96.7 kB / 3.461 GB, free: 16.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/11.65, allocations: 39.95 kB / 3.461 GB, free: 16.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001847/11.65, allocations: 0.6975 MB / 3.461 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/11.65, allocations: 0.8952 MB / 3.462 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/11.65, allocations: 0 / 3.462 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/11.65, allocations: 11.94 kB / 3.462 GB, free: 14.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-05/11.65, allocations: 42.11 kB / 3.462 GB, free: 14.47 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.5789/12.23, allocations: 52.85 MB / 3.514 GB, free: 27.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/12.23, allocations: 394.7 kB / 3.514 GB, free: 27.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/12.23, allocations: 178.6 kB / 3.514 GB, free: 27.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/12.24, allocations: 3.665 MB / 3.518 GB, free: 25.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/12.24, allocations: 43.75 kB / 3.518 GB, free: 24.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.856e-06/12.24, allocations: 0 / 3.518 GB, free: 24.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.006422/12.25, allocations: 1.446 MB / 3.519 GB, free: 24.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/12.25, allocations: 135.4 kB / 3.52 GB, free: 24.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008791/12.25, allocations: 485.8 kB / 3.52 GB, free: 24.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/12.25, allocations: 25.7 kB / 3.52 GB, free: 24.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/12.25, allocations: 431.8 kB / 3.52 GB, free: 24.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/12.25, allocations: 141.1 kB / 3.521 GB, free: 24.03 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/12.25, allocations: 0 / 3.521 GB, free: 24.03 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/12.25, allocations: 372.7 kB / 3.521 GB, free: 23.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/12.25, allocations: 218.7 kB / 3.521 GB, free: 23.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/12.25, allocations: 0.564 MB / 3.522 GB, free: 23.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/12.25, allocations: 328.2 kB / 3.522 GB, free: 23.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/12.25, allocations: 3.969 kB / 3.522 GB, free: 23.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00243/12.26, allocations: 0.808 MB / 3.523 GB, free: 23.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/12.26, allocations: 11.45 kB / 3.523 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/12.26, allocations: 11.88 kB / 3.523 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003263/12.26, allocations: 59.3 kB / 3.523 GB, free: 23.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/12.26, allocations: 314.7 kB / 3.523 GB, free: 23.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/12.26, allocations: 1.947 MB / 3.525 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/12.26, allocations: 87.73 kB / 3.525 GB, free: 21.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/12.26, allocations: 42.56 kB / 3.525 GB, free: 21.41 MB / 490.7 MB 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.regularFlow[1],volume.regularFlow[2],volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,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.0002409/12.26, allocations: 150.5 kB / 3.525 GB, free: 21.3 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001415/12.26, allocations: 472.7 kB / 3.526 GB, free: 21.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/12.26, allocations: 62.69 kB / 3.526 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/12.27, allocations: 1.861 MB / 3.528 GB, free: 20.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/12.27, allocations: 36.98 kB / 3.528 GB, free: 20.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/12.27, allocations: 0 / 3.528 GB, free: 20.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/12.27, allocations: 0 / 3.528 GB, free: 20.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/12.27, allocations: 2.847 MB / 3.53 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/12.27, allocations: 0 / 3.53 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002128/12.27, allocations: 209 kB / 3.531 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/12.27, allocations: 82.3 kB / 3.531 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/12.27, allocations: 6 kB / 3.531 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/12.28, allocations: 1.983 MB / 3.533 GB, free: 34.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/12.28, allocations: 3.719 kB / 3.533 GB, free: 34.76 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/12.28, allocations: 1.793 MB / 3.534 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/12.28, allocations: 231.6 kB / 3.535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/12.28, allocations: 3.5 kB / 3.535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009026/12.28, allocations: 51.53 kB / 3.535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/12.28, allocations: 34.34 kB / 3.535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-05/12.28, allocations: 24.91 kB / 3.535 GB, free: 34.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006266/12.28, allocations: 350.1 kB / 3.535 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.272e-06/12.28, allocations: 0 / 3.535 GB, free: 34.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005498/12.29, allocations: 1.086 MB / 3.536 GB, free: 34.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01431/12.3, allocations: 4.016 MB / 3.54 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002849/12.31, allocations: 0.8713 MB / 3.541 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/12.31, allocations: 0 / 3.541 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002074/12.31, allocations: 0.6405 MB / 3.542 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002586/12.31, allocations: 269.7 kB / 3.542 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/12.32, allocations: 2.085 MB / 3.544 GB, free: 32.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008123/12.32, allocations: 1.1 MB / 3.545 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001655/12.32, allocations: 0.5278 MB / 3.545 GB, free: 32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/12.32, allocations: 352 kB / 3.546 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of SimCode: time 1.213e-06/12.32, allocations: 0 / 3.546 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/12.45, allocations: 43.32 MB / 3.588 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002339/12.45, allocations: 200.6 kB / 3.588 GB, free: 29.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.71/17.16, allocations: 7.625 kB / 3.588 GB, free: 29.29 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat