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.457/2.457, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.201e-05, allocations: 7.938 kB / 299.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3602, allocations: 54.86 MB / 354.4 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.137/8.497, allocations: 2.626 GB / 2.972 GB, free: 126.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/8.497, allocations: 90.95 kB / 2.972 GB, free: 126.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.588/11.09, allocations: 497.2 MB / 3.458 GB, free: 32.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/11.09, allocations: 0 / 3.458 GB, free: 32.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.287e-05/11.09, allocations: 25.66 kB / 3.458 GB, free: 32.47 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.007991/11.09, allocations: 1.761 MB / 3.459 GB, free: 30.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/11.09, allocations: 12.03 kB / 3.459 GB, free: 30.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/11.1, allocations: 326.6 kB / 3.46 GB, free: 30.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/11.1, allocations: 0.6139 MB / 3.46 GB, free: 29.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/11.1, allocations: 92.72 kB / 3.46 GB, free: 29.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/11.1, allocations: 39.95 kB / 3.461 GB, free: 29.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001772/11.1, allocations: 0.6937 MB / 3.461 GB, free: 28.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/11.1, allocations: 0.8835 MB / 3.462 GB, free: 27.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/11.1, allocations: 3.938 kB / 3.462 GB, free: 27.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/11.1, allocations: 7.938 kB / 3.462 GB, free: 27.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.532e-05/11.1, allocations: 45.3 kB / 3.462 GB, free: 27.83 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.5638/11.67, allocations: 52.86 MB / 3.514 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/11.67, allocations: 383.3 kB / 3.514 GB, free: 38.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/11.67, allocations: 184.5 kB / 3.514 GB, free: 38.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008886/11.68, allocations: 3.654 MB / 3.518 GB, free: 35.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/11.68, allocations: 41.56 kB / 3.518 GB, free: 35.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 2.866e-06/11.68, allocations: 0 / 3.518 GB, free: 35.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.005699/11.68, allocations: 1.446 MB / 3.519 GB, free: 35.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/11.68, allocations: 132.5 kB / 3.519 GB, free: 35.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008052/11.68, allocations: 491.6 kB / 3.52 GB, free: 35.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/11.68, allocations: 29.55 kB / 3.52 GB, free: 35.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/11.68, allocations: 431.3 kB / 3.52 GB, free: 34.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/11.68, allocations: 149.6 kB / 3.52 GB, free: 34.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/11.68, allocations: 0 / 3.52 GB, free: 34.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/11.68, allocations: 373.6 kB / 3.521 GB, free: 34.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/11.69, allocations: 217.1 kB / 3.521 GB, free: 34.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006828/11.69, allocations: 0.5599 MB / 3.522 GB, free: 34.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/11.69, allocations: 325.3 kB / 3.522 GB, free: 34.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/11.69, allocations: 7.562 kB / 3.522 GB, free: 34.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002412/11.69, allocations: 0.8071 MB / 3.523 GB, free: 33.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/11.69, allocations: 10.25 kB / 3.523 GB, free: 33.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/11.69, allocations: 14.47 kB / 3.523 GB, free: 33.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/11.69, allocations: 62.14 kB / 3.523 GB, free: 33.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/11.69, allocations: 321.6 kB / 3.523 GB, free: 33.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/11.69, allocations: 1.938 MB / 3.525 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/11.7, allocations: 81.19 kB / 3.525 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/11.7, allocations: 45.75 kB / 3.525 GB, free: 32.2 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.0002838/11.7, allocations: 148.4 kB / 3.525 GB, free: 32.09 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001443/11.7, allocations: 482.5 kB / 3.526 GB, free: 32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/11.7, allocations: 62.06 kB / 3.526 GB, free: 31.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002835/11.7, allocations: 1.851 MB / 3.528 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/11.7, allocations: 32.05 kB / 3.528 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/11.7, allocations: 3.875 kB / 3.528 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/11.7, allocations: 3.609 kB / 3.528 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004954/11.71, allocations: 2.853 MB / 3.53 GB, free: 31.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/11.71, allocations: 0 / 3.53 GB, free: 31.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/11.71, allocations: 211 kB / 3.531 GB, free: 31.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003683/11.71, allocations: 79.92 kB / 3.531 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.828e-05/11.71, allocations: 7.094 kB / 3.531 GB, free: 31.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/11.71, allocations: 1.981 MB / 3.533 GB, free: 29.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/11.71, allocations: 0 / 3.533 GB, free: 29.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/11.71, allocations: 1.794 MB / 3.534 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/11.71, allocations: 226.5 kB / 3.535 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/11.71, allocations: 6.172 kB / 3.535 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/11.71, allocations: 52.34 kB / 3.535 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/11.71, allocations: 38.67 kB / 3.535 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/11.71, allocations: 22.44 kB / 3.535 GB, free: 29.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005691/11.72, allocations: 350.6 kB / 3.535 GB, free: 29.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.61e-07/11.72, allocations: 0 / 3.535 GB, free: 29.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005528/11.72, allocations: 1.083 MB / 3.536 GB, free: 29.02 MB / 490.7 MB 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.01266/11.73, allocations: 4.021 MB / 3.54 GB, free: 28.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/11.74, allocations: 0.8662 MB / 3.541 GB, free: 28.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/11.74, allocations: 0 / 3.541 GB, free: 28.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/11.74, allocations: 0.6397 MB / 3.541 GB, free: 28.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/11.74, allocations: 271.4 kB / 3.542 GB, free: 28.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009154/11.75, allocations: 2.08 MB / 3.544 GB, free: 27.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/11.75, allocations: 1.096 MB / 3.545 GB, free: 26.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002505/11.75, allocations: 0.538 MB / 3.545 GB, free: 26.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000879/11.75, allocations: 354.3 kB / 3.546 GB, free: 26.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/11.75, allocations: 0 / 3.546 GB, free: 26.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/11.88, allocations: 43.31 MB / 3.588 GB, free: 24.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/11.88, allocations: 191.4 kB / 3.588 GB, free: 24.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.829/16.71, allocations: 0 / 3.588 GB, free: 24.46 MB / 490.7 MB 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