Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.67e-05/3.675e-05, allocations: 4 kB / 323.5 MB, free: 4.211 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.458, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.322/8.78, allocations: 2.787 GB / 3.16 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/8.78, allocations: 85.39 kB / 3.16 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.423/11.2, allocations: 439.7 MB / 3.589 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/11.2, allocations: 0 / 3.589 GB, free: 66.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.293e-05/11.2, allocations: 21.28 kB / 3.589 GB, free: 66.7 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007621/11.21, allocations: 1.764 MB / 3.591 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/11.21, allocations: 14 kB / 3.591 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/11.21, allocations: 99.36 kB / 3.591 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003919/11.22, allocations: 351.4 kB / 3.592 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/11.22, allocations: 0.5698 MB / 3.592 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/11.22, allocations: 54.33 kB / 3.592 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/11.22, allocations: 58.38 kB / 3.592 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/11.22, allocations: 0.9755 MB / 3.593 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/11.22, allocations: 6.969 kB / 3.593 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/11.22, allocations: 31.33 kB / 3.593 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/11.22, allocations: 22.44 kB / 3.593 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/11.22, allocations: 0.8058 MB / 3.594 GB, free: 64.86 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.008007/11.23, allocations: 4.929 MB / 3.599 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/11.23, allocations: 0.7032 MB / 3.6 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/11.24, allocations: 226.1 kB / 3.6 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08649/11.32, allocations: 24.29 MB / 3.624 GB, free: 45.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/11.32, allocations: 46.77 kB / 3.624 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 4.769e-06/11.32, allocations: 0 / 3.624 GB, free: 45.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.007181/11.33, allocations: 1.066 MB / 3.625 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/11.33, allocations: 110 kB / 3.625 GB, free: 44.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/11.33, allocations: 453.9 kB / 3.625 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/11.33, allocations: 36.8 kB / 3.625 GB, free: 44.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/11.33, allocations: 344.1 kB / 3.625 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/11.33, allocations: 154.6 kB / 3.626 GB, free: 43.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/11.33, allocations: 11.78 kB / 3.626 GB, free: 43.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001478/11.33, allocations: 371.9 kB / 3.626 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/11.33, allocations: 176.6 kB / 3.626 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/11.33, allocations: 351 kB / 3.627 GB, free: 43.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/11.33, allocations: 212.6 kB / 3.627 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/11.33, allocations: 2.938 kB / 3.627 GB, free: 43.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00253/11.34, allocations: 0.6674 MB / 3.627 GB, free: 42.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005526/11.34, allocations: 2.011 MB / 3.629 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/11.34, allocations: 3.406 kB / 3.629 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/11.34, allocations: 256.3 kB / 3.63 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/11.34, allocations: 141.3 kB / 3.63 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/11.34, allocations: 0.754 MB / 3.63 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/11.35, allocations: 128 kB / 3.631 GB, free: 39.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/11.35, allocations: 37.86 kB / 3.631 GB, free: 39.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/11.35, allocations: 3.062 kB / 3.631 GB, free: 39.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/11.35, allocations: 0.5928 MB / 3.631 GB, free: 39.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/11.35, allocations: 8.281 kB / 3.631 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/11.35, allocations: 181.5 kB / 3.631 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/11.35, allocations: 142.6 kB / 3.632 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/11.35, allocations: 0.7103 MB / 3.632 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/11.35, allocations: 108.9 kB / 3.632 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/11.35, allocations: 35.27 kB / 3.632 GB, free: 39.05 MB / 0.5105 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.0003294/11.35, allocations: 136.5 kB / 3.632 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/11.35, allocations: 63.59 kB / 3.633 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006255/11.36, allocations: 3.03 MB / 3.635 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.42e-05/11.36, allocations: 49.86 kB / 3.636 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/11.36, allocations: 0 / 3.636 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/11.36, allocations: 3.469 kB / 3.636 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/11.36, allocations: 1.467 MB / 3.637 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/11.36, allocations: 4 kB / 3.637 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/11.36, allocations: 103.7 kB / 3.637 GB, free: 36.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003235/11.37, allocations: 1.163 MB / 3.638 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/11.37, allocations: 11.88 kB / 3.638 GB, free: 36.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/11.37, allocations: 1.491 MB / 3.64 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/11.37, allocations: 3.719 kB / 3.64 GB, free: 35.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/11.37, allocations: 1.989 MB / 3.642 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/11.37, allocations: 336.9 kB / 3.642 GB, free: 34.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/11.37, allocations: 15.41 kB / 3.642 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009905/11.37, allocations: 89.17 kB / 3.642 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/11.37, allocations: 54.12 kB / 3.642 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/11.38, allocations: 20.84 kB / 3.642 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007987/11.38, allocations: 453.5 kB / 3.643 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/11.38, allocations: 0 / 3.643 GB, free: 33.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007193/11.38, allocations: 1.429 MB / 3.644 GB, free: 33.57 MB / 0.5105 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.01397/11.4, allocations: 3.863 MB / 3.648 GB, free: 31.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00397/11.4, allocations: 1.162 MB / 3.649 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/11.4, allocations: 0 / 3.649 GB, free: 31.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/11.4, allocations: 0.7395 MB / 3.65 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/11.41, allocations: 311 kB / 3.65 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008125/11.41, allocations: 2.36 MB / 3.652 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/11.41, allocations: 1.166 MB / 3.653 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001964/11.42, allocations: 0.6887 MB / 3.654 GB, free: 28.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/11.42, allocations: 408.7 kB / 3.654 GB, free: 27.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/11.42, allocations: 0 / 3.654 GB, free: 27.92 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5595/11.98, allocations: 58.19 MB / 3.711 GB, free: 79.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003025/11.98, allocations: 236.7 kB / 3.711 GB, free: 79.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.358/17.34, allocations: 0 / 3.711 GB, free: 79.43 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat