Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.609e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3671, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.373/8.74, allocations: 2.617 GB / 2.963 GB, free: 126.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/8.741, allocations: 80.86 kB / 2.963 GB, free: 126.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.372/11.11, allocations: 432.9 MB / 3.386 GB, free: 58.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/11.11, allocations: 0 / 3.386 GB, free: 58.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.295e-05/11.11, allocations: 22.91 kB / 3.386 GB, free: 58.65 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.008022/11.12, allocations: 1.761 MB / 3.388 GB, free: 57.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/11.12, allocations: 10.44 kB / 3.388 GB, free: 57.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/11.13, allocations: 354.6 kB / 3.388 GB, free: 57.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/11.13, allocations: 0.5925 MB / 3.389 GB, free: 57.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-05/11.13, allocations: 32.27 kB / 3.389 GB, free: 57.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/11.13, allocations: 34.31 kB / 3.389 GB, free: 57.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/11.13, allocations: 0.5515 MB / 3.389 GB, free: 56.98 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/11.13, allocations: 0.6628 MB / 3.39 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/11.13, allocations: 0 / 3.39 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/11.13, allocations: 7.859 kB / 3.39 GB, free: 56.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/11.13, allocations: 23.03 kB / 3.39 GB, free: 56.61 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.1451/11.28, allocations: 36.72 MB / 3.426 GB, free: 35.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/11.28, allocations: 360.6 kB / 3.426 GB, free: 35.53 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004546/11.28, allocations: 204.2 kB / 3.426 GB, free: 35.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06463/11.34, allocations: 20.28 MB / 3.446 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/11.34, allocations: 46.44 kB / 3.446 GB, free: 15.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.717e-06/11.34, allocations: 0 / 3.446 GB, free: 15.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.04429/11.39, allocations: 3.31 MB / 3.449 GB, free: 12.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/11.39, allocations: 107.4 kB / 3.449 GB, free: 12.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/11.39, allocations: 406.6 kB / 3.45 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/11.39, allocations: 25.7 kB / 3.45 GB, free: 11.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/11.39, allocations: 364.1 kB / 3.45 GB, free: 11.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/11.39, allocations: 191.8 kB / 3.45 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/11.39, allocations: 0 / 3.45 GB, free: 11.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/11.39, allocations: 370.6 kB / 3.451 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/11.39, allocations: 277.2 kB / 3.451 GB, free: 10.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008262/11.39, allocations: 486.6 kB / 3.451 GB, free: 10.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/11.39, allocations: 486 kB / 3.452 GB, free: 9.852 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/11.39, allocations: 0 / 3.452 GB, free: 9.852 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004982/11.4, allocations: 1.133 MB / 3.453 GB, free: 8.828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005118/11.4, allocations: 2.451 MB / 3.455 GB, free: 6.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/11.4, allocations: 4 kB / 3.455 GB, free: 6.184 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/11.4, allocations: 0.5646 MB / 3.456 GB, free: 5.746 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/11.4, allocations: 164.2 kB / 3.456 GB, free: 5.609 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003879/11.41, allocations: 1.742 MB / 3.458 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001965/11.41, allocations: 103.1 kB / 3.458 GB, free: 3.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/11.41, allocations: 51.22 kB / 3.458 GB, free: 3.777 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/11.41, allocations: 10.19 kB / 3.458 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005763/11.42, allocations: 0.9558 MB / 3.459 GB, free: 2.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/11.42, allocations: 8 kB / 3.459 GB, free: 2.941 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002901/11.42, allocations: 368.3 kB / 3.459 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/11.42, allocations: 174.4 kB / 3.459 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/11.42, allocations: 1.465 MB / 3.461 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/11.42, allocations: 91.39 kB / 3.461 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/11.42, allocations: 35.28 kB / 3.461 GB, free: 0.9531 MB / 490.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.0004075/11.43, allocations: 142.5 kB / 3.461 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004706/11.43, allocations: 0.9216 MB / 3.462 GB, free: 0 / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/11.43, allocations: 69.3 kB / 3.462 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/11.44, allocations: 3.362 MB / 3.465 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.888e-05/11.44, allocations: 39.19 kB / 3.465 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/11.44, allocations: 4 kB / 3.465 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/11.44, allocations: 3.891 kB / 3.465 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/11.45, allocations: 4.287 MB / 3.47 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/11.45, allocations: 0 / 3.47 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/11.45, allocations: 95.19 kB / 3.47 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005191/11.46, allocations: 1.541 MB / 3.471 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/11.46, allocations: 15.41 kB / 3.471 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/11.46, allocations: 2.618 MB / 3.474 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/11.46, allocations: 3.438 kB / 3.474 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00598/11.47, allocations: 2.331 MB / 3.476 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008143/11.47, allocations: 308.1 kB / 3.476 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/11.47, allocations: 7.953 kB / 3.476 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/11.47, allocations: 82.5 kB / 3.476 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/11.47, allocations: 62.83 kB / 3.477 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/11.47, allocations: 31.8 kB / 3.477 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008027/11.47, allocations: 356.7 kB / 3.477 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/11.47, allocations: 0 / 3.477 GB, free: 2.391 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007998/11.48, allocations: 1.507 MB / 3.478 GB, free: 0.918 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.4061/11.89, allocations: 4.596 MB / 3.483 GB, free: 74.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005362/11.89, allocations: 1.567 MB / 3.484 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/11.89, allocations: 3 kB / 3.484 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/11.89, allocations: 0.9041 MB / 3.485 GB, free: 74.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/11.9, allocations: 259.9 kB / 3.486 GB, free: 74.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008902/11.91, allocations: 2.388 MB / 3.488 GB, free: 73.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/11.91, allocations: 1.127 MB / 3.489 GB, free: 73.03 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002387/11.91, allocations: 0.7418 MB / 3.49 GB, free: 73.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007143/11.91, allocations: 385.1 kB / 3.49 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.382e-06/11.91, allocations: 4.25 kB / 3.49 GB, free: 73.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/12.07, allocations: 55.68 MB / 3.544 GB, free: 71.15 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002947/12.07, allocations: 197.6 kB / 3.545 GB, free: 70.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.296/17.37, allocations: 0 / 3.545 GB, free: 70.95 MB / 0.4948 GB