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 2.009/2.009, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.728e-05/4.742e-05, allocations: 5.547 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.834/7.952, allocations: 2.507 GB / 2.821 GB, free: 53.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004091/7.952, allocations: 86.5 kB / 2.821 GB, free: 53.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484/10.44, allocations: 426.3 MB / 3.238 GB, free: 47.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/10.44, allocations: 2.297 kB / 3.238 GB, free: 47.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.543e-05/10.44, allocations: 20.62 kB / 3.238 GB, free: 47.29 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.009527/10.45, allocations: 1.718 MB / 3.239 GB, free: 46.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/10.45, allocations: 10.06 kB / 3.239 GB, free: 46.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003159/10.45, allocations: 99.88 kB / 3.24 GB, free: 46.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/10.45, allocations: 339.7 kB / 3.24 GB, free: 46.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/10.45, allocations: 0.5791 MB / 3.24 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/10.45, allocations: 49.5 kB / 3.24 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/10.46, allocations: 61.34 kB / 3.241 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/10.46, allocations: 0.9806 MB / 3.241 GB, free: 46.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/10.46, allocations: 1.688 kB / 3.241 GB, free: 46.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/10.46, allocations: 30.7 kB / 3.242 GB, free: 46.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-05/10.46, allocations: 23.42 kB / 3.242 GB, free: 46.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004165/10.46, allocations: 0.8019 MB / 3.242 GB, free: 46.06 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.009802/10.47, allocations: 4.821 MB / 3.247 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/10.48, allocations: 0.6918 MB / 3.248 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000751/10.48, allocations: 217.4 kB / 3.248 GB, free: 42.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06677/10.55, allocations: 21.66 MB / 3.269 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/10.55, allocations: 38.64 kB / 3.269 GB, free: 28.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.807e-06/10.55, allocations: 0.5625 kB / 3.269 GB, free: 28.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04405/10.59, allocations: 3.789 MB / 3.273 GB, free: 28.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/10.59, allocations: 111.2 kB / 3.273 GB, free: 28.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/10.59, allocations: 432.3 kB / 3.273 GB, free: 28.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/10.59, allocations: 39.3 kB / 3.273 GB, free: 28.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/10.59, allocations: 343.9 kB / 3.274 GB, free: 27.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/10.59, allocations: 216.8 kB / 3.274 GB, free: 27.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.658e-05/10.59, allocations: 17.14 kB / 3.274 GB, free: 27.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/10.59, allocations: 370.5 kB / 3.274 GB, free: 27.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/10.59, allocations: 284.5 kB / 3.275 GB, free: 27.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008383/10.59, allocations: 496.3 kB / 3.275 GB, free: 27.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/10.59, allocations: 341.2 kB / 3.275 GB, free: 27.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/10.59, allocations: 3.844 kB / 3.275 GB, free: 27.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002944/10.6, allocations: 1.015 MB / 3.276 GB, free: 27.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005685/10.6, allocations: 2.448 MB / 3.279 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/10.6, allocations: 7.781 kB / 3.279 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006365/10.6, allocations: 0.8037 MB / 3.28 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/10.61, allocations: 167.9 kB / 3.28 GB, free: 24.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/10.61, allocations: 1.603 MB / 3.281 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/10.61, allocations: 104 kB / 3.281 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/10.61, allocations: 49.02 kB / 3.281 GB, free: 23.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/10.61, allocations: 3.781 kB / 3.281 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003174/10.61, allocations: 0.9672 MB / 3.282 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/10.61, allocations: 7.562 kB / 3.282 GB, free: 23.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003632/10.62, allocations: 0.5511 MB / 3.283 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/10.62, allocations: 170 kB / 3.283 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/10.62, allocations: 1.567 MB / 3.285 GB, free: 22.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/10.62, allocations: 100.3 kB / 3.285 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/10.62, allocations: 50.41 kB / 3.285 GB, free: 22.39 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.0003641/10.62, allocations: 150.8 kB / 3.285 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/10.62, allocations: 73.64 kB / 3.285 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007952/10.63, allocations: 3.963 MB / 3.289 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.487e-05/10.63, allocations: 48.03 kB / 3.289 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/10.63, allocations: 0 / 3.289 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/10.63, allocations: 7 kB / 3.289 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008855/10.64, allocations: 5.15 MB / 3.294 GB, free: 21.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/10.64, allocations: 3.938 kB / 3.294 GB, free: 21.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008302/10.64, allocations: 121.4 kB / 3.294 GB, free: 21.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006815/10.65, allocations: 1.737 MB / 3.296 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/10.65, allocations: 22.23 kB / 3.296 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003195/10.65, allocations: 2.364 MB / 3.298 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/10.65, allocations: 0 / 3.298 GB, free: 20.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/10.66, allocations: 2.503 MB / 3.3 GB, free: 19.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/10.66, allocations: 348.8 kB / 3.301 GB, free: 19.62 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/10.66, allocations: 15.56 kB / 3.301 GB, free: 19.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/10.66, allocations: 97.67 kB / 3.301 GB, free: 19.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/10.66, allocations: 68.58 kB / 3.301 GB, free: 19.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/10.66, allocations: 34.98 kB / 3.301 GB, free: 19.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007128/10.66, allocations: 417.9 kB / 3.301 GB, free: 19.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.66, allocations: 0 / 3.301 GB, free: 19.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007508/10.67, allocations: 1.56 MB / 3.303 GB, free: 19.29 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.01609/10.68, allocations: 4.608 MB / 3.307 GB, free: 18.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005244/10.69, allocations: 1.746 MB / 3.309 GB, free: 17.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/10.69, allocations: 0 / 3.309 GB, free: 17.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/10.69, allocations: 1.026 MB / 3.31 GB, free: 17.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/10.69, allocations: 299.8 kB / 3.31 GB, free: 17.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.612/11.3, allocations: 76.59 MB / 3.385 GB, free: 57.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/11.31, allocations: 1.185 MB / 3.386 GB, free: 56.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002537/11.31, allocations: 0.6823 MB / 3.387 GB, free: 56.33 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/11.31, allocations: 436.7 kB / 3.387 GB, free: 56.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/11.31, allocations: 0 / 3.387 GB, free: 56.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1655/11.47, allocations: 65.8 MB / 3.452 GB, free: 54.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/11.48, allocations: 236.8 kB / 3.452 GB, free: 53.97 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.43/16.91, allocations: 0 / 3.452 GB, free: 53.97 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