Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 270 MB / 283.6 MB, free: 1.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.2e-05, allocations: 0 / 348.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4164, allocations: 61.87 MB / 410.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.488/8.905, allocations: 2.792 GB / 3.193 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/8.905, allocations: 86.83 kB / 3.193 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.502/11.41, allocations: 444.4 MB / 3.627 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.825e-06/11.41, allocations: 0 / 3.627 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001005/11.41, allocations: 23.84 kB / 3.627 GB, free: 57.72 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.01073/11.42, allocations: 1.77 MB / 3.629 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/11.42, allocations: 7.875 kB / 3.629 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003372/11.42, allocations: 101.4 kB / 3.629 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006785/11.43, allocations: 358.3 kB / 3.629 GB, free: 56.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002428/11.43, allocations: 0.5654 MB / 3.63 GB, free: 56.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/11.43, allocations: 52.88 kB / 3.63 GB, free: 56.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/11.43, allocations: 56.23 kB / 3.63 GB, free: 56.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005032/11.43, allocations: 0.9786 MB / 3.631 GB, free: 55.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/11.43, allocations: 3.562 kB / 3.631 GB, free: 55.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001645/11.43, allocations: 27.12 kB / 3.631 GB, free: 55.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.145e-05/11.43, allocations: 26.45 kB / 3.631 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00478/11.44, allocations: 0.8072 MB / 3.632 GB, free: 55.36 MB / 0.5261 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.01185/11.45, allocations: 4.923 MB / 3.636 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/11.45, allocations: 0.6939 MB / 3.637 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008157/11.46, allocations: 227.3 kB / 3.637 GB, free: 50.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08773/11.54, allocations: 24.31 MB / 3.661 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/11.54, allocations: 42.94 kB / 3.661 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 3.496e-06/11.54, allocations: 0 / 3.661 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.005008/11.55, allocations: 1.064 MB / 3.662 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/11.55, allocations: 110.4 kB / 3.662 GB, free: 33.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/11.55, allocations: 447 kB / 3.663 GB, free: 32.91 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/11.55, allocations: 37.7 kB / 3.663 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/11.55, allocations: 334.7 kB / 3.663 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/11.55, allocations: 159.6 kB / 3.663 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/11.55, allocations: 12 kB / 3.663 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000112/11.55, allocations: 369.5 kB / 3.663 GB, free: 32.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004615/11.55, allocations: 175.9 kB / 3.664 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/11.55, allocations: 346.9 kB / 3.664 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005307/11.55, allocations: 220.6 kB / 3.664 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/11.55, allocations: 4 kB / 3.664 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001847/11.55, allocations: 0.6636 MB / 3.665 GB, free: 30.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004393/11.55, allocations: 2.013 MB / 3.667 GB, free: 28.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/11.55, allocations: 11.89 kB / 3.667 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002306/11.56, allocations: 256.2 kB / 3.667 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/11.56, allocations: 142.4 kB / 3.667 GB, free: 28.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/11.56, allocations: 0.7461 MB / 3.668 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/11.56, allocations: 134.3 kB / 3.668 GB, free: 27.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.694e-05/11.56, allocations: 31.8 kB / 3.668 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/11.56, allocations: 7.953 kB / 3.668 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001874/11.56, allocations: 0.5969 MB / 3.669 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/11.56, allocations: 4.5 kB / 3.669 GB, free: 26.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001553/11.56, allocations: 182.8 kB / 3.669 GB, free: 26.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009874/11.57, allocations: 145.1 kB / 3.669 GB, free: 26.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008161/11.57, allocations: 0.6976 MB / 3.67 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/11.57, allocations: 113.4 kB / 3.67 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/11.57, allocations: 35.75 kB / 3.67 GB, free: 25.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002808/11.57, allocations: 139.4 kB / 3.67 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/11.57, allocations: 63.25 kB / 3.67 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004656/11.57, allocations: 3.022 MB / 3.673 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.196e-05/11.57, allocations: 50.28 kB / 3.673 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/11.57, allocations: 3.938 kB / 3.673 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/11.57, allocations: 7.5 kB / 3.673 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/11.58, allocations: 1.473 MB / 3.674 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/11.58, allocations: 4 kB / 3.674 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/11.58, allocations: 95.88 kB / 3.675 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/11.58, allocations: 1.161 MB / 3.676 GB, free: 20.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/11.58, allocations: 19.89 kB / 3.676 GB, free: 20.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/11.58, allocations: 1.481 MB / 3.677 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/11.58, allocations: 0 / 3.677 GB, free: 18.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/11.58, allocations: 1.99 MB / 3.679 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/11.59, allocations: 344.3 kB / 3.679 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/11.59, allocations: 8 kB / 3.679 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/11.59, allocations: 94.81 kB / 3.679 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/11.59, allocations: 47.22 kB / 3.68 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/11.59, allocations: 19.7 kB / 3.68 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007765/11.59, allocations: 455.9 kB / 3.68 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/11.59, allocations: 0 / 3.68 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006895/11.59, allocations: 1.434 MB / 3.681 GB, free: 14.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01457/11.61, allocations: 3.877 MB / 3.685 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004774/11.61, allocations: 1.167 MB / 3.686 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/11.61, allocations: 0 / 3.686 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/11.62, allocations: 0.7319 MB / 3.687 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/11.62, allocations: 316.4 kB / 3.687 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/11.63, allocations: 2.353 MB / 3.69 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009012/11.63, allocations: 1.17 MB / 3.691 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002547/11.63, allocations: 0.6811 MB / 3.691 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008959/11.63, allocations: 411 kB / 3.692 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of SimCode: time 1.402e-06/11.63, allocations: 0 / 3.692 GB, free: 5.516 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6186/12.25, allocations: 58.28 MB / 3.749 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/12.25, allocations: 239.8 kB / 3.749 GB, free: 58.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.336/17.59, allocations: 0 / 3.749 GB, free: 58.03 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat