Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.075e-05, allocations: 4 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3588, allocations: 54.87 MB / 354.4 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.451/7.81, allocations: 2.612 GB / 2.958 GB, free: 116.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/7.81, allocations: 86.19 kB / 2.958 GB, free: 116.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.167/9.977, allocations: 432.6 MB / 3.381 GB, free: 57.67 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/9.977, allocations: 0 / 3.381 GB, free: 57.67 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.514e-05/9.977, allocations: 18.28 kB / 3.381 GB, free: 57.66 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.008989/9.986, allocations: 1.758 MB / 3.382 GB, free: 56.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/9.986, allocations: 11.34 kB / 3.382 GB, free: 56.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004955/9.991, allocations: 332.2 kB / 3.383 GB, free: 56.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001936/9.993, allocations: 0.5783 MB / 3.383 GB, free: 56.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.576e-05/9.993, allocations: 30.45 kB / 3.383 GB, free: 56.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/9.994, allocations: 36.16 kB / 3.383 GB, free: 56.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001831/9.995, allocations: 0.537 MB / 3.384 GB, free: 56.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/9.997, allocations: 0.6625 MB / 3.384 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/9.997, allocations: 2.062 kB / 3.384 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/9.997, allocations: 4.531 kB / 3.384 GB, free: 56.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.162e-05/9.998, allocations: 20.56 kB / 3.384 GB, free: 56.31 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.01487/10.01, allocations: 5.762 MB / 3.39 GB, free: 52.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001889/10.01, allocations: 463.3 kB / 3.391 GB, free: 52.23 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/10.02, allocations: 224.2 kB / 3.391 GB, free: 52.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2995/10.31, allocations: 81.84 MB / 3.471 GB, free: 29.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/10.31, allocations: 37.09 kB / 3.471 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/10.31, allocations: 0 / 3.471 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.009005/10.32, allocations: 1.794 MB / 3.472 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/10.32, allocations: 115.2 kB / 3.473 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/10.33, allocations: 385.8 kB / 3.473 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002776/10.33, allocations: 25.7 kB / 3.473 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/10.33, allocations: 339 kB / 3.473 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/10.33, allocations: 175.5 kB / 3.473 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/10.33, allocations: 3.656 kB / 3.473 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002791/10.33, allocations: 364.3 kB / 3.474 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/10.33, allocations: 192.3 kB / 3.474 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005564/10.33, allocations: 384 kB / 3.474 GB, free: 27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/10.33, allocations: 330 kB / 3.475 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/10.33, allocations: 3.953 kB / 3.475 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003205/10.33, allocations: 0.8427 MB / 3.476 GB, free: 26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008955/10.33, allocations: 2.175 MB / 3.478 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/10.33, allocations: 4 kB / 3.478 GB, free: 23.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/10.34, allocations: 296.6 kB / 3.478 GB, free: 23.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009973/10.34, allocations: 150.2 kB / 3.478 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/10.34, allocations: 0.937 MB / 3.479 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/10.34, allocations: 82.73 kB / 3.479 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/10.34, allocations: 42.98 kB / 3.479 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/10.34, allocations: 7.594 kB / 3.479 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002663/10.34, allocations: 0.7033 MB / 3.48 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/10.34, allocations: 8 kB / 3.48 GB, free: 21.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/10.34, allocations: 269.7 kB / 3.48 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/10.35, allocations: 152.6 kB / 3.48 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/10.35, allocations: 0.8588 MB / 3.481 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/10.35, allocations: 78.98 kB / 3.481 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.882e-05/10.35, allocations: 43.83 kB / 3.481 GB, free: 20.4 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.0002861/10.35, allocations: 116.9 kB / 3.481 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002264/10.35, allocations: 0.5722 MB / 3.482 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/10.35, allocations: 59.25 kB / 3.482 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/10.36, allocations: 2.634 MB / 3.484 GB, free: 17.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/10.36, allocations: 38.66 kB / 3.484 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/10.36, allocations: 3.938 kB / 3.484 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/10.36, allocations: 3.469 kB / 3.484 GB, free: 17.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/10.36, allocations: 3.584 MB / 3.488 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/10.36, allocations: 4 kB / 3.488 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/10.36, allocations: 171.5 kB / 3.488 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003237/10.36, allocations: 66.78 kB / 3.488 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/10.36, allocations: 11.28 kB / 3.488 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009825/10.36, allocations: 1.198 MB / 3.489 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/10.36, allocations: 192 / 3.489 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003998/10.37, allocations: 2.27 MB / 3.492 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005914/10.37, allocations: 319.5 kB / 3.492 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/10.37, allocations: 0 / 3.492 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/10.37, allocations: 58.86 kB / 3.492 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/10.37, allocations: 55.81 kB / 3.492 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/10.37, allocations: 23.84 kB / 3.492 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005725/10.37, allocations: 367.2 kB / 3.492 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/10.37, allocations: 0 / 3.492 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008224/10.38, allocations: 1.342 MB / 3.494 GB, free: 8.598 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.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 (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.02184/10.4, allocations: 4.539 MB / 3.498 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003759/10.41, allocations: 1.231 MB / 3.499 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/10.41, allocations: 192 / 3.499 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/10.41, allocations: 0.7502 MB / 3.5 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/10.41, allocations: 281.4 kB / 3.5 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6637/11.07, allocations: 55.92 MB / 3.555 GB, free: 85.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/11.07, allocations: 1.152 MB / 3.556 GB, free: 84.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001972/11.08, allocations: 0.6793 MB / 3.557 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/11.08, allocations: 427 kB / 3.557 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.435e-06/11.08, allocations: 1.203 kB / 3.557 GB, free: 84.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/11.22, allocations: 50.37 MB / 3.606 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/11.22, allocations: 199.4 kB / 3.607 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.031/16.25, allocations: 4 kB / 3.607 GB, free: 81.33 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat