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.979/2.979, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.605e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4749, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.432/9.907, allocations: 2.617 GB / 2.963 GB, free: 126.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003553/9.907, allocations: 86.92 kB / 2.963 GB, free: 126.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.933/12.84, allocations: 433.5 MB / 3.386 GB, free: 58.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.504e-06/12.84, allocations: 0 / 3.386 GB, free: 58.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.99e-05/12.84, allocations: 17.77 kB / 3.387 GB, free: 58.11 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.009231/12.85, allocations: 1.765 MB / 3.388 GB, free: 57.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/12.85, allocations: 13.03 kB / 3.388 GB, free: 57.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002945/12.85, allocations: 76.88 kB / 3.388 GB, free: 57.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007594/12.86, allocations: 355.1 kB / 3.389 GB, free: 56.96 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003412/12.86, allocations: 0.5822 MB / 3.389 GB, free: 56.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/12.86, allocations: 30.03 kB / 3.389 GB, free: 56.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/12.86, allocations: 36.62 kB / 3.389 GB, free: 56.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003543/12.86, allocations: 0.5458 MB / 3.39 GB, free: 56.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/12.87, allocations: 0.6663 MB / 3.39 GB, free: 56.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.786e-05/12.87, allocations: 3.938 kB / 3.39 GB, free: 56 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/12.87, allocations: 5.906 kB / 3.39 GB, free: 56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.818e-05/12.87, allocations: 18.78 kB / 3.391 GB, free: 56 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.1714/13.04, allocations: 36.73 MB / 3.426 GB, free: 34.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/13.04, allocations: 359 kB / 3.427 GB, free: 34.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/13.04, allocations: 199.5 kB / 3.427 GB, free: 34.47 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0744/13.12, allocations: 20.29 MB / 3.447 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/13.12, allocations: 42.56 kB / 3.447 GB, free: 14.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 4.228e-06/13.12, allocations: 0 / 3.447 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.05068/13.17, allocations: 3.3 MB / 3.45 GB, free: 11.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/13.17, allocations: 115.3 kB / 3.45 GB, free: 11.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/13.17, allocations: 412.2 kB / 3.45 GB, free: 11.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/13.17, allocations: 25.7 kB / 3.451 GB, free: 11.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/13.17, allocations: 357.2 kB / 3.451 GB, free: 10.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/13.17, allocations: 191.4 kB / 3.451 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-05/13.17, allocations: 0 / 3.451 GB, free: 10.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/13.17, allocations: 369.9 kB / 3.451 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008267/13.17, allocations: 277 kB / 3.452 GB, free: 9.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000942/13.17, allocations: 487.6 kB / 3.452 GB, free: 9.383 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/13.17, allocations: 479.6 kB / 3.453 GB, free: 8.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/13.17, allocations: 0 / 3.453 GB, free: 8.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006592/13.18, allocations: 1.14 MB / 3.454 GB, free: 7.953 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005915/13.18, allocations: 2.448 MB / 3.456 GB, free: 5.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/13.18, allocations: 4 kB / 3.456 GB, free: 5.312 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005069/13.19, allocations: 0.5729 MB / 3.457 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/13.19, allocations: 162.8 kB / 3.457 GB, free: 4.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/13.19, allocations: 1.738 MB / 3.458 GB, free: 3.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/13.2, allocations: 109.4 kB / 3.459 GB, free: 2.945 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/13.2, allocations: 47.89 kB / 3.459 GB, free: 2.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/13.2, allocations: 4 kB / 3.459 GB, free: 2.898 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006707/13.2, allocations: 0.9665 MB / 3.46 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.381e-05/13.2, allocations: 4.5 kB / 3.46 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/13.21, allocations: 361.1 kB / 3.46 GB, free: 1.789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/13.21, allocations: 167.4 kB / 3.46 GB, free: 1.652 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/13.21, allocations: 1.476 MB / 3.462 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/13.21, allocations: 82.81 kB / 3.462 GB, free: 116 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/13.21, allocations: 39.8 kB / 3.462 GB, free: 80 kB / 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.0005257/13.21, allocations: 138.2 kB / 3.462 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/13.21, allocations: 63.25 kB / 3.462 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/13.22, allocations: 3.363 MB / 3.465 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.024e-05/13.22, allocations: 42.09 kB / 3.465 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/13.22, allocations: 0 / 3.465 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/13.22, allocations: 7.797 kB / 3.465 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/13.24, allocations: 4.29 MB / 3.469 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/13.24, allocations: 0 / 3.469 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009179/13.24, allocations: 98 kB / 3.469 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006102/13.24, allocations: 1.538 MB / 3.471 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/13.24, allocations: 11.42 kB / 3.471 GB, free: 7.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005811/13.25, allocations: 2.624 MB / 3.474 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/13.25, allocations: 0 / 3.474 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006945/13.26, allocations: 2.334 MB / 3.476 GB, free: 3.051 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/13.26, allocations: 303.6 kB / 3.476 GB, free: 2.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/13.26, allocations: 8 kB / 3.476 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/13.26, allocations: 85.8 kB / 3.476 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/13.26, allocations: 58.66 kB / 3.476 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001528/13.26, allocations: 27.7 kB / 3.476 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008882/13.26, allocations: 364.4 kB / 3.477 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.61e-07/13.26, allocations: 0 / 3.477 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008942/13.27, allocations: 1.51 MB / 3.478 GB, free: 0.8477 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.5099/13.78, allocations: 4.628 MB / 3.483 GB, free: 73.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007688/13.79, allocations: 1.565 MB / 3.484 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/13.79, allocations: 0 / 3.484 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/13.79, allocations: 0.9129 MB / 3.485 GB, free: 73.88 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/13.8, allocations: 268.4 kB / 3.485 GB, free: 73.87 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/13.81, allocations: 2.381 MB / 3.488 GB, free: 73.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008867/13.81, allocations: 1.131 MB / 3.489 GB, free: 72.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003305/13.81, allocations: 0.7423 MB / 3.489 GB, free: 72.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/13.81, allocations: 387.2 kB / 3.49 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.765e-06/13.81, allocations: 0 / 3.49 GB, free: 72.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.276/14.09, allocations: 56.91 MB / 3.545 GB, free: 70.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002818/14.09, allocations: 193.1 kB / 3.546 GB, free: 70.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.245/21.33, allocations: 0 / 3.546 GB, free: 70.59 MB / 0.4948 GB