Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.714e-05, allocations: 5.547 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.92/8.023, allocations: 2.507 GB / 2.821 GB, free: 53.85 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/8.024, allocations: 77.64 kB / 2.821 GB, free: 53.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.467/10.49, allocations: 426.3 MB / 3.238 GB, free: 47.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.853e-06/10.49, allocations: 0 / 3.238 GB, free: 47.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.593e-05/10.49, allocations: 20.53 kB / 3.238 GB, free: 47.45 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007674/10.5, allocations: 1.718 MB / 3.239 GB, free: 46.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/10.5, allocations: 7.594 kB / 3.239 GB, free: 46.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002307/10.5, allocations: 101 kB / 3.24 GB, free: 46.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003695/10.5, allocations: 345.1 kB / 3.24 GB, free: 46.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/10.5, allocations: 0.5845 MB / 3.24 GB, free: 46.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/10.5, allocations: 51.06 kB / 3.24 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/10.5, allocations: 54.03 kB / 3.241 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/10.51, allocations: 0.9813 MB / 3.241 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/10.51, allocations: 0 / 3.241 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/10.51, allocations: 30.39 kB / 3.241 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/10.51, allocations: 24.47 kB / 3.242 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002735/10.51, allocations: 0.8171 MB / 3.242 GB, free: 46.21 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.007232/10.52, allocations: 4.83 MB / 3.247 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/10.52, allocations: 0.6868 MB / 3.248 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/10.52, allocations: 221.5 kB / 3.248 GB, free: 42.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06412/10.59, allocations: 21.65 MB / 3.269 GB, free: 29.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/10.59, allocations: 45.36 kB / 3.269 GB, free: 29.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 4.509e-06/10.59, allocations: 0 / 3.269 GB, free: 29.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04348/10.63, allocations: 3.786 MB / 3.273 GB, free: 28.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/10.63, allocations: 113 kB / 3.273 GB, free: 28.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/10.63, allocations: 428.9 kB / 3.273 GB, free: 28.26 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001697/10.63, allocations: 36.3 kB / 3.273 GB, free: 28.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/10.63, allocations: 348.1 kB / 3.274 GB, free: 28.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/10.63, allocations: 215.8 kB / 3.274 GB, free: 27.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-05/10.63, allocations: 14.53 kB / 3.274 GB, free: 27.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/10.63, allocations: 369.8 kB / 3.274 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/10.63, allocations: 281.4 kB / 3.275 GB, free: 27.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008785/10.63, allocations: 0.4925 MB / 3.275 GB, free: 27.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/10.63, allocations: 335.5 kB / 3.275 GB, free: 27.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/10.63, allocations: 3.688 kB / 3.275 GB, free: 27.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003007/10.64, allocations: 1.034 MB / 3.276 GB, free: 27.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006201/10.64, allocations: 2.444 MB / 3.279 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/10.64, allocations: 6.969 kB / 3.279 GB, free: 24.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006384/10.64, allocations: 0.8121 MB / 3.28 GB, free: 24.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/10.64, allocations: 169.1 kB / 3.28 GB, free: 24.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/10.65, allocations: 1.606 MB / 3.281 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/10.65, allocations: 105.6 kB / 3.281 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/10.65, allocations: 46.84 kB / 3.281 GB, free: 23.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/10.65, allocations: 6.969 kB / 3.281 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003316/10.65, allocations: 0.9828 MB / 3.282 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/10.65, allocations: 7.766 kB / 3.282 GB, free: 23.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003682/10.66, allocations: 0.5511 MB / 3.283 GB, free: 23.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/10.66, allocations: 176.5 kB / 3.283 GB, free: 23.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/10.66, allocations: 1.565 MB / 3.285 GB, free: 22.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/10.66, allocations: 97.36 kB / 3.285 GB, free: 22.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/10.66, allocations: 44.56 kB / 3.285 GB, free: 22.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003755/10.66, allocations: 157.4 kB / 3.285 GB, free: 22.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/10.66, allocations: 75.91 kB / 3.285 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007965/10.67, allocations: 3.967 MB / 3.289 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-05/10.67, allocations: 47.31 kB / 3.289 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/10.67, allocations: 0 / 3.289 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/10.67, allocations: 3.75 kB / 3.289 GB, free: 22.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009253/10.68, allocations: 5.155 MB / 3.294 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/10.68, allocations: 0 / 3.294 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/10.68, allocations: 118.7 kB / 3.294 GB, free: 21.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007012/10.69, allocations: 1.745 MB / 3.296 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/10.69, allocations: 19.11 kB / 3.296 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/10.69, allocations: 2.375 MB / 3.298 GB, free: 20.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/10.69, allocations: 0 / 3.298 GB, free: 20.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/10.7, allocations: 2.504 MB / 3.301 GB, free: 19.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008353/10.7, allocations: 345.1 kB / 3.301 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/10.7, allocations: 14.06 kB / 3.301 GB, free: 19.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/10.7, allocations: 102.8 kB / 3.301 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/10.7, allocations: 71.58 kB / 3.301 GB, free: 19.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/10.7, allocations: 33.61 kB / 3.301 GB, free: 19.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007329/10.7, allocations: 418.8 kB / 3.301 GB, free: 19.65 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/10.7, allocations: 3.875 kB / 3.301 GB, free: 19.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007988/10.71, allocations: 1.552 MB / 3.303 GB, free: 19.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01685/10.73, allocations: 4.592 MB / 3.307 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00536/10.73, allocations: 1.768 MB / 3.309 GB, free: 18.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/10.73, allocations: 4.062 kB / 3.309 GB, free: 18.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/10.73, allocations: 1.031 MB / 3.31 GB, free: 18.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/10.74, allocations: 297.4 kB / 3.31 GB, free: 18.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.619/11.35, allocations: 76.59 MB / 3.385 GB, free: 57.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/11.36, allocations: 1.187 MB / 3.386 GB, free: 56.43 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003189/11.36, allocations: 0.6833 MB / 3.387 GB, free: 56.42 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/11.36, allocations: 432.9 kB / 3.388 GB, free: 56.42 MB / 458.7 MB Notification: Performance of SimCode: time 1.653e-06/11.36, allocations: 0 / 3.388 GB, free: 56.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1865/11.55, allocations: 65.67 MB / 3.452 GB, free: 54.58 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/11.55, allocations: 243.2 kB / 3.452 GB, free: 54.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.749/17.3, allocations: 1.969 kB / 3.452 GB, free: 54.26 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat