Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.261e-05/5.276e-05, allocations: 12 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 48.69 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.96/8.072, allocations: 2.507 GB / 2.821 GB, free: 56.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/8.072, allocations: 82.64 kB / 2.821 GB, free: 56.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.467/10.54, allocations: 426.3 MB / 3.238 GB, free: 47.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.045e-06/10.54, allocations: 0 / 3.238 GB, free: 47.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.524e-05/10.54, allocations: 22.3 kB / 3.238 GB, free: 47.34 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.00804/10.55, allocations: 1.721 MB / 3.239 GB, free: 46.63 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/10.55, allocations: 10.16 kB / 3.239 GB, free: 46.63 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/10.55, allocations: 102.1 kB / 3.239 GB, free: 46.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/10.55, allocations: 335.2 kB / 3.24 GB, free: 46.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/10.55, allocations: 0.5854 MB / 3.24 GB, free: 46.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/10.55, allocations: 48.44 kB / 3.24 GB, free: 46.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/10.55, allocations: 57 kB / 3.24 GB, free: 46.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/10.56, allocations: 0.991 MB / 3.241 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/10.56, allocations: 3.281 kB / 3.241 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/10.56, allocations: 24.16 kB / 3.241 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/10.56, allocations: 26.91 kB / 3.242 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/10.56, allocations: 0.8135 MB / 3.242 GB, free: 46.1 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.007335/10.57, allocations: 4.826 MB / 3.247 GB, free: 42.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/10.57, allocations: 0.6897 MB / 3.248 GB, free: 42.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005032/10.57, allocations: 220.5 kB / 3.248 GB, free: 42.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06316/10.64, allocations: 21.66 MB / 3.269 GB, free: 28.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/10.64, allocations: 41.83 kB / 3.269 GB, free: 28.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.645e-06/10.64, allocations: 0 / 3.269 GB, free: 28.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04297/10.68, allocations: 3.78 MB / 3.273 GB, free: 28.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/10.68, allocations: 111 kB / 3.273 GB, free: 28.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/10.68, allocations: 427.8 kB / 3.273 GB, free: 28.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/10.68, allocations: 41.98 kB / 3.273 GB, free: 28.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/10.68, allocations: 386.5 kB / 3.274 GB, free: 27.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/10.68, allocations: 216.8 kB / 3.274 GB, free: 27.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/10.68, allocations: 14.31 kB / 3.274 GB, free: 27.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.014e-05/10.68, allocations: 340.8 kB / 3.274 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007702/10.68, allocations: 279.4 kB / 3.275 GB, free: 27.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/10.68, allocations: 0.4912 MB / 3.275 GB, free: 27.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009642/10.68, allocations: 341.6 kB / 3.275 GB, free: 27.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/10.68, allocations: 0 / 3.275 GB, free: 27.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002923/10.69, allocations: 1.005 MB / 3.276 GB, free: 27.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005934/10.69, allocations: 2.442 MB / 3.279 GB, free: 24.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/10.69, allocations: 9.344 kB / 3.279 GB, free: 24.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006479/10.69, allocations: 0.8154 MB / 3.279 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/10.69, allocations: 165.5 kB / 3.28 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002791/10.7, allocations: 1.61 MB / 3.281 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/10.7, allocations: 110.1 kB / 3.281 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/10.7, allocations: 48.75 kB / 3.281 GB, free: 23.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/10.7, allocations: 3.844 kB / 3.281 GB, free: 23.48 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00309/10.7, allocations: 0.9837 MB / 3.282 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/10.7, allocations: 12.69 kB / 3.282 GB, free: 23.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003125/10.71, allocations: 0.5134 MB / 3.283 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/10.71, allocations: 171.7 kB / 3.283 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/10.71, allocations: 1.549 MB / 3.285 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/10.71, allocations: 96.83 kB / 3.285 GB, free: 22.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/10.71, allocations: 47.83 kB / 3.285 GB, free: 22.38 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.0003382/10.71, allocations: 154.9 kB / 3.285 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/10.71, allocations: 68.95 kB / 3.285 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007714/10.72, allocations: 3.964 MB / 3.289 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.501e-05/10.72, allocations: 46.61 kB / 3.289 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/10.72, allocations: 0 / 3.289 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/10.72, allocations: 3.703 kB / 3.289 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/10.73, allocations: 5.156 MB / 3.294 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/10.73, allocations: 0 / 3.294 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008905/10.73, allocations: 116.7 kB / 3.294 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006754/10.74, allocations: 1.742 MB / 3.296 GB, free: 21.24 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/10.74, allocations: 23.62 kB / 3.296 GB, free: 21.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003237/10.74, allocations: 2.367 MB / 3.298 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/10.74, allocations: 3.375 kB / 3.298 GB, free: 20.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004301/10.74, allocations: 2.5 MB / 3.3 GB, free: 19.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008114/10.74, allocations: 351.5 kB / 3.301 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/10.74, allocations: 13.91 kB / 3.301 GB, free: 19.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/10.75, allocations: 104 kB / 3.301 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/10.75, allocations: 68.17 kB / 3.301 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/10.75, allocations: 34.44 kB / 3.301 GB, free: 19.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007422/10.75, allocations: 417.7 kB / 3.301 GB, free: 19.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.71e-07/10.75, allocations: 2.75 kB / 3.301 GB, free: 19.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007796/10.75, allocations: 1.557 MB / 3.303 GB, free: 19.27 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.01767/10.77, allocations: 4.585 MB / 3.307 GB, free: 18.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007845/10.78, allocations: 1.742 MB / 3.309 GB, free: 18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/10.78, allocations: 2.469 kB / 3.309 GB, free: 18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003342/10.78, allocations: 1.031 MB / 3.31 GB, free: 17.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004216/10.79, allocations: 295.3 kB / 3.31 GB, free: 17.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6473/11.44, allocations: 76.6 MB / 3.385 GB, free: 57.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/11.44, allocations: 1.187 MB / 3.386 GB, free: 56.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/11.44, allocations: 441 kB / 3.387 GB, free: 56.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/11.44, allocations: 0 / 3.387 GB, free: 56.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.325/15.76, allocations: 50.59 MB / 3.436 GB, free: 54.29 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat