Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.331e-05, allocations: 4 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.625/7.729, allocations: 2.516 GB / 2.83 GB, free: 64.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/7.729, allocations: 91.56 kB / 2.83 GB, free: 64.41 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.648/10.38, allocations: 489.9 MB / 3.309 GB, free: 42.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.504e-06/10.38, allocations: 0 / 3.309 GB, free: 42.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.701e-05/10.38, allocations: 11.41 kB / 3.309 GB, free: 42.02 MB / 442.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.008258/10.39, allocations: 1.719 MB / 3.311 GB, free: 41.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/10.39, allocations: 14.38 kB / 3.311 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003037/10.39, allocations: 109.3 kB / 3.311 GB, free: 41.17 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/10.39, allocations: 309.7 kB / 3.311 GB, free: 41.13 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/10.39, allocations: 0.6051 MB / 3.312 GB, free: 40.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/10.39, allocations: 115.4 kB / 3.312 GB, free: 40.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/10.39, allocations: 64.98 kB / 3.312 GB, free: 40.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/10.4, allocations: 1.183 MB / 3.313 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/10.4, allocations: 3.281 kB / 3.313 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/10.4, allocations: 31.78 kB / 3.313 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.945e-05/10.4, allocations: 45.36 kB / 3.313 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/10.4, allocations: 0.9692 MB / 3.314 GB, free: 40.51 MB / 442.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.00874/10.41, allocations: 5.597 MB / 3.319 GB, free: 36.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002677/10.41, allocations: 0.7269 MB / 3.32 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/10.41, allocations: 246.6 kB / 3.32 GB, free: 36.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05698/10.47, allocations: 18.77 MB / 3.339 GB, free: 24.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.735e-05/10.47, allocations: 41.7 kB / 3.339 GB, free: 24.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.056e-06/10.47, allocations: 3.75 kB / 3.339 GB, free: 24.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.007853/10.48, allocations: 2.006 MB / 3.341 GB, free: 23.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/10.48, allocations: 166.5 kB / 3.341 GB, free: 23.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/10.48, allocations: 0.5265 MB / 3.341 GB, free: 23.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/10.48, allocations: 41.61 kB / 3.341 GB, free: 23.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/10.48, allocations: 403.1 kB / 3.342 GB, free: 22.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/10.48, allocations: 172.2 kB / 3.342 GB, free: 22.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.706e-05/10.48, allocations: 15.94 kB / 3.342 GB, free: 22.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/10.48, allocations: 372.2 kB / 3.342 GB, free: 22.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/10.48, allocations: 242.6 kB / 3.342 GB, free: 22.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/10.48, allocations: 0.5856 MB / 3.343 GB, free: 21.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/10.48, allocations: 340.6 kB / 3.343 GB, free: 21.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/10.48, allocations: 3.969 kB / 3.343 GB, free: 21.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002024/10.48, allocations: 0.8695 MB / 3.344 GB, free: 21.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/10.48, allocations: 14.06 kB / 3.344 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/10.48, allocations: 17.44 kB / 3.344 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/10.48, allocations: 61.08 kB / 3.344 GB, free: 21.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002521/10.48, allocations: 321.8 kB / 3.345 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/10.49, allocations: 1.975 MB / 3.347 GB, free: 19.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/10.49, allocations: 82.28 kB / 3.347 GB, free: 19.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/10.49, allocations: 44.47 kB / 3.347 GB, free: 19.16 MB / 442.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.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.0002442/10.49, allocations: 165.9 kB / 3.347 GB, free: 19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/10.49, allocations: 78.3 kB / 3.347 GB, free: 18.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003508/10.49, allocations: 2.563 MB / 3.349 GB, free: 17.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-05/10.49, allocations: 39.94 kB / 3.349 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/10.49, allocations: 3.5 kB / 3.349 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/10.49, allocations: 3.797 kB / 3.349 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005369/10.5, allocations: 3.747 MB / 3.353 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/10.5, allocations: 0 / 3.353 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/10.5, allocations: 239 kB / 3.353 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005044/10.5, allocations: 88.22 kB / 3.353 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/10.5, allocations: 14.8 kB / 3.353 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/10.5, allocations: 1.983 MB / 3.355 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/10.5, allocations: 0 / 3.355 GB, free: 13.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/10.51, allocations: 2.239 MB / 3.358 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/10.51, allocations: 331.7 kB / 3.358 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/10.51, allocations: 10.34 kB / 3.358 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/10.51, allocations: 64.59 kB / 3.358 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/10.51, allocations: 54.34 kB / 3.358 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/10.51, allocations: 20.31 kB / 3.358 GB, free: 12.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009521/10.51, allocations: 0.5342 MB / 3.359 GB, free: 12.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.51, allocations: 4 kB / 3.359 GB, free: 12.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005605/10.51, allocations: 1.129 MB / 3.36 GB, free: 12.03 MB / 442.7 MB 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.01317/10.53, allocations: 4.313 MB / 3.364 GB, free: 10 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003263/10.53, allocations: 1.004 MB / 3.365 GB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/10.53, allocations: 0 / 3.365 GB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002055/10.53, allocations: 0.7504 MB / 3.366 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/10.54, allocations: 354.4 kB / 3.366 GB, free: 9.246 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008667/10.54, allocations: 2.458 MB / 3.368 GB, free: 8.156 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/10.55, allocations: 1.187 MB / 3.369 GB, free: 7.414 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001536/10.55, allocations: 445.8 kB / 3.37 GB, free: 7.375 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006822/10.55, allocations: 443.8 kB / 3.37 GB, free: 7.031 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/10.55, allocations: 0 / 3.37 GB, free: 7.031 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5232/11.07, allocations: 55.03 MB / 3.424 GB, free: 56.51 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/11.07, allocations: 240.5 kB / 3.424 GB, free: 56.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.887/15.96, allocations: 0 / 3.424 GB, free: 56.18 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat does not exist to compare? outputFormat=mat