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 1.969/1.969, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.59e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.635/7.74, allocations: 2.516 GB / 2.83 GB, free: 45.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/7.741, allocations: 95.73 kB / 2.83 GB, free: 45.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.537/10.28, allocations: 489.9 MB / 3.309 GB, free: 38.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/10.28, allocations: 0 / 3.309 GB, free: 38.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.607e-05/10.28, allocations: 14.03 kB / 3.309 GB, free: 38.79 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.008164/10.29, allocations: 1.723 MB / 3.31 GB, free: 37.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/10.29, allocations: 7.406 kB / 3.31 GB, free: 37.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003288/10.29, allocations: 114.4 kB / 3.311 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/10.29, allocations: 309.6 kB / 3.311 GB, free: 37.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/10.29, allocations: 0.6066 MB / 3.311 GB, free: 37.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/10.29, allocations: 119.7 kB / 3.312 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/10.29, allocations: 56.75 kB / 3.312 GB, free: 37.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/10.3, allocations: 1.19 MB / 3.313 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/10.3, allocations: 7 kB / 3.313 GB, free: 36.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/10.3, allocations: 29.45 kB / 3.313 GB, free: 36.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.399e-05/10.3, allocations: 45.83 kB / 3.313 GB, free: 36.61 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003413/10.3, allocations: 0.9893 MB / 3.314 GB, free: 36.32 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.008893/10.31, allocations: 5.601 MB / 3.319 GB, free: 31.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/10.31, allocations: 0.7293 MB / 3.32 GB, free: 31.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/10.31, allocations: 244.5 kB / 3.32 GB, free: 31.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05558/10.37, allocations: 18.77 MB / 3.339 GB, free: 19.33 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/10.37, allocations: 42.64 kB / 3.339 GB, free: 19.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/10.37, allocations: 0 / 3.339 GB, free: 19.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.007962/10.38, allocations: 2.014 MB / 3.341 GB, free: 18.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/10.38, allocations: 166.5 kB / 3.341 GB, free: 18.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008915/10.38, allocations: 0.5212 MB / 3.341 GB, free: 17.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.462e-05/10.38, allocations: 37.14 kB / 3.341 GB, free: 17.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/10.38, allocations: 399.2 kB / 3.342 GB, free: 17.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/10.38, allocations: 178.5 kB / 3.342 GB, free: 17.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/10.38, allocations: 12 kB / 3.342 GB, free: 17.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/10.38, allocations: 376.8 kB / 3.342 GB, free: 17.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/10.38, allocations: 244 kB / 3.342 GB, free: 17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000779/10.38, allocations: 0.587 MB / 3.343 GB, free: 16.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/10.38, allocations: 350.5 kB / 3.343 GB, free: 16.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/10.38, allocations: 9.969 kB / 3.343 GB, free: 16.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002182/10.38, allocations: 0.9051 MB / 3.344 GB, free: 15.92 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/10.38, allocations: 8.969 kB / 3.344 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/10.38, allocations: 11.69 kB / 3.344 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/10.38, allocations: 62.33 kB / 3.344 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00248/10.38, allocations: 313.8 kB / 3.345 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/10.39, allocations: 1.987 MB / 3.347 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/10.39, allocations: 85.27 kB / 3.347 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/10.39, allocations: 44.7 kB / 3.347 GB, free: 13.9 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.0002728/10.39, allocations: 162.8 kB / 3.347 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/10.39, allocations: 68.14 kB / 3.347 GB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/10.39, allocations: 2.571 MB / 3.349 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/10.39, allocations: 36.72 kB / 3.349 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/10.39, allocations: 0 / 3.349 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/10.39, allocations: 7.375 kB / 3.349 GB, free: 12.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/10.4, allocations: 3.748 MB / 3.353 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/10.4, allocations: 4.031 kB / 3.353 GB, free: 10.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/10.4, allocations: 244 kB / 3.353 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/10.4, allocations: 81.62 kB / 3.353 GB, free: 10.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/10.4, allocations: 21.69 kB / 3.353 GB, free: 10.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/10.4, allocations: 1.99 MB / 3.355 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/10.4, allocations: 256 / 3.355 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/10.41, allocations: 2.238 MB / 3.358 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007246/10.41, allocations: 322.6 kB / 3.358 GB, free: 7.266 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/10.41, allocations: 11.03 kB / 3.358 GB, free: 7.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/10.41, allocations: 65.58 kB / 3.358 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/10.41, allocations: 57.48 kB / 3.358 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/10.41, allocations: 20.38 kB / 3.358 GB, free: 7.223 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001025/10.41, allocations: 0.5424 MB / 3.359 GB, free: 6.977 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.312e-06/10.41, allocations: 0 / 3.359 GB, free: 6.977 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005911/10.42, allocations: 1.125 MB / 3.36 GB, free: 6.344 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.01387/10.43, allocations: 4.282 MB / 3.364 GB, free: 2.547 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003075/10.43, allocations: 1.03 MB / 3.365 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/10.43, allocations: 0 / 3.365 GB, free: 1.609 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001973/10.43, allocations: 0.7586 MB / 3.366 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003218/10.44, allocations: 372.9 kB / 3.366 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009156/10.45, allocations: 2.468 MB / 3.368 GB, free: 14.45 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/10.45, allocations: 1.187 MB / 3.37 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001649/10.45, allocations: 440 kB / 3.37 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008305/10.45, allocations: 442.4 kB / 3.37 GB, free: 12.75 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/10.45, allocations: 0 / 3.37 GB, free: 12.75 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4694/10.92, allocations: 55 MB / 3.424 GB, free: 49.07 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/10.92, allocations: 237.8 kB / 3.424 GB, free: 48.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.918/15.84, allocations: 7.844 kB / 3.424 GB, free: 48.73 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