Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.245e-05, allocations: 4 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.481/7.59, allocations: 2.507 GB / 2.815 GB, free: 87.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/7.59, allocations: 88.73 kB / 2.816 GB, free: 87.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034/9.624, allocations: 422.2 MB / 3.228 GB, free: 9.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.078e-06/9.624, allocations: 0 / 3.228 GB, free: 9.008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.767e-05/9.624, allocations: 19.94 kB / 3.228 GB, free: 8.988 MB / 442.7 MB 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.008547/9.633, allocations: 1.723 MB / 3.23 GB, free: 7.227 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/9.633, allocations: 8.031 kB / 3.23 GB, free: 7.219 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/9.637, allocations: 330.8 kB / 3.23 GB, free: 6.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/9.639, allocations: 0.5896 MB / 3.231 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/9.639, allocations: 24 kB / 3.231 GB, free: 6.246 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/9.639, allocations: 32 kB / 3.231 GB, free: 6.215 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001606/9.641, allocations: 0.546 MB / 3.231 GB, free: 5.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/9.643, allocations: 0.6666 MB / 3.232 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/9.643, allocations: 11.94 kB / 3.232 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.751e-05/9.643, allocations: 4 kB / 3.232 GB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.646e-05/9.643, allocations: 25.3 kB / 3.232 GB, free: 4.902 MB / 442.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.4559/10.1, allocations: 36.68 MB / 3.268 GB, free: 28.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009924/10.1, allocations: 358.6 kB / 3.268 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/10.1, allocations: 194 kB / 3.268 GB, free: 28.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05877/10.16, allocations: 20.27 MB / 3.288 GB, free: 30.92 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/10.16, allocations: 37.64 kB / 3.288 GB, free: 30.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 3.527e-06/10.16, allocations: 0 / 3.288 GB, free: 30.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.03886/10.2, allocations: 3.307 MB / 3.291 GB, free: 30.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.033e-05/10.2, allocations: 113.5 kB / 3.291 GB, free: 30.27 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007264/10.2, allocations: 404.3 kB / 3.292 GB, free: 30.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/10.2, allocations: 25.7 kB / 3.292 GB, free: 30.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/10.2, allocations: 358 kB / 3.292 GB, free: 29.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/10.2, allocations: 192 kB / 3.292 GB, free: 29.86 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-05/10.2, allocations: 0 / 3.292 GB, free: 29.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/10.2, allocations: 371.8 kB / 3.293 GB, free: 29.54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/10.2, allocations: 278.5 kB / 3.293 GB, free: 29.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/10.2, allocations: 481.1 kB / 3.293 GB, free: 29.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/10.2, allocations: 476.9 kB / 3.294 GB, free: 29.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/10.2, allocations: 3.906 kB / 3.294 GB, free: 29.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004871/10.21, allocations: 1.14 MB / 3.295 GB, free: 29.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009592/10.21, allocations: 2.443 MB / 3.297 GB, free: 26.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/10.21, allocations: 6.344 kB / 3.297 GB, free: 26.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003916/10.21, allocations: 0.5722 MB / 3.298 GB, free: 26.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/10.22, allocations: 167 kB / 3.298 GB, free: 26.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/10.22, allocations: 1.737 MB / 3.3 GB, free: 25.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/10.22, allocations: 108.8 kB / 3.3 GB, free: 25.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/10.22, allocations: 45.55 kB / 3.3 GB, free: 25.54 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/10.22, allocations: 5.875 kB / 3.3 GB, free: 25.54 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005205/10.23, allocations: 0.9669 MB / 3.301 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/10.23, allocations: 6.375 kB / 3.301 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/10.23, allocations: 374 kB / 3.301 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/10.23, allocations: 169.8 kB / 3.301 GB, free: 25.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/10.23, allocations: 1.466 MB / 3.303 GB, free: 24.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/10.23, allocations: 81.77 kB / 3.303 GB, free: 24.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/10.23, allocations: 39.89 kB / 3.303 GB, free: 24.4 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004532/10.24, allocations: 147.3 kB / 3.303 GB, free: 24.29 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004132/10.24, allocations: 0.9132 MB / 3.304 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/10.24, allocations: 68.69 kB / 3.304 GB, free: 24.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/10.25, allocations: 3.362 MB / 3.307 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/10.25, allocations: 40 kB / 3.307 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/10.25, allocations: 3.656 kB / 3.307 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/10.25, allocations: 3.562 kB / 3.307 GB, free: 23.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008329/10.26, allocations: 4.289 MB / 3.312 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/10.26, allocations: 0 / 3.312 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/10.26, allocations: 97.12 kB / 3.312 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004098/10.26, allocations: 1.538 MB / 3.313 GB, free: 23.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001471/10.26, allocations: 18.8 kB / 3.313 GB, free: 23.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/10.26, allocations: 2.615 MB / 3.316 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/10.26, allocations: 3.688 kB / 3.316 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/10.27, allocations: 2.344 MB / 3.318 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007931/10.27, allocations: 307.3 kB / 3.318 GB, free: 21.78 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/10.27, allocations: 4 kB / 3.318 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/10.27, allocations: 86.58 kB / 3.318 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/10.27, allocations: 52.73 kB / 3.318 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.733e-05/10.27, allocations: 30 kB / 3.318 GB, free: 21.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006299/10.27, allocations: 355.4 kB / 3.319 GB, free: 21.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.27, allocations: 7.469 kB / 3.319 GB, free: 21.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007324/10.28, allocations: 1.492 MB / 3.32 GB, free: 21.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01699/10.3, allocations: 4.567 MB / 3.325 GB, free: 20.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004871/10.3, allocations: 1.559 MB / 3.326 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/10.3, allocations: 0 / 3.326 GB, free: 20.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/10.3, allocations: 0.9104 MB / 3.327 GB, free: 20.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/10.31, allocations: 260 kB / 3.327 GB, free: 20.46 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008918/10.32, allocations: 2.378 MB / 3.33 GB, free: 19.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008388/10.32, allocations: 1.13 MB / 3.331 GB, free: 19.19 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002166/10.32, allocations: 0.7439 MB / 3.331 GB, free: 19.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000663/10.32, allocations: 392.2 kB / 3.332 GB, free: 19.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/10.32, allocations: 0 / 3.332 GB, free: 19.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1462/10.47, allocations: 55.48 MB / 3.386 GB, free: 8.184 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/10.47, allocations: 181.1 kB / 3.386 GB, free: 7.996 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.579/16.04, allocations: 0 / 3.386 GB, free: 7.996 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat