Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.782e-05/4.785e-05, allocations: 4 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4302, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.551/8.981, allocations: 2.782 GB / 3.155 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/8.982, allocations: 82.02 kB / 3.155 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.242/11.22, allocations: 439.4 MB / 3.584 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.445e-06/11.22, allocations: 0 / 3.584 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.433e-05/11.22, allocations: 18.22 kB / 3.584 GB, free: 67.04 MB / 0.5105 GB 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.007983/11.23, allocations: 1.755 MB / 3.586 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/11.23, allocations: 7.75 kB / 3.586 GB, free: 66.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002083/11.23, allocations: 92.67 kB / 3.586 GB, free: 66.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/11.24, allocations: 333.7 kB / 3.586 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/11.24, allocations: 0.5736 MB / 3.587 GB, free: 65.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/11.24, allocations: 44.88 kB / 3.587 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/11.24, allocations: 55.75 kB / 3.587 GB, free: 65.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/11.24, allocations: 0.9623 MB / 3.588 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/11.24, allocations: 352 / 3.588 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/11.24, allocations: 31.95 kB / 3.588 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-05/11.24, allocations: 22 kB / 3.588 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/11.24, allocations: 0.7951 MB / 3.589 GB, free: 65.67 MB / 0.5105 GB 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.007465/11.25, allocations: 4.476 MB / 3.593 GB, free: 62.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/11.25, allocations: 0.6981 MB / 3.594 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005565/11.26, allocations: 233.2 kB / 3.594 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1759/11.43, allocations: 55.74 MB / 3.648 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/11.43, allocations: 38.59 kB / 3.648 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.777e-06/11.43, allocations: 3.656 kB / 3.648 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007315/11.44, allocations: 1.863 MB / 3.65 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/11.44, allocations: 111.2 kB / 3.65 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/11.44, allocations: 464.9 kB / 3.651 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/11.44, allocations: 33.7 kB / 3.651 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/11.44, allocations: 329.3 kB / 3.651 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/11.44, allocations: 173.8 kB / 3.651 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/11.44, allocations: 11.16 kB / 3.651 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001198/11.44, allocations: 373.1 kB / 3.652 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/11.44, allocations: 188.2 kB / 3.652 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006003/11.44, allocations: 356.6 kB / 3.652 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005788/11.44, allocations: 231.3 kB / 3.652 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/11.44, allocations: 4 kB / 3.652 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002576/11.44, allocations: 0.8084 MB / 3.653 GB, free: 23.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001353/11.45, allocations: 1.837 MB / 3.655 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/11.45, allocations: 7.625 kB / 3.655 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/11.45, allocations: 401.2 kB / 3.655 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009652/11.45, allocations: 132 kB / 3.656 GB, free: 37.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/11.45, allocations: 0.8746 MB / 3.656 GB, free: 36.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/11.45, allocations: 100.8 kB / 3.657 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/11.45, allocations: 36.95 kB / 3.657 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/11.45, allocations: 3.812 kB / 3.657 GB, free: 36.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002147/11.45, allocations: 0.6819 MB / 3.657 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/11.45, allocations: 3.969 kB / 3.657 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/11.46, allocations: 307.3 kB / 3.658 GB, free: 36.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/11.46, allocations: 138.6 kB / 3.658 GB, free: 36.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/11.46, allocations: 0.8375 MB / 3.658 GB, free: 35.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/11.46, allocations: 87.3 kB / 3.659 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/11.46, allocations: 30.39 kB / 3.659 GB, free: 35.65 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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.0002914/11.46, allocations: 138.7 kB / 3.659 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/11.46, allocations: 75.11 kB / 3.659 GB, free: 35.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004105/11.47, allocations: 2.652 MB / 3.661 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/11.47, allocations: 42.98 kB / 3.661 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/11.47, allocations: 0 / 3.661 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/11.47, allocations: 7.047 kB / 3.661 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005743/11.47, allocations: 3.721 MB / 3.665 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/11.47, allocations: 0 / 3.665 GB, free: 29.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/11.47, allocations: 149.8 kB / 3.665 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/11.47, allocations: 103.4 kB / 3.665 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.524e-05/11.47, allocations: 15.94 kB / 3.665 GB, free: 29.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/11.47, allocations: 1.135 MB / 3.666 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/11.47, allocations: 4.062 kB / 3.666 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003516/11.48, allocations: 2.095 MB / 3.668 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007034/11.48, allocations: 366.8 kB / 3.669 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001882/11.48, allocations: 12 kB / 3.669 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/11.48, allocations: 67.11 kB / 3.669 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/11.48, allocations: 58.97 kB / 3.669 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/11.48, allocations: 23.66 kB / 3.669 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009954/11.48, allocations: 0.5523 MB / 3.67 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/11.48, allocations: 0 / 3.67 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00684/11.49, allocations: 1.421 MB / 3.671 GB, free: 24.07 MB / 0.5261 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.01422/11.5, allocations: 4.304 MB / 3.675 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003591/11.51, allocations: 1.192 MB / 3.676 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/11.51, allocations: 4 kB / 3.676 GB, free: 19.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/11.51, allocations: 0.6771 MB / 3.677 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/11.51, allocations: 337.6 kB / 3.677 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/11.52, allocations: 2.42 MB / 3.68 GB, free: 16.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/11.52, allocations: 1.15 MB / 3.681 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001859/11.52, allocations: 0.6931 MB / 3.681 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/11.52, allocations: 443.1 kB / 3.682 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/11.52, allocations: 0 / 3.682 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5541/12.08, allocations: 59.66 MB / 3.74 GB, free: 67.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/12.08, allocations: 235.2 kB / 3.74 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.319/17.4, allocations: 0 / 3.74 GB, free: 67.53 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat does not exist to compare? outputFormat=mat