Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.894e-05, allocations: 4 kB / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4256, allocations: 54.85 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.643/8.068, allocations: 2.618 GB / 2.969 GB, free: 107.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/8.069, allocations: 81.78 kB / 2.969 GB, free: 107.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315/10.38, allocations: 437.2 MB / 3.396 GB, free: 52.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.324e-06/10.38, allocations: 3.75 kB / 3.396 GB, free: 52.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.957e-05/10.38, allocations: 17.8 kB / 3.396 GB, free: 52.43 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.008155/10.39, allocations: 1.773 MB / 3.398 GB, free: 51.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/10.39, allocations: 7.938 kB / 3.398 GB, free: 51.57 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002345/10.39, allocations: 96.62 kB / 3.398 GB, free: 51.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003893/10.4, allocations: 351.3 kB / 3.398 GB, free: 51.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/10.4, allocations: 0.591 MB / 3.399 GB, free: 51.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/10.4, allocations: 45.88 kB / 3.399 GB, free: 51.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/10.4, allocations: 60.75 kB / 3.399 GB, free: 51.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/10.4, allocations: 0.9731 MB / 3.4 GB, free: 51.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/10.4, allocations: 5.156 kB / 3.4 GB, free: 51.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/10.4, allocations: 28.78 kB / 3.4 GB, free: 51.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/10.4, allocations: 23.56 kB / 3.4 GB, free: 51.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002855/10.4, allocations: 0.8035 MB / 3.401 GB, free: 51.01 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.009902/10.41, allocations: 4.828 MB / 3.405 GB, free: 47.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/10.42, allocations: 0.6801 MB / 3.406 GB, free: 47.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/10.42, allocations: 225 kB / 3.406 GB, free: 47.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06518/10.49, allocations: 21.7 MB / 3.427 GB, free: 33.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/10.49, allocations: 43.17 kB / 3.428 GB, free: 33.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.276e-06/10.49, allocations: 0 / 3.428 GB, free: 33.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.04303/10.53, allocations: 3.792 MB / 3.431 GB, free: 33.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/10.53, allocations: 110.8 kB / 3.431 GB, free: 33.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007757/10.53, allocations: 425.4 kB / 3.432 GB, free: 33.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001868/10.53, allocations: 38.08 kB / 3.432 GB, free: 32.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/10.53, allocations: 390.1 kB / 3.432 GB, free: 32.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/10.53, allocations: 211.8 kB / 3.432 GB, free: 32.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/10.53, allocations: 17.59 kB / 3.432 GB, free: 32.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/10.53, allocations: 337.2 kB / 3.433 GB, free: 32.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/10.53, allocations: 281.7 kB / 3.433 GB, free: 32.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/10.53, allocations: 489.8 kB / 3.433 GB, free: 32.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/10.53, allocations: 340.7 kB / 3.434 GB, free: 31.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/10.53, allocations: 0 / 3.434 GB, free: 31.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002845/10.54, allocations: 0.994 MB / 3.435 GB, free: 31.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00054/10.54, allocations: 2.445 MB / 3.437 GB, free: 28.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/10.54, allocations: 11.08 kB / 3.437 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006375/10.54, allocations: 0.8239 MB / 3.438 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/10.54, allocations: 165 kB / 3.438 GB, free: 28.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/10.55, allocations: 1.611 MB / 3.44 GB, free: 27.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/10.55, allocations: 108.6 kB / 3.44 GB, free: 27.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/10.55, allocations: 45.53 kB / 3.44 GB, free: 27.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/10.55, allocations: 7.875 kB / 3.44 GB, free: 27.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003428/10.55, allocations: 0.957 MB / 3.441 GB, free: 27.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/10.55, allocations: 8.438 kB / 3.441 GB, free: 27.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003199/10.56, allocations: 0.5191 MB / 3.441 GB, free: 26.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/10.56, allocations: 172.2 kB / 3.441 GB, free: 26.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/10.56, allocations: 1.544 MB / 3.443 GB, free: 25.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/10.56, allocations: 100 kB / 3.443 GB, free: 25.65 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/10.56, allocations: 49.16 kB / 3.443 GB, free: 25.64 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.0003377/10.56, allocations: 151.6 kB / 3.443 GB, free: 25.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/10.56, allocations: 61.28 kB / 3.443 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007578/10.57, allocations: 3.964 MB / 3.447 GB, free: 23.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/10.57, allocations: 48.17 kB / 3.447 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/10.57, allocations: 0 / 3.447 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/10.57, allocations: 5.672 kB / 3.447 GB, free: 23.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008447/10.58, allocations: 5.156 MB / 3.452 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/10.58, allocations: 0 / 3.452 GB, free: 21.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/10.58, allocations: 121.2 kB / 3.452 GB, free: 21.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00666/10.59, allocations: 1.751 MB / 3.454 GB, free: 20.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/10.59, allocations: 29.42 kB / 3.454 GB, free: 20.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/10.59, allocations: 2.365 MB / 3.456 GB, free: 19.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/10.59, allocations: 0 / 3.456 GB, free: 19.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/10.59, allocations: 2.505 MB / 3.459 GB, free: 17.76 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006753/10.59, allocations: 346 kB / 3.459 GB, free: 17.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/10.59, allocations: 15.91 kB / 3.459 GB, free: 17.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/10.59, allocations: 103 kB / 3.459 GB, free: 17.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/10.6, allocations: 64.58 kB / 3.459 GB, free: 17.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.196e-05/10.6, allocations: 30.72 kB / 3.459 GB, free: 17.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006829/10.6, allocations: 420.2 kB / 3.46 GB, free: 17.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/10.6, allocations: 0 / 3.46 GB, free: 17.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007395/10.6, allocations: 1.567 MB / 3.461 GB, free: 16.93 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.01538/10.62, allocations: 4.604 MB / 3.466 GB, free: 14.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004874/10.62, allocations: 1.712 MB / 3.467 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/10.62, allocations: 0 / 3.467 GB, free: 14.13 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/10.63, allocations: 1.027 MB / 3.468 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/10.63, allocations: 296.9 kB / 3.469 GB, free: 13.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7099/11.34, allocations: 78.05 MB / 3.545 GB, free: 61.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/11.34, allocations: 1.187 MB / 3.546 GB, free: 61.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/11.34, allocations: 442.7 kB / 3.547 GB, free: 61.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.443e-06/11.34, allocations: 0 / 3.547 GB, free: 61.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.288/15.63, allocations: 50.89 MB / 3.596 GB, free: 58.2 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat