Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.421e-05, allocations: 0 / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4215, allocations: 54.85 MB / 359.9 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.78/8.201, allocations: 2.613 GB / 2.964 GB, free: 115.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/8.202, allocations: 78.16 kB / 2.964 GB, free: 115.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.268/10.47, allocations: 436.9 MB / 3.391 GB, free: 52.22 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.933e-06/10.47, allocations: 0 / 3.391 GB, free: 52.22 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.984e-05/10.47, allocations: 21.47 kB / 3.391 GB, free: 52.21 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.007916/10.48, allocations: 1.759 MB / 3.393 GB, free: 51.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/10.48, allocations: 14.91 kB / 3.393 GB, free: 51.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/10.48, allocations: 97.45 kB / 3.393 GB, free: 51.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/10.48, allocations: 322.7 kB / 3.393 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/10.48, allocations: 0.5861 MB / 3.394 GB, free: 50.79 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.04e-05/10.48, allocations: 46.06 kB / 3.394 GB, free: 50.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/10.48, allocations: 58.69 kB / 3.394 GB, free: 50.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/10.49, allocations: 0.9605 MB / 3.395 GB, free: 50.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/10.49, allocations: 10.2 kB / 3.395 GB, free: 50.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/10.49, allocations: 27.7 kB / 3.395 GB, free: 50.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/10.49, allocations: 23.94 kB / 3.395 GB, free: 50.28 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/10.49, allocations: 0.7958 MB / 3.395 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.006382/10.5, allocations: 4.452 MB / 3.4 GB, free: 46.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/10.5, allocations: 0.7233 MB / 3.4 GB, free: 46.05 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/10.5, allocations: 233 kB / 3.401 GB, free: 45.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2893/10.79, allocations: 83.25 MB / 3.482 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/10.79, allocations: 35 kB / 3.482 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.477e-06/10.79, allocations: 0 / 3.482 GB, free: 19.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007753/10.8, allocations: 1.838 MB / 3.484 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/10.8, allocations: 111.2 kB / 3.484 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007785/10.8, allocations: 424.4 kB / 3.484 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001479/10.8, allocations: 41.41 kB / 3.484 GB, free: 17.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/10.8, allocations: 373.4 kB / 3.485 GB, free: 16.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/10.8, allocations: 182.2 kB / 3.485 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.818e-05/10.8, allocations: 12 kB / 3.485 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001754/10.8, allocations: 341.5 kB / 3.485 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005279/10.8, allocations: 199.3 kB / 3.485 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/10.8, allocations: 379 kB / 3.486 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/10.8, allocations: 257.8 kB / 3.486 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/10.8, allocations: 0 / 3.486 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002566/10.8, allocations: 0.777 MB / 3.487 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00104/10.8, allocations: 2.178 MB / 3.489 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/10.8, allocations: 11.94 kB / 3.489 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/10.81, allocations: 377.3 kB / 3.489 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/10.81, allocations: 145.8 kB / 3.489 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/10.81, allocations: 0.8585 MB / 3.49 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/10.81, allocations: 94.92 kB / 3.49 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/10.81, allocations: 39.64 kB / 3.49 GB, free: 11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/10.81, allocations: 4 kB / 3.49 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/10.81, allocations: 0.7728 MB / 3.491 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/10.81, allocations: 4 kB / 3.491 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001841/10.82, allocations: 283 kB / 3.491 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/10.82, allocations: 147.3 kB / 3.492 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/10.82, allocations: 0.8262 MB / 3.492 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/10.82, allocations: 89.25 kB / 3.492 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/10.82, allocations: 31.28 kB / 3.492 GB, free: 9.051 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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0003296/10.82, allocations: 148.8 kB / 3.493 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/10.82, allocations: 63.25 kB / 3.493 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/10.83, allocations: 2.852 MB / 3.495 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.801e-05/10.83, allocations: 50.08 kB / 3.495 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/10.83, allocations: 0 / 3.495 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/10.83, allocations: 3.891 kB / 3.495 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008726/10.84, allocations: 3.974 MB / 3.499 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/10.84, allocations: 0 / 3.499 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/10.84, allocations: 172.5 kB / 3.5 GB, free: 2.555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/10.84, allocations: 67.67 kB / 3.5 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/10.84, allocations: 27.69 kB / 3.5 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/10.84, allocations: 1.176 MB / 3.501 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/10.84, allocations: 0 / 3.501 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4052/11.24, allocations: 2.42 MB / 3.503 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/11.24, allocations: 318.1 kB / 3.503 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/11.24, allocations: 17.86 kB / 3.503 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/11.25, allocations: 71.06 kB / 3.504 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/11.25, allocations: 56.02 kB / 3.504 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/11.25, allocations: 21.91 kB / 3.504 GB, free: 84.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007504/11.25, allocations: 390.7 kB / 3.504 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/11.25, allocations: 1.25 kB / 3.504 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007611/11.25, allocations: 1.388 MB / 3.505 GB, free: 83.98 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * 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.01772/11.27, allocations: 4.576 MB / 3.51 GB, free: 83.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004005/11.28, allocations: 1.274 MB / 3.511 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/11.28, allocations: 0 / 3.511 GB, free: 83.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00203/11.28, allocations: 0.8006 MB / 3.512 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/11.28, allocations: 298.2 kB / 3.512 GB, free: 83.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2617/11.54, allocations: 77.76 MB / 3.588 GB, free: 81.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/11.54, allocations: 1.164 MB / 3.589 GB, free: 80.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/11.55, allocations: 464.5 kB / 3.59 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.382e-06/11.55, allocations: 0 / 3.59 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.169/15.71, allocations: 45.04 MB / 3.634 GB, free: 69.21 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat