Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.ValveZeroFlow2,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.525/2.525, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.272e-05, allocations: 7.984 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4406/0.4407, allocations: 60.22 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.408/9.849, allocations: 2.917 GB / 3.299 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/9.849, allocations: 76.64 kB / 3.299 GB, free: 88.86 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.402/11.25, allocations: 300 MB / 3.592 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/11.25, allocations: 0 / 3.592 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.737e-05/11.25, allocations: 16 kB / 3.592 GB, free: 1.227 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.005096/11.26, allocations: 1.087 MB / 3.593 GB, free: 96 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/11.26, allocations: 12.03 kB / 3.593 GB, free: 84 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.833e-05/11.26, allocations: 70.47 kB / 3.593 GB, free: 4 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3797/11.64, allocations: 87.81 kB / 3.594 GB, free: 76.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/11.64, allocations: 358 kB / 3.594 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/11.64, allocations: 24.62 kB / 3.594 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-05/11.64, allocations: 32.67 kB / 3.594 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/11.64, allocations: 460.3 kB / 3.594 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/11.64, allocations: 1.422 kB / 3.594 GB, free: 76.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.693e-05/11.64, allocations: 21.94 kB / 3.594 GB, free: 76.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/11.64, allocations: 8.344 kB / 3.594 GB, free: 76.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/11.64, allocations: 278.2 kB / 3.595 GB, free: 76.42 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.002923/11.64, allocations: 2.154 MB / 3.597 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/11.64, allocations: 260.1 kB / 3.597 GB, free: 74.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/11.64, allocations: 97.02 kB / 3.597 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1005/11.75, allocations: 31.97 MB / 3.628 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/11.75, allocations: 43 kB / 3.628 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=25): time 3.958e-06/11.75, allocations: 0 / 3.628 GB, free: 55.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.006787/11.75, allocations: 1.396 MB / 3.63 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/11.75, allocations: 58.66 kB / 3.63 GB, free: 54.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/11.75, allocations: 270 kB / 3.63 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/11.75, allocations: 32.89 kB / 3.63 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/11.75, allocations: 208.1 kB / 3.63 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/11.75, allocations: 126.7 kB / 3.63 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/11.75, allocations: 6.438 kB / 3.63 GB, free: 54.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.165e-05/11.75, allocations: 346.1 kB / 3.631 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/11.75, allocations: 104.3 kB / 3.631 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/11.75, allocations: 152.2 kB / 3.631 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/11.75, allocations: 117.3 kB / 3.631 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/11.75, allocations: 7.906 kB / 3.631 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001268/11.76, allocations: 414.5 kB / 3.631 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/11.76, allocations: 0.5283 MB / 3.632 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/11.76, allocations: 0 / 3.632 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007519/11.76, allocations: 95.83 kB / 3.632 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/11.76, allocations: 81.41 kB / 3.632 GB, free: 53.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009356/11.76, allocations: 1.105 MB / 3.633 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/11.76, allocations: 39.84 kB / 3.633 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/11.76, allocations: 22.31 kB / 3.633 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/11.76, allocations: 0 / 3.633 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001076/11.76, allocations: 337.5 kB / 3.634 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/11.76, allocations: 3.75 kB / 3.634 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/11.76, allocations: 91.2 kB / 3.634 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/11.76, allocations: 82.12 kB / 3.634 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008776/11.76, allocations: 1.109 MB / 3.635 GB, free: 51.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/11.76, allocations: 43.09 kB / 3.635 GB, free: 51.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/11.76, allocations: 11.31 kB / 3.635 GB, free: 51.53 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: 3 (Valve.fluidState.phase,Tank2.liquidState.phase,Tank1.liquidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/11.76, allocations: 124.5 kB / 3.635 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/11.76, allocations: 37.22 kB / 3.635 GB, free: 51.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/11.76, allocations: 1.153 MB / 3.636 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/11.76, allocations: 12.19 kB / 3.636 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/11.76, allocations: 10.17 kB / 3.636 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/11.76, allocations: 0 / 3.636 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/11.77, allocations: 0.6736 MB / 3.637 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/11.77, allocations: 0 / 3.637 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/11.77, allocations: 77.48 kB / 3.637 GB, free: 51.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000959/11.77, allocations: 137.4 kB / 3.637 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/11.77, allocations: 7.844 kB / 3.637 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000949/11.77, allocations: 1.194 MB / 3.638 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/11.77, allocations: 0 / 3.638 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/11.77, allocations: 1.181 MB / 3.639 GB, free: 49.81 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000286/11.77, allocations: 162.7 kB / 3.64 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/11.77, allocations: 7.594 kB / 3.64 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/11.77, allocations: 27.83 kB / 3.64 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/11.77, allocations: 26.95 kB / 3.64 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/11.77, allocations: 9.688 kB / 3.64 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003157/11.77, allocations: 218.2 kB / 3.64 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/11.77, allocations: 0 / 3.64 GB, free: 49.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004719/11.78, allocations: 0.9658 MB / 3.641 GB, free: 49.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Tank1.y,Tank1.h,Tank2.y,Tank2.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01081/11.79, allocations: 2.948 MB / 3.644 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002062/11.79, allocations: 0.6445 MB / 3.644 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/11.79, allocations: 0 / 3.644 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008712/11.79, allocations: 370.3 kB / 3.645 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/11.79, allocations: 198.9 kB / 3.645 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/11.8, allocations: 1.372 MB / 3.646 GB, free: 48.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/11.8, allocations: 0.8727 MB / 3.647 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007889/11.8, allocations: 213.4 kB / 3.647 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/11.8, allocations: 178.2 kB / 3.647 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.233e-06/11.8, allocations: 3.625 kB / 3.647 GB, free: 47.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1016/11.9, allocations: 40.25 MB / 3.687 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/11.9, allocations: 182.4 kB / 3.687 GB, free: 45.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.484/16.39, allocations: 0 / 3.687 GB, free: 45.96 MB / 0.5105 GB