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.365/2.365, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.684e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3886, allocations: 54.86 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.886/8.275, allocations: 2.613 GB / 2.964 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/8.275, allocations: 85.17 kB / 2.964 GB, free: 115.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.206/10.48, allocations: 436.9 MB / 3.391 GB, free: 51.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.893e-06/10.48, allocations: 0 / 3.391 GB, free: 51.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.312e-05/10.48, allocations: 21.14 kB / 3.391 GB, free: 51.96 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.007957/10.49, allocations: 1.75 MB / 3.392 GB, free: 51.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/10.49, allocations: 10.91 kB / 3.392 GB, free: 51.03 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002566/10.49, allocations: 98.95 kB / 3.393 GB, free: 50.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/10.49, allocations: 330.5 kB / 3.393 GB, free: 50.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001845/10.5, allocations: 0.585 MB / 3.393 GB, free: 50.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.529e-05/10.5, allocations: 44.59 kB / 3.394 GB, free: 50.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/10.5, allocations: 62.03 kB / 3.394 GB, free: 50.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003444/10.5, allocations: 0.9652 MB / 3.395 GB, free: 50.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/10.5, allocations: 3.938 kB / 3.395 GB, free: 50.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/10.5, allocations: 25.91 kB / 3.395 GB, free: 50.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/10.5, allocations: 23.58 kB / 3.395 GB, free: 50.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/10.5, allocations: 0.8043 MB / 3.395 GB, free: 49.79 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.006786/10.51, allocations: 4.33 MB / 3.4 GB, free: 46.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/10.51, allocations: 0.6921 MB / 3.4 GB, free: 45.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/10.51, allocations: 220.8 kB / 3.4 GB, free: 45.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2874/10.8, allocations: 79.46 MB / 3.478 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.789e-05/10.8, allocations: 39 kB / 3.478 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.847e-06/10.8, allocations: 0 / 3.478 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.007022/10.81, allocations: 1.818 MB / 3.48 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/10.81, allocations: 111.2 kB / 3.48 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/10.81, allocations: 417.3 kB / 3.48 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.678e-05/10.81, allocations: 33.7 kB / 3.48 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/10.81, allocations: 340.8 kB / 3.481 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/10.81, allocations: 181.5 kB / 3.481 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/10.81, allocations: 16 kB / 3.481 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001709/10.81, allocations: 369.8 kB / 3.481 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/10.81, allocations: 189.1 kB / 3.481 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006016/10.81, allocations: 388.4 kB / 3.482 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/10.81, allocations: 249.5 kB / 3.482 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/10.81, allocations: 0 / 3.482 GB, free: 3.992 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002603/10.81, allocations: 0.8427 MB / 3.483 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001064/10.81, allocations: 2.346 MB / 3.485 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/10.81, allocations: 8 kB / 3.485 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002913/10.82, allocations: 393.5 kB / 3.486 GB, free: 16.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009611/10.82, allocations: 140.7 kB / 3.486 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/10.82, allocations: 0.867 MB / 3.487 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/10.82, allocations: 101.4 kB / 3.487 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/10.82, allocations: 39.84 kB / 3.487 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/10.82, allocations: 7.953 kB / 3.487 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002139/10.82, allocations: 0.7103 MB / 3.487 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/10.82, allocations: 8 kB / 3.487 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/10.83, allocations: 284.7 kB / 3.488 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009259/10.83, allocations: 154.9 kB / 3.488 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/10.83, allocations: 0.8163 MB / 3.489 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/10.83, allocations: 86.89 kB / 3.489 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/10.83, allocations: 35.84 kB / 3.489 GB, free: 13.39 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.0003072/10.83, allocations: 144.8 kB / 3.489 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/10.83, allocations: 59.25 kB / 3.489 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005184/10.83, allocations: 2.654 MB / 3.492 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.536e-05/10.83, allocations: 37.81 kB / 3.492 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/10.83, allocations: 4 kB / 3.492 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/10.83, allocations: 3.797 kB / 3.492 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006773/10.84, allocations: 3.655 MB / 3.495 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/10.84, allocations: 3.688 kB / 3.495 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/10.84, allocations: 152.9 kB / 3.495 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/10.84, allocations: 95.19 kB / 3.495 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/10.84, allocations: 19.23 kB / 3.495 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/10.84, allocations: 1.131 MB / 3.496 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/10.84, allocations: 0 / 3.496 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/10.85, allocations: 2.089 MB / 3.499 GB, free: 4.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007654/10.85, allocations: 339.8 kB / 3.499 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/10.85, allocations: 12 kB / 3.499 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/10.85, allocations: 80.83 kB / 3.499 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/10.85, allocations: 49.19 kB / 3.499 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.152e-05/10.85, allocations: 23.66 kB / 3.499 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009119/10.85, allocations: 441.4 kB / 3.499 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/10.85, allocations: 0 / 3.499 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007694/10.86, allocations: 1.395 MB / 3.501 GB, free: 1.988 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.3978/11.26, allocations: 4.406 MB / 3.505 GB, free: 83.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003862/11.26, allocations: 1.226 MB / 3.506 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/11.26, allocations: 0 / 3.506 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/11.26, allocations: 0.677 MB / 3.507 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/11.27, allocations: 293.2 kB / 3.507 GB, free: 83.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3492/11.61, allocations: 124.2 MB / 3.628 GB, free: 70.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/11.62, allocations: 1.153 MB / 3.63 GB, free: 69.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001899/11.62, allocations: 0.6526 MB / 3.63 GB, free: 69.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/11.62, allocations: 445.6 kB / 3.631 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/11.62, allocations: 4 kB / 3.631 GB, free: 69.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1383/11.76, allocations: 57.95 MB / 3.687 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002964/11.76, allocations: 236.5 kB / 3.688 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.094/16.85, allocations: 0 / 3.688 GB, free: 21.64 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