Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCheckValve",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.59e-05/2.601e-05, allocations: 0 / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3606, allocations: 54.85 MB / 354.5 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.939/8.299, allocations: 2.612 GB / 2.958 GB, free: 127 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/8.3, allocations: 80.23 kB / 2.958 GB, free: 127 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.248/10.55, allocations: 432.7 MB / 3.381 GB, free: 61.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/10.55, allocations: 0 / 3.381 GB, free: 61.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.965e-05/10.55, allocations: 23.59 kB / 3.381 GB, free: 61.48 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007862/10.56, allocations: 1.742 MB / 3.382 GB, free: 60.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/10.56, allocations: 10.88 kB / 3.382 GB, free: 60.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004/10.56, allocations: 330.1 kB / 3.383 GB, free: 60.44 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/10.56, allocations: 0.5848 MB / 3.383 GB, free: 60.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/10.56, allocations: 31.33 kB / 3.383 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/10.56, allocations: 35.91 kB / 3.383 GB, free: 60.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001546/10.56, allocations: 0.5412 MB / 3.384 GB, free: 59.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/10.57, allocations: 0.6524 MB / 3.385 GB, free: 59.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/10.57, allocations: 0 / 3.385 GB, free: 59.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/10.57, allocations: 6.969 kB / 3.385 GB, free: 59.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/10.57, allocations: 22.44 kB / 3.385 GB, free: 59.5 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.01583/10.58, allocations: 7.053 MB / 3.391 GB, free: 54.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/10.58, allocations: 407.7 kB / 3.392 GB, free: 53.94 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/10.58, allocations: 203.2 kB / 3.392 GB, free: 53.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3075/10.89, allocations: 78.04 MB / 3.468 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/10.89, allocations: 42.89 kB / 3.468 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.986e-06/10.89, allocations: 0 / 3.468 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of matching and sorting (n=50): time 0.01009/10.9, allocations: 1.777 MB / 3.47 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/10.9, allocations: 111.2 kB / 3.47 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008065/10.9, allocations: 390.4 kB / 3.47 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.226e-05/10.9, allocations: 25.7 kB / 3.471 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/10.9, allocations: 341.5 kB / 3.471 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/10.9, allocations: 171.6 kB / 3.471 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.766e-05/10.9, allocations: 4 kB / 3.471 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002143/10.9, allocations: 369.9 kB / 3.471 GB, free: 5.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/10.9, allocations: 180.4 kB / 3.472 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007471/10.9, allocations: 381.7 kB / 3.472 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/10.91, allocations: 321.1 kB / 3.472 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/10.91, allocations: 0 / 3.472 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004484/10.91, allocations: 0.8728 MB / 3.473 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001148/10.91, allocations: 2.361 MB / 3.475 GB, free: 1.262 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.229e-05/10.91, allocations: 8 kB / 3.475 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/10.91, allocations: 304.3 kB / 3.476 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/10.92, allocations: 145 kB / 3.476 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/10.92, allocations: 0.9583 MB / 3.477 GB, free: 0 / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3718/11.29, allocations: 78.75 kB / 3.477 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/11.29, allocations: 37.03 kB / 3.477 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/11.29, allocations: 4.344 kB / 3.477 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003807/11.29, allocations: 0.7267 MB / 3.478 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/11.29, allocations: 6.156 kB / 3.478 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/11.3, allocations: 268.8 kB / 3.478 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/11.3, allocations: 149.8 kB / 3.478 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/11.3, allocations: 0.8374 MB / 3.479 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/11.3, allocations: 72.53 kB / 3.479 GB, free: 78.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.71e-05/11.3, allocations: 36.05 kB / 3.479 GB, free: 78.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002888/11.3, allocations: 128 kB / 3.479 GB, free: 77.92 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002619/11.3, allocations: 0.5599 MB / 3.48 GB, free: 77.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/11.3, allocations: 61.09 kB / 3.48 GB, free: 77.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004647/11.31, allocations: 2.245 MB / 3.482 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/11.31, allocations: 29.44 kB / 3.482 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/11.31, allocations: 7.672 kB / 3.482 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/11.31, allocations: 0 / 3.482 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005659/11.31, allocations: 3.072 MB / 3.485 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/11.31, allocations: 0 / 3.485 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/11.31, allocations: 145.9 kB / 3.485 GB, free: 77.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/11.31, allocations: 90.8 kB / 3.485 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/11.31, allocations: 10.22 kB / 3.485 GB, free: 77.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009313/11.32, allocations: 1.162 MB / 3.486 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/11.32, allocations: 0 / 3.486 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/11.32, allocations: 1.857 MB / 3.488 GB, free: 75.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/11.32, allocations: 328.6 kB / 3.488 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/11.32, allocations: 3.938 kB / 3.488 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009227/11.32, allocations: 60.14 kB / 3.488 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/11.32, allocations: 47.62 kB / 3.488 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/11.32, allocations: 25.27 kB / 3.488 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007223/11.32, allocations: 441.1 kB / 3.489 GB, free: 75.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/11.32, allocations: 0 / 3.489 GB, free: 75.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006641/11.33, allocations: 1.347 MB / 3.49 GB, free: 75.72 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 17 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.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 (58): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01485/11.34, allocations: 4.109 MB / 3.494 GB, free: 74.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003147/11.35, allocations: 1.09 MB / 3.495 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/11.35, allocations: 0 / 3.495 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/11.35, allocations: 0.5891 MB / 3.496 GB, free: 74.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/11.35, allocations: 270.7 kB / 3.496 GB, free: 74.85 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2685/11.62, allocations: 85.01 MB / 3.579 GB, free: 72.13 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/11.62, allocations: 1.12 MB / 3.58 GB, free: 71.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002004/11.62, allocations: 0.6642 MB / 3.581 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/11.62, allocations: 412.6 kB / 3.581 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/11.62, allocations: 0 / 3.581 GB, free: 71.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/11.76, allocations: 49.31 MB / 3.629 GB, free: 39 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002378/11.76, allocations: 204.4 kB / 3.63 GB, free: 38.74 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.988/16.75, allocations: 4.031 kB / 3.63 GB, free: 38.73 MB / 0.4948 GB