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.956/1.956, allocations: 209.4 MB / 216.5 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.238e-05, allocations: 0 / 267.6 MB, free: 4.926 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 48.69 MB / 316.3 MB, free: 4.133 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.493/7.597, allocations: 2.516 GB / 2.824 GB, free: 80.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/7.597, allocations: 90.19 kB / 2.825 GB, free: 80.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.492/10.09, allocations: 485 MB / 3.298 GB, free: 42.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.793e-06/10.09, allocations: 2.438 kB / 3.298 GB, free: 42.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.648e-05/10.09, allocations: 23.72 kB / 3.298 GB, free: 42.25 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.007136/10.1, allocations: 1.724 MB / 3.3 GB, free: 41.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/10.1, allocations: 7.125 kB / 3.3 GB, free: 41.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/10.1, allocations: 308.4 kB / 3.3 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/10.1, allocations: 0.6077 MB / 3.301 GB, free: 41.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/10.1, allocations: 97.16 kB / 3.301 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/10.1, allocations: 35.2 kB / 3.301 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001725/10.1, allocations: 0.6962 MB / 3.302 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/10.11, allocations: 0.8809 MB / 3.302 GB, free: 40.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.287e-05/10.11, allocations: 9.781 kB / 3.302 GB, free: 40.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/10.11, allocations: 3.5 kB / 3.302 GB, free: 40.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-05/10.11, allocations: 44.2 kB / 3.303 GB, free: 40.82 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.1513/10.26, allocations: 52.8 MB / 3.354 GB, free: 23.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/10.26, allocations: 385 kB / 3.354 GB, free: 23.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/10.26, allocations: 183 kB / 3.355 GB, free: 23.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008573/10.27, allocations: 3.631 MB / 3.358 GB, free: 21.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/10.27, allocations: 37.66 kB / 3.358 GB, free: 21.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=37): time 3.637e-06/10.27, allocations: 3.656 kB / 3.358 GB, free: 21.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.005522/10.27, allocations: 1.468 MB / 3.36 GB, free: 20.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.269e-05/10.27, allocations: 132.4 kB / 3.36 GB, free: 20.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007798/10.27, allocations: 484.6 kB / 3.36 GB, free: 20.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.067e-05/10.27, allocations: 28.33 kB / 3.36 GB, free: 20.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/10.27, allocations: 423.5 kB / 3.361 GB, free: 20.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/10.27, allocations: 150 kB / 3.361 GB, free: 19.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/10.27, allocations: 1.969 kB / 3.361 GB, free: 19.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/10.27, allocations: 370.4 kB / 3.361 GB, free: 19.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004841/10.27, allocations: 220.1 kB / 3.361 GB, free: 19.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006496/10.28, allocations: 0.5599 MB / 3.362 GB, free: 19.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009354/10.28, allocations: 330 kB / 3.362 GB, free: 19.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-06/10.28, allocations: 2.906 kB / 3.362 GB, free: 19.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002105/10.28, allocations: 0.8076 MB / 3.363 GB, free: 19.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/10.28, allocations: 7.812 kB / 3.363 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/10.28, allocations: 16.42 kB / 3.363 GB, free: 19.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/10.28, allocations: 64.05 kB / 3.363 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/10.28, allocations: 311.7 kB / 3.363 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/10.28, allocations: 1.946 MB / 3.365 GB, free: 17.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/10.28, allocations: 85.11 kB / 3.365 GB, free: 17.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/10.28, allocations: 37.88 kB / 3.365 GB, free: 17.26 MB / 458.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.0002674/10.28, allocations: 151.9 kB / 3.366 GB, free: 17.14 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001299/10.29, allocations: 471.5 kB / 3.366 GB, free: 17.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/10.29, allocations: 61.56 kB / 3.366 GB, free: 17.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/10.29, allocations: 1.853 MB / 3.368 GB, free: 16.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/10.29, allocations: 33.45 kB / 3.368 GB, free: 16.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/10.29, allocations: 0 / 3.368 GB, free: 16.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/10.29, allocations: 0 / 3.368 GB, free: 16.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004361/10.29, allocations: 2.849 MB / 3.371 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/10.29, allocations: 0 / 3.371 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/10.3, allocations: 209.1 kB / 3.371 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/10.3, allocations: 80.58 kB / 3.371 GB, free: 16.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/10.3, allocations: 8.891 kB / 3.371 GB, free: 16.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/10.3, allocations: 1.987 MB / 3.373 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/10.3, allocations: 3.5 kB / 3.373 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/10.3, allocations: 1.795 MB / 3.375 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005858/10.3, allocations: 239.8 kB / 3.375 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/10.3, allocations: 0 / 3.375 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009495/10.3, allocations: 47.14 kB / 3.375 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/10.3, allocations: 42.55 kB / 3.375 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/10.3, allocations: 17.19 kB / 3.375 GB, free: 14.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006304/10.3, allocations: 349.6 kB / 3.375 GB, free: 14 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/10.3, allocations: 0 / 3.375 GB, free: 14 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005589/10.31, allocations: 1.076 MB / 3.376 GB, free: 13.85 MB / 458.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.01365/10.32, allocations: 4.016 MB / 3.38 GB, free: 28.66 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/10.33, allocations: 0.8677 MB / 3.381 GB, free: 28.65 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/10.33, allocations: 0 / 3.381 GB, free: 28.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002013/10.33, allocations: 0.6397 MB / 3.382 GB, free: 28.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/10.33, allocations: 275.8 kB / 3.382 GB, free: 28.62 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00753/10.34, allocations: 2.09 MB / 3.384 GB, free: 27.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/10.34, allocations: 1.098 MB / 3.385 GB, free: 26.98 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001653/10.34, allocations: 0.5256 MB / 3.386 GB, free: 26.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006614/10.34, allocations: 353.4 kB / 3.386 GB, free: 26.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.282e-06/10.34, allocations: 0 / 3.386 GB, free: 26.68 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4687/10.81, allocations: 43.16 MB / 3.428 GB, free: 76.23 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/10.81, allocations: 197.4 kB / 3.428 GB, free: 76.03 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.206/15.02, allocations: 0 / 3.428 GB, free: 76.03 MB / 474.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