Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.807e-05, allocations: 8 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1348, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.685/8.82, allocations: 2.792 GB / 3.193 GB, free: 53.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/8.82, allocations: 89.45 kB / 3.193 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.696/11.52, allocations: 444.4 MB / 3.627 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/11.52, allocations: 0 / 3.627 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.386e-05/11.52, allocations: 17.88 kB / 3.627 GB, free: 29.85 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.007774/11.52, allocations: 1.766 MB / 3.629 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/11.52, allocations: 16.03 kB / 3.629 GB, free: 28.02 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/11.52, allocations: 102.5 kB / 3.629 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/11.53, allocations: 349.7 kB / 3.629 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/11.53, allocations: 0.5695 MB / 3.63 GB, free: 26.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.653e-05/11.53, allocations: 45.31 kB / 3.63 GB, free: 26.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/11.53, allocations: 71.23 kB / 3.63 GB, free: 26.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/11.53, allocations: 0.9749 MB / 3.631 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/11.53, allocations: 7.938 kB / 3.631 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/11.53, allocations: 24 kB / 3.631 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.892e-05/11.53, allocations: 25.27 kB / 3.631 GB, free: 25.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/11.54, allocations: 0.8066 MB / 3.632 GB, free: 24.96 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.007221/11.54, allocations: 4.917 MB / 3.636 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/11.55, allocations: 0.6947 MB / 3.637 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/11.55, allocations: 233.6 kB / 3.637 GB, free: 18.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5194/12.07, allocations: 24.27 MB / 3.661 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/12.07, allocations: 41.5 kB / 3.661 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 3.306e-06/12.07, allocations: 0 / 3.661 GB, free: 54.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.005347/12.07, allocations: 1.066 MB / 3.662 GB, free: 54.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/12.07, allocations: 108.7 kB / 3.662 GB, free: 54.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/12.07, allocations: 453.8 kB / 3.663 GB, free: 54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.933e-05/12.07, allocations: 35.39 kB / 3.663 GB, free: 53.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/12.07, allocations: 334.5 kB / 3.663 GB, free: 53.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/12.07, allocations: 161.5 kB / 3.663 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/12.07, allocations: 15.53 kB / 3.663 GB, free: 53.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001255/12.07, allocations: 365.4 kB / 3.663 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/12.07, allocations: 171.7 kB / 3.664 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/12.07, allocations: 353 kB / 3.664 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/12.07, allocations: 219.8 kB / 3.664 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/12.07, allocations: 5.078 kB / 3.664 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002/12.08, allocations: 0.6651 MB / 3.665 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004105/12.08, allocations: 2.006 MB / 3.667 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/12.08, allocations: 5.312 kB / 3.667 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/12.08, allocations: 266.1 kB / 3.667 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/12.08, allocations: 141.2 kB / 3.667 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/12.08, allocations: 0.7543 MB / 3.668 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/12.08, allocations: 133.2 kB / 3.668 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.874e-05/12.08, allocations: 38.69 kB / 3.668 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/12.08, allocations: 4.375 kB / 3.668 GB, free: 50.52 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001985/12.09, allocations: 0.5913 MB / 3.669 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/12.09, allocations: 9.594 kB / 3.669 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001559/12.09, allocations: 173 kB / 3.669 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/12.09, allocations: 148.6 kB / 3.669 GB, free: 50.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000829/12.09, allocations: 0.7047 MB / 3.67 GB, free: 49.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/12.09, allocations: 106 kB / 3.67 GB, free: 49.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.121e-05/12.09, allocations: 35.08 kB / 3.67 GB, free: 49.96 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.0002479/12.09, allocations: 143 kB / 3.67 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/12.09, allocations: 67.22 kB / 3.67 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/12.1, allocations: 3.028 MB / 3.673 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.112e-05/12.1, allocations: 42.86 kB / 3.673 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/12.1, allocations: 6.109 kB / 3.673 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.734e-05/12.1, allocations: 3.422 kB / 3.673 GB, free: 49.54 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/12.1, allocations: 1.47 MB / 3.674 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/12.1, allocations: 0.8125 kB / 3.674 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007543/12.1, allocations: 99.09 kB / 3.675 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003385/12.1, allocations: 1.165 MB / 3.676 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.947e-05/12.1, allocations: 14.12 kB / 3.676 GB, free: 49.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/12.1, allocations: 1.479 MB / 3.677 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/12.1, allocations: 1.75 kB / 3.677 GB, free: 48.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/12.11, allocations: 2 MB / 3.679 GB, free: 48.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006846/12.11, allocations: 332.5 kB / 3.679 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/12.11, allocations: 13.95 kB / 3.679 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/12.11, allocations: 89.97 kB / 3.679 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/12.11, allocations: 49.42 kB / 3.68 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/12.11, allocations: 25.3 kB / 3.68 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008782/12.11, allocations: 454.9 kB / 3.68 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.61e-07/12.11, allocations: 0 / 3.68 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007086/12.12, allocations: 1.433 MB / 3.681 GB, free: 48.11 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.0145/12.13, allocations: 3.887 MB / 3.685 GB, free: 47.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005505/12.14, allocations: 1.162 MB / 3.686 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/12.14, allocations: 0 / 3.686 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/12.14, allocations: 0.7378 MB / 3.687 GB, free: 47.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/12.15, allocations: 315.5 kB / 3.687 GB, free: 47.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008798/12.15, allocations: 2.356 MB / 3.69 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/12.16, allocations: 1.165 MB / 3.691 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001914/12.16, allocations: 0.6782 MB / 3.691 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006339/12.16, allocations: 416.2 kB / 3.692 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of SimCode: time 1.192e-06/12.16, allocations: 0 / 3.692 GB, free: 45.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/12.31, allocations: 58.27 MB / 3.749 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/12.31, allocations: 250.9 kB / 3.749 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.929/18.24, allocations: 0 / 3.749 GB, free: 43.48 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat