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 2.073/2.073, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.157e-05, allocations: 8 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.848/7.963, allocations: 2.507 GB / 2.821 GB, free: 56.33 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/7.964, allocations: 82.95 kB / 2.821 GB, free: 56.29 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.412/10.38, allocations: 426.3 MB / 3.238 GB, free: 46.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.783e-06/10.38, allocations: 0 / 3.238 GB, free: 46.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.15e-05/10.38, allocations: 21.84 kB / 3.238 GB, free: 46.86 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.00806/10.38, allocations: 1.718 MB / 3.239 GB, free: 46.16 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/10.38, allocations: 12.5 kB / 3.239 GB, free: 46.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000289/10.38, allocations: 98.36 kB / 3.24 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/10.39, allocations: 347.3 kB / 3.24 GB, free: 46.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/10.39, allocations: 0.5831 MB / 3.24 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/10.39, allocations: 46.31 kB / 3.24 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/10.39, allocations: 59.88 kB / 3.241 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003352/10.39, allocations: 0.978 MB / 3.241 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/10.39, allocations: 3.844 kB / 3.241 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/10.39, allocations: 27 kB / 3.241 GB, free: 45.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/10.39, allocations: 19.31 kB / 3.242 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003084/10.4, allocations: 0.8072 MB / 3.242 GB, free: 45.64 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.00817/10.41, allocations: 4.822 MB / 3.247 GB, free: 42.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/10.41, allocations: 0.6821 MB / 3.248 GB, free: 42.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/10.41, allocations: 224.2 kB / 3.248 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06486/10.48, allocations: 21.65 MB / 3.269 GB, free: 28.51 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/10.48, allocations: 40.42 kB / 3.269 GB, free: 28.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.065e-05/10.48, allocations: 3 kB / 3.269 GB, free: 28.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04347/10.52, allocations: 3.794 MB / 3.273 GB, free: 27.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/10.52, allocations: 110.9 kB / 3.273 GB, free: 27.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/10.52, allocations: 422.3 kB / 3.273 GB, free: 27.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001726/10.52, allocations: 36.2 kB / 3.273 GB, free: 27.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/10.52, allocations: 387.5 kB / 3.274 GB, free: 27.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/10.52, allocations: 221.2 kB / 3.274 GB, free: 27.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/10.52, allocations: 18.69 kB / 3.274 GB, free: 27.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/10.52, allocations: 341.7 kB / 3.274 GB, free: 26.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007328/10.52, allocations: 277.9 kB / 3.275 GB, free: 26.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008453/10.52, allocations: 493.6 kB / 3.275 GB, free: 26.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009579/10.52, allocations: 339.7 kB / 3.275 GB, free: 26.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/10.52, allocations: 3.812 kB / 3.275 GB, free: 26.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002928/10.53, allocations: 0.9806 MB / 3.276 GB, free: 26.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005418/10.53, allocations: 2.453 MB / 3.279 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/10.53, allocations: 3.312 kB / 3.279 GB, free: 24.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0065/10.53, allocations: 0.8178 MB / 3.279 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/10.53, allocations: 167.8 kB / 3.28 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/10.54, allocations: 1.608 MB / 3.281 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/10.54, allocations: 99.42 kB / 3.281 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/10.54, allocations: 48.16 kB / 3.281 GB, free: 23.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/10.54, allocations: 3.812 kB / 3.281 GB, free: 23.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003235/10.54, allocations: 0.9672 MB / 3.282 GB, free: 22.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/10.54, allocations: 6.625 kB / 3.282 GB, free: 22.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/10.55, allocations: 0.5172 MB / 3.283 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/10.55, allocations: 177.2 kB / 3.283 GB, free: 22.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/10.55, allocations: 1.544 MB / 3.284 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/10.55, allocations: 111.4 kB / 3.285 GB, free: 21.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/10.55, allocations: 42.88 kB / 3.285 GB, free: 21.92 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.0003664/10.55, allocations: 151.2 kB / 3.285 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/10.55, allocations: 75.58 kB / 3.285 GB, free: 21.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008095/10.56, allocations: 3.958 MB / 3.289 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.909e-05/10.56, allocations: 47.88 kB / 3.289 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/10.56, allocations: 0 / 3.289 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.413e-05/10.56, allocations: 7.219 kB / 3.289 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/10.57, allocations: 5.139 MB / 3.294 GB, free: 20.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/10.57, allocations: 3.375 kB / 3.294 GB, free: 20.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/10.57, allocations: 119.7 kB / 3.294 GB, free: 20.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006909/10.58, allocations: 1.749 MB / 3.296 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/10.58, allocations: 25.47 kB / 3.296 GB, free: 20.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/10.58, allocations: 2.362 MB / 3.298 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/10.58, allocations: 3.094 kB / 3.298 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/10.58, allocations: 2.499 MB / 3.3 GB, free: 19.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007741/10.58, allocations: 352.3 kB / 3.301 GB, free: 19.15 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001911/10.59, allocations: 13.31 kB / 3.301 GB, free: 19.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/10.59, allocations: 98.97 kB / 3.301 GB, free: 19.15 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/10.59, allocations: 68.19 kB / 3.301 GB, free: 19.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.636e-05/10.59, allocations: 29.09 kB / 3.301 GB, free: 19.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007292/10.59, allocations: 428.8 kB / 3.301 GB, free: 19.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.59, allocations: 0 / 3.301 GB, free: 19.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007417/10.59, allocations: 1.558 MB / 3.303 GB, free: 18.82 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.01581/10.61, allocations: 4.587 MB / 3.307 GB, free: 17.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004962/10.62, allocations: 1.715 MB / 3.309 GB, free: 17.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/10.62, allocations: 7.312 kB / 3.309 GB, free: 17.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/10.62, allocations: 1.026 MB / 3.31 GB, free: 17.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/10.62, allocations: 297.9 kB / 3.31 GB, free: 17.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.601/11.22, allocations: 76.59 MB / 3.385 GB, free: 57.35 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009545/11.22, allocations: 1.184 MB / 3.386 GB, free: 56.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009999/11.22, allocations: 441.1 kB / 3.387 GB, free: 56.64 MB / 458.7 MB Notification: Performance of SimCode: time 1.112e-06/11.22, allocations: 0 / 3.387 GB, free: 56.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.323/15.55, allocations: 50.68 MB / 3.436 GB, free: 54.32 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