Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValves,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.414/2.414, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.781e-05/4.79e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4247, allocations: 60.23 MB / 391.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.359/9.784, allocations: 2.875 GB / 3.257 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/9.785, allocations: 77.28 kB / 3.257 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.237/12.02, allocations: 436.2 MB / 3.683 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.043e-06/12.02, allocations: 3.844 kB / 3.683 GB, free: 59.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.43e-05/12.02, allocations: 22.34 kB / 3.683 GB, free: 59.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0107/12.03, allocations: 1.475 MB / 3.684 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/12.03, allocations: 14.56 kB / 3.684 GB, free: 58.99 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002923/12.03, allocations: 92.62 kB / 3.684 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/12.03, allocations: 120.6 kB / 3.685 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/12.04, allocations: 0.5963 MB / 3.685 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/12.04, allocations: 44.09 kB / 3.685 GB, free: 58.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/12.04, allocations: 55.88 kB / 3.685 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/12.04, allocations: 0.9278 MB / 3.686 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/12.04, allocations: 0 / 3.686 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/12.04, allocations: 32.36 kB / 3.686 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/12.04, allocations: 11.19 kB / 3.686 GB, free: 57.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/12.04, allocations: 0.7881 MB / 3.687 GB, free: 57.66 MB / 0.5105 GB 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.004849/12.05, allocations: 3.218 MB / 3.69 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001394/12.05, allocations: 391.2 kB / 3.69 GB, free: 54.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/12.05, allocations: 161.2 kB / 3.691 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/12.15, allocations: 31.99 MB / 3.722 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/12.15, allocations: 34.09 kB / 3.722 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00138/12.15, allocations: 137.1 kB / 3.722 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.507e-06/12.15, allocations: 0 / 3.722 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31): time 0.004742/12.16, allocations: 0.804 MB / 3.723 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/12.16, allocations: 55.22 kB / 3.723 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/12.16, allocations: 0.5356 MB / 3.723 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.265e-05/12.16, allocations: 29.7 kB / 3.723 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/12.16, allocations: 340.8 kB / 3.724 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/12.16, allocations: 103.3 kB / 3.724 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/12.16, allocations: 11.88 kB / 3.724 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/12.16, allocations: 321.2 kB / 3.724 GB, free: 33.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/12.16, allocations: 102.3 kB / 3.724 GB, free: 33.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/12.16, allocations: 157.3 kB / 3.724 GB, free: 33.37 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/12.16, allocations: 126.6 kB / 3.725 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/12.16, allocations: 0 / 3.725 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001514/12.16, allocations: 0.5121 MB / 3.725 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/12.16, allocations: 0.5314 MB / 3.726 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/12.16, allocations: 0 / 3.726 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01322/12.17, allocations: 1.034 MB / 3.727 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/12.17, allocations: 59.69 kB / 3.727 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002607/12.18, allocations: 0.9261 MB / 3.727 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/12.18, allocations: 52.36 kB / 3.728 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/12.18, allocations: 23.38 kB / 3.728 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/12.18, allocations: 2 kB / 3.728 GB, free: 31.79 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/12.18, allocations: 351.2 kB / 3.728 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/12.18, allocations: 3.375 kB / 3.728 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006825/12.18, allocations: 84.05 kB / 3.728 GB, free: 31.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/12.18, allocations: 97.91 kB / 3.728 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/12.18, allocations: 1.463 MB / 3.73 GB, free: 30.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/12.18, allocations: 54.14 kB / 3.73 GB, free: 30.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/12.18, allocations: 18.72 kB / 3.73 GB, free: 30.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {6 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002001/12.18, allocations: 120.5 kB / 3.73 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/12.18, allocations: 73.44 kB / 3.73 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004192/12.19, allocations: 2.044 MB / 3.732 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/12.19, allocations: 17.81 kB / 3.732 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/12.19, allocations: 3.938 kB / 3.732 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/12.19, allocations: 7.406 kB / 3.732 GB, free: 29.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/12.19, allocations: 0.9458 MB / 3.733 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/12.19, allocations: 0 / 3.733 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/12.19, allocations: 48.7 kB / 3.733 GB, free: 28.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008756/12.2, allocations: 3.004 MB / 3.736 GB, free: 28.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/12.2, allocations: 11.97 kB / 3.736 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/12.2, allocations: 2.038 MB / 3.738 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/12.2, allocations: 0 / 3.738 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/12.21, allocations: 1.752 MB / 3.739 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/12.21, allocations: 175.6 kB / 3.74 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/12.21, allocations: 14.88 kB / 3.74 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008921/12.21, allocations: 55.97 kB / 3.74 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/12.21, allocations: 35.2 kB / 3.74 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/12.21, allocations: 14.81 kB / 3.74 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007118/12.21, allocations: 433 kB / 3.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/12.21, allocations: 0 / 3.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005745/12.21, allocations: 1.146 MB / 3.741 GB, free: 25.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.01207/12.23, allocations: 3.237 MB / 3.744 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003142/12.23, allocations: 0.7868 MB / 3.745 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/12.23, allocations: 0 / 3.745 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/12.23, allocations: 449.3 kB / 3.746 GB, free: 21.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/12.23, allocations: 418 kB / 3.746 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/12.24, allocations: 1.585 MB / 3.748 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/12.24, allocations: 1.008 MB / 3.749 GB, free: 19.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001189/12.24, allocations: 307.7 kB / 3.749 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/12.24, allocations: 300.7 kB / 3.749 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.222e-06/12.24, allocations: 0 / 3.749 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5385/12.78, allocations: 56.46 MB / 3.804 GB, free: 77.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/12.78, allocations: 174.6 kB / 3.804 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.607/18.39, allocations: 2.812 kB / 3.804 GB, free: 76.86 MB / 0.5261 GB