Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.507e-05, allocations: 0 / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.432, allocations: 54.85 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.853/8.285, allocations: 2.613 GB / 2.964 GB, free: 104.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/8.285, allocations: 88.25 kB / 2.964 GB, free: 104.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.267/10.55, allocations: 436.5 MB / 3.39 GB, free: 53.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/10.55, allocations: 0 / 3.39 GB, free: 53.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.366e-05/10.55, allocations: 18.86 kB / 3.39 GB, free: 53.53 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007964/10.56, allocations: 1.748 MB / 3.392 GB, free: 52.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/10.56, allocations: 11.72 kB / 3.392 GB, free: 52.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/10.56, allocations: 99.27 kB / 3.392 GB, free: 52.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/10.56, allocations: 330.4 kB / 3.393 GB, free: 52.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/10.57, allocations: 0.5827 MB / 3.393 GB, free: 52.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.973e-05/10.57, allocations: 49.44 kB / 3.393 GB, free: 52.34 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/10.57, allocations: 59.97 kB / 3.393 GB, free: 52.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003229/10.57, allocations: 0.9534 MB / 3.394 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.326e-05/10.57, allocations: 7.656 kB / 3.394 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/10.57, allocations: 22.66 kB / 3.394 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/10.57, allocations: 24.03 kB / 3.394 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/10.57, allocations: 0.7968 MB / 3.395 GB, free: 52.14 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.006556/10.58, allocations: 4.433 MB / 3.399 GB, free: 48.89 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/10.58, allocations: 0.7108 MB / 3.4 GB, free: 48.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005714/10.58, allocations: 235.2 kB / 3.4 GB, free: 48.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2914/10.87, allocations: 83.24 MB / 3.482 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/10.87, allocations: 40.73 kB / 3.482 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/10.87, allocations: 2.156 kB / 3.482 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007496/10.88, allocations: 1.829 MB / 3.483 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/10.88, allocations: 107.8 kB / 3.483 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/10.88, allocations: 417.5 kB / 3.484 GB, free: 29.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001404/10.88, allocations: 36.64 kB / 3.484 GB, free: 29.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/10.88, allocations: 374.5 kB / 3.484 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/10.88, allocations: 183.9 kB / 3.484 GB, free: 28.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/10.88, allocations: 20.56 kB / 3.484 GB, free: 28.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001362/10.88, allocations: 338.9 kB / 3.485 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/10.88, allocations: 197.2 kB / 3.485 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006081/10.89, allocations: 381.8 kB / 3.485 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/10.89, allocations: 242.3 kB / 3.486 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/10.89, allocations: 7.891 kB / 3.486 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002544/10.89, allocations: 0.7773 MB / 3.486 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008153/10.89, allocations: 2.183 MB / 3.488 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/10.89, allocations: 8 kB / 3.488 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/10.89, allocations: 367.5 kB / 3.489 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/10.89, allocations: 145 kB / 3.489 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/10.9, allocations: 0.8687 MB / 3.49 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/10.9, allocations: 97.58 kB / 3.49 GB, free: 23.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/10.9, allocations: 35.7 kB / 3.49 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/10.9, allocations: 5.719 kB / 3.49 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002947/10.9, allocations: 0.7706 MB / 3.491 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/10.9, allocations: 8 kB / 3.491 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/10.9, allocations: 272.6 kB / 3.491 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/10.9, allocations: 150.9 kB / 3.491 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/10.9, allocations: 0.8094 MB / 3.492 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/10.91, allocations: 92.41 kB / 3.492 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/10.91, allocations: 32 kB / 3.492 GB, free: 22.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/10.91, allocations: 150.7 kB / 3.492 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/10.91, allocations: 63.2 kB / 3.492 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/10.91, allocations: 2.835 MB / 3.495 GB, free: 19.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-05/10.91, allocations: 42.23 kB / 3.495 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/10.91, allocations: 3.938 kB / 3.495 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/10.91, allocations: 3.797 kB / 3.495 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00611/10.92, allocations: 3.972 MB / 3.499 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/10.92, allocations: 0 / 3.499 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/10.92, allocations: 174.8 kB / 3.499 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/10.92, allocations: 67.91 kB / 3.499 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/10.92, allocations: 20.45 kB / 3.499 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000895/10.92, allocations: 1.173 MB / 3.5 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/10.92, allocations: 0 / 3.5 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00377/10.92, allocations: 2.373 MB / 3.503 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006839/10.92, allocations: 314.3 kB / 3.503 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/10.92, allocations: 15.66 kB / 3.503 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009647/10.93, allocations: 69.33 kB / 3.503 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/10.93, allocations: 50.36 kB / 3.503 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/10.93, allocations: 22.95 kB / 3.503 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006799/10.93, allocations: 385 kB / 3.503 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/10.93, allocations: 4 kB / 3.503 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006758/10.93, allocations: 1.388 MB / 3.505 GB, free: 9.973 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01597/10.95, allocations: 4.555 MB / 3.509 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004009/10.95, allocations: 1.255 MB / 3.51 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/10.95, allocations: 4 kB / 3.51 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/10.96, allocations: 0.8013 MB / 3.511 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/10.96, allocations: 301.2 kB / 3.512 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6284/11.59, allocations: 77.82 MB / 3.588 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/11.59, allocations: 1.158 MB / 3.589 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/11.59, allocations: 453.3 kB / 3.589 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of SimCode: time 2.004e-06/11.59, allocations: 0 / 3.589 GB, free: 78.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.091/15.68, allocations: 44.84 MB / 3.633 GB, free: 74.75 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat