Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.17e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3838, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.432/7.816, allocations: 2.617 GB / 2.963 GB, free: 114 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/7.816, allocations: 86.72 kB / 2.963 GB, free: 114 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.206/10.02, allocations: 432.9 MB / 3.386 GB, free: 57.33 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.156e-06/10.02, allocations: 3.75 kB / 3.386 GB, free: 57.33 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.628e-05/10.02, allocations: 20.78 kB / 3.386 GB, free: 57.33 MB / 490.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.007469/10.03, allocations: 1.767 MB / 3.388 GB, free: 56.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/10.03, allocations: 10.59 kB / 3.388 GB, free: 56.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003781/10.03, allocations: 350 kB / 3.388 GB, free: 56.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/10.04, allocations: 0.5823 MB / 3.388 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/10.04, allocations: 30.2 kB / 3.389 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/10.04, allocations: 31.41 kB / 3.389 GB, free: 56.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001389/10.04, allocations: 0.551 MB / 3.389 GB, free: 56.15 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/10.04, allocations: 0.6642 MB / 3.39 GB, free: 55.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/10.04, allocations: 6.656 kB / 3.39 GB, free: 55.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.852e-05/10.04, allocations: 3.781 kB / 3.39 GB, free: 55.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/10.04, allocations: 22.62 kB / 3.39 GB, free: 55.96 MB / 490.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.1343/10.17, allocations: 36.72 MB / 3.426 GB, free: 36.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009365/10.17, allocations: 361 kB / 3.426 GB, free: 36.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/10.17, allocations: 199.9 kB / 3.426 GB, free: 36.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05681/10.23, allocations: 20.28 MB / 3.446 GB, free: 23.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/10.23, allocations: 44.34 kB / 3.446 GB, free: 23.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.636e-06/10.23, allocations: 0 / 3.446 GB, free: 23.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.03773/10.27, allocations: 3.299 MB / 3.449 GB, free: 22.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/10.27, allocations: 114.4 kB / 3.449 GB, free: 22.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000639/10.27, allocations: 410.1 kB / 3.45 GB, free: 22.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/10.27, allocations: 29.23 kB / 3.45 GB, free: 22.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/10.27, allocations: 362.4 kB / 3.45 GB, free: 22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/10.27, allocations: 187.1 kB / 3.45 GB, free: 21.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/10.27, allocations: 0 / 3.45 GB, free: 21.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/10.27, allocations: 368.1 kB / 3.451 GB, free: 21.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/10.27, allocations: 276.5 kB / 3.451 GB, free: 21.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000734/10.27, allocations: 487.4 kB / 3.451 GB, free: 21.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/10.27, allocations: 486.5 kB / 3.452 GB, free: 21.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/10.27, allocations: 3.438 kB / 3.452 GB, free: 21.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004321/10.28, allocations: 1.134 MB / 3.453 GB, free: 21.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001426/10.28, allocations: 2.443 MB / 3.455 GB, free: 34.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/10.28, allocations: 7.375 kB / 3.455 GB, free: 34.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003803/10.28, allocations: 0.5664 MB / 3.456 GB, free: 34.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/10.29, allocations: 169.1 kB / 3.456 GB, free: 34.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/10.29, allocations: 1.742 MB / 3.458 GB, free: 33.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/10.29, allocations: 107.1 kB / 3.458 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/10.29, allocations: 46.84 kB / 3.458 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/10.29, allocations: 7.719 kB / 3.458 GB, free: 33.53 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004838/10.3, allocations: 0.9572 MB / 3.459 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/10.3, allocations: 7.312 kB / 3.459 GB, free: 33.49 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/10.3, allocations: 368.8 kB / 3.459 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/10.3, allocations: 168.2 kB / 3.459 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/10.3, allocations: 1.47 MB / 3.461 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/10.3, allocations: 90.73 kB / 3.461 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.937e-05/10.3, allocations: 42.7 kB / 3.461 GB, free: 32.38 MB / 0.4948 GB 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.0004118/10.3, allocations: 127.5 kB / 3.461 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003948/10.31, allocations: 0.9094 MB / 3.462 GB, free: 32.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/10.31, allocations: 64.09 kB / 3.462 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007471/10.32, allocations: 3.358 MB / 3.465 GB, free: 31.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/10.32, allocations: 50.08 kB / 3.465 GB, free: 31.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/10.32, allocations: 4 kB / 3.465 GB, free: 31.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.992e-05/10.32, allocations: 3.562 kB / 3.465 GB, free: 31.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/10.32, allocations: 4.296 MB / 3.47 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/10.32, allocations: 0 / 3.47 GB, free: 28.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/10.32, allocations: 92.83 kB / 3.47 GB, free: 28.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003981/10.33, allocations: 1.535 MB / 3.471 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/10.33, allocations: 11.7 kB / 3.471 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/10.33, allocations: 2.624 MB / 3.474 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/10.33, allocations: 0 / 3.474 GB, free: 24.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00449/10.34, allocations: 2.336 MB / 3.476 GB, free: 22.76 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006559/10.34, allocations: 303.5 kB / 3.476 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/10.34, allocations: 0 / 3.476 GB, free: 22.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/10.34, allocations: 88.28 kB / 3.476 GB, free: 22.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/10.34, allocations: 69.38 kB / 3.476 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.759e-05/10.34, allocations: 31.31 kB / 3.476 GB, free: 22.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005913/10.34, allocations: 356.4 kB / 3.477 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/10.34, allocations: 0 / 3.477 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006868/10.35, allocations: 1.514 MB / 3.478 GB, free: 20.56 MB / 0.4948 GB 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.0161/10.36, allocations: 4.576 MB / 3.483 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004558/10.37, allocations: 1.568 MB / 3.484 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/10.37, allocations: 0 / 3.484 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001605/10.37, allocations: 0.9087 MB / 3.485 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/10.37, allocations: 267.5 kB / 3.485 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008232/10.38, allocations: 2.376 MB / 3.488 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008107/10.38, allocations: 1.132 MB / 3.489 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002166/10.38, allocations: 0.7444 MB / 3.49 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007091/10.38, allocations: 380.5 kB / 3.49 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/10.38, allocations: 0 / 3.49 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5493/10.93, allocations: 55.66 MB / 3.544 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/10.93, allocations: 189.5 kB / 3.544 GB, free: 61.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.536/16.47, allocations: 3.094 kB / 3.544 GB, free: 61.93 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat