Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.227/2.227, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.643e-05, allocations: 4 kB / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4145, allocations: 54.85 MB / 359.9 MB, free: 2.758 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.701/8.115, allocations: 2.613 GB / 2.964 GB, free: 115.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/8.115, allocations: 90.89 kB / 2.964 GB, free: 115.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.157/10.27, allocations: 436.9 MB / 3.391 GB, free: 52.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/10.27, allocations: 0 / 3.391 GB, free: 52.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.877e-05/10.27, allocations: 22.31 kB / 3.391 GB, free: 52.31 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.007972/10.28, allocations: 1.745 MB / 3.393 GB, free: 51.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/10.28, allocations: 9.812 kB / 3.393 GB, free: 51.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/10.28, allocations: 95.19 kB / 3.393 GB, free: 51.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/10.28, allocations: 336.9 kB / 3.393 GB, free: 51.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/10.29, allocations: 0.5818 MB / 3.394 GB, free: 50.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/10.29, allocations: 46.22 kB / 3.394 GB, free: 50.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/10.29, allocations: 58.59 kB / 3.394 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/10.29, allocations: 0.9585 MB / 3.395 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/10.29, allocations: 3.469 kB / 3.395 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/10.29, allocations: 27.59 kB / 3.395 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/10.29, allocations: 27.62 kB / 3.395 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/10.29, allocations: 0.7866 MB / 3.395 GB, free: 50.18 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.006437/10.3, allocations: 4.332 MB / 3.4 GB, free: 46.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/10.3, allocations: 0.6801 MB / 3.4 GB, free: 46.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/10.3, allocations: 221.3 kB / 3.4 GB, free: 46.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3077/10.61, allocations: 79.46 MB / 3.478 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/10.61, allocations: 39 kB / 3.478 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.146e-06/10.61, allocations: 4 kB / 3.478 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.00725/10.62, allocations: 1.824 MB / 3.48 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/10.62, allocations: 115.2 kB / 3.48 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006997/10.62, allocations: 420.1 kB / 3.48 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/10.62, allocations: 33.7 kB / 3.48 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/10.62, allocations: 336.4 kB / 3.481 GB, free: 5.855 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/10.62, allocations: 183.9 kB / 3.481 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.286e-05/10.62, allocations: 12 kB / 3.481 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002013/10.62, allocations: 367.7 kB / 3.481 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/10.62, allocations: 192.1 kB / 3.481 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/10.62, allocations: 385 kB / 3.482 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005955/10.62, allocations: 240.8 kB / 3.482 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/10.62, allocations: 4 kB / 3.482 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002632/10.62, allocations: 0.8191 MB / 3.483 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/10.62, allocations: 2.361 MB / 3.485 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/10.62, allocations: 7.625 kB / 3.485 GB, free: 17.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002976/10.63, allocations: 386.2 kB / 3.486 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/10.63, allocations: 144.5 kB / 3.486 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/10.63, allocations: 0.8663 MB / 3.487 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/10.63, allocations: 95.48 kB / 3.487 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-05/10.63, allocations: 43.69 kB / 3.487 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/10.63, allocations: 4 kB / 3.487 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002111/10.63, allocations: 0.6948 MB / 3.487 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/10.63, allocations: 12.42 kB / 3.487 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/10.64, allocations: 283 kB / 3.488 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/10.64, allocations: 152.3 kB / 3.488 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/10.64, allocations: 0.8135 MB / 3.489 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/10.64, allocations: 85.53 kB / 3.489 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.899e-05/10.64, allocations: 35.66 kB / 3.489 GB, free: 13.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003098/10.64, allocations: 149.7 kB / 3.489 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/10.64, allocations: 59.25 kB / 3.489 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/10.65, allocations: 2.657 MB / 3.491 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.845e-05/10.65, allocations: 42.17 kB / 3.492 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/10.65, allocations: 0 / 3.492 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/10.65, allocations: 3.891 kB / 3.492 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006695/10.65, allocations: 3.657 MB / 3.495 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/10.65, allocations: 0 / 3.495 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/10.65, allocations: 154.2 kB / 3.495 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005478/10.65, allocations: 86.17 kB / 3.495 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/10.65, allocations: 19.38 kB / 3.495 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/10.65, allocations: 1.134 MB / 3.496 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/10.65, allocations: 0 / 3.496 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/10.66, allocations: 2.082 MB / 3.498 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007297/10.66, allocations: 344.2 kB / 3.499 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/10.66, allocations: 12 kB / 3.499 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009136/10.66, allocations: 71 kB / 3.499 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/10.66, allocations: 51.12 kB / 3.499 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/10.66, allocations: 23.84 kB / 3.499 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009099/10.66, allocations: 448.6 kB / 3.499 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/10.66, allocations: 3.938 kB / 3.499 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007343/10.67, allocations: 1.393 MB / 3.501 GB, free: 2.535 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.3804/11.05, allocations: 4.347 MB / 3.505 GB, free: 84.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003735/11.05, allocations: 1.195 MB / 3.506 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/11.05, allocations: 0 / 3.506 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/11.06, allocations: 0.6782 MB / 3.507 GB, free: 84.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/11.06, allocations: 289.9 kB / 3.507 GB, free: 84.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3926/11.45, allocations: 124.2 MB / 3.628 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/11.45, allocations: 1.148 MB / 3.629 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00191/11.45, allocations: 0.6436 MB / 3.63 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007374/11.45, allocations: 447.3 kB / 3.631 GB, free: 70.15 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/11.45, allocations: 0 / 3.631 GB, free: 70.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1351/11.59, allocations: 58.04 MB / 3.687 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/11.59, allocations: 239.1 kB / 3.687 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.998/16.59, allocations: 8.062 kB / 3.687 GB, free: 22.38 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat