Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.273/2.273, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.417e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3987, allocations: 54.85 MB / 359.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.73/8.129, allocations: 2.618 GB / 2.969 GB, free: 117.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/8.129, allocations: 89.06 kB / 2.969 GB, free: 117.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164/10.29, allocations: 437.2 MB / 3.396 GB, free: 52.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.445e-06/10.29, allocations: 3.656 kB / 3.396 GB, free: 52.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.253e-05/10.29, allocations: 20.98 kB / 3.396 GB, free: 52.33 MB / 490.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.008032/10.3, allocations: 1.767 MB / 3.398 GB, free: 51.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/10.3, allocations: 9.5 kB / 3.398 GB, free: 51.35 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002883/10.3, allocations: 98.86 kB / 3.398 GB, free: 51.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004042/10.31, allocations: 354.6 kB / 3.398 GB, free: 51.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/10.31, allocations: 0.5872 MB / 3.399 GB, free: 50.83 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.712e-05/10.31, allocations: 51.44 kB / 3.399 GB, free: 50.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/10.31, allocations: 51.31 kB / 3.399 GB, free: 50.79 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/10.31, allocations: 0.9739 MB / 3.4 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/10.31, allocations: 0 / 3.4 GB, free: 50.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/10.31, allocations: 27.53 kB / 3.4 GB, free: 50.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/10.31, allocations: 27.38 kB / 3.4 GB, free: 50.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/10.32, allocations: 0.805 MB / 3.401 GB, free: 50.07 MB / 490.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.007887/10.32, allocations: 4.836 MB / 3.405 GB, free: 46.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/10.33, allocations: 0.6767 MB / 3.406 GB, free: 45.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005486/10.33, allocations: 221.2 kB / 3.406 GB, free: 45.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08246/10.41, allocations: 21.71 MB / 3.428 GB, free: 31.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/10.41, allocations: 46.41 kB / 3.428 GB, free: 31.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.616e-06/10.41, allocations: 0 / 3.428 GB, free: 31.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.04993/10.46, allocations: 3.781 MB / 3.431 GB, free: 30.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/10.46, allocations: 110.9 kB / 3.431 GB, free: 30.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009197/10.46, allocations: 422.2 kB / 3.432 GB, free: 29.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/10.46, allocations: 33.7 kB / 3.432 GB, free: 29.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/10.46, allocations: 366.4 kB / 3.432 GB, free: 29.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/10.46, allocations: 215 kB / 3.432 GB, free: 29.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/10.46, allocations: 15.53 kB / 3.432 GB, free: 29.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/10.46, allocations: 367.3 kB / 3.433 GB, free: 28.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/10.46, allocations: 282 kB / 3.433 GB, free: 28.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/10.46, allocations: 496.4 kB / 3.433 GB, free: 28.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/10.46, allocations: 340.5 kB / 3.434 GB, free: 28.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/10.46, allocations: 3.844 kB / 3.434 GB, free: 28.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004022/10.47, allocations: 1.022 MB / 3.435 GB, free: 27.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006662/10.47, allocations: 2.442 MB / 3.437 GB, free: 25.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/10.47, allocations: 3.312 kB / 3.437 GB, free: 25.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008335/10.48, allocations: 0.8226 MB / 3.438 GB, free: 25.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/10.48, allocations: 171.7 kB / 3.438 GB, free: 25.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/10.48, allocations: 1.606 MB / 3.44 GB, free: 23.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/10.49, allocations: 102 kB / 3.44 GB, free: 23.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/10.49, allocations: 44.67 kB / 3.44 GB, free: 23.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/10.49, allocations: 3 kB / 3.44 GB, free: 23.79 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004112/10.49, allocations: 0.9675 MB / 3.441 GB, free: 23.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/10.49, allocations: 7.938 kB / 3.441 GB, free: 23.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004577/10.49, allocations: 0.5499 MB / 3.441 GB, free: 23.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/10.5, allocations: 175.4 kB / 3.441 GB, free: 23.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003371/10.5, allocations: 1.56 MB / 3.443 GB, free: 22.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/10.5, allocations: 98.84 kB / 3.443 GB, free: 21.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/10.5, allocations: 45.7 kB / 3.443 GB, free: 21.98 MB / 490.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.0003991/10.5, allocations: 158.2 kB / 3.443 GB, free: 21.83 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/10.5, allocations: 61.97 kB / 3.443 GB, free: 21.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/10.51, allocations: 3.97 MB / 3.447 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-05/10.51, allocations: 44.12 kB / 3.447 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/10.51, allocations: 0 / 3.447 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.337e-05/10.51, allocations: 7.453 kB / 3.447 GB, free: 19.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009198/10.52, allocations: 5.152 MB / 3.452 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/10.52, allocations: 0 / 3.452 GB, free: 17.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/10.52, allocations: 120.7 kB / 3.452 GB, free: 17.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006696/10.53, allocations: 1.744 MB / 3.454 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/10.53, allocations: 29.62 kB / 3.454 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003073/10.53, allocations: 2.359 MB / 3.456 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/10.53, allocations: 7.641 kB / 3.456 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/10.54, allocations: 2.505 MB / 3.459 GB, free: 14.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/10.54, allocations: 345.3 kB / 3.459 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/10.54, allocations: 15.28 kB / 3.459 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/10.54, allocations: 102.8 kB / 3.459 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/10.54, allocations: 69.42 kB / 3.459 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/10.54, allocations: 27.56 kB / 3.459 GB, free: 13.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007238/10.54, allocations: 423.2 kB / 3.46 GB, free: 13.37 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.54, allocations: 0 / 3.46 GB, free: 13.37 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007316/10.55, allocations: 1.573 MB / 3.461 GB, free: 11.83 MB / 490.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.01433/10.56, allocations: 4.595 MB / 3.466 GB, free: 7.742 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004981/10.57, allocations: 1.752 MB / 3.468 GB, free: 6.109 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/10.57, allocations: 0 / 3.468 GB, free: 6.109 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/10.57, allocations: 1.029 MB / 3.469 GB, free: 5.141 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/10.57, allocations: 290.8 kB / 3.469 GB, free: 4.934 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6817/11.25, allocations: 78.43 MB / 3.545 GB, free: 61.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007178/11.25, allocations: 1.185 MB / 3.547 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002091/11.26, allocations: 0.6825 MB / 3.547 GB, free: 60.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007028/11.26, allocations: 439.3 kB / 3.548 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of SimCode: time 2.174e-06/11.26, allocations: 0 / 3.548 GB, free: 60.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/11.41, allocations: 66.01 MB / 3.612 GB, free: 56.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/11.41, allocations: 240.8 kB / 3.612 GB, free: 56.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.524/16.93, allocations: 0 / 3.612 GB, free: 56.38 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat