Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.ValveZeroFlow,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_ValveZeroFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.421/2.421, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.077e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.423, allocations: 60.24 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.442/9.865, allocations: 2.874 GB / 3.256 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/9.866, allocations: 78.45 kB / 3.256 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.359/11.23, allocations: 268.6 MB / 3.519 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/11.23, allocations: 0 / 3.519 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.167e-05/11.23, allocations: 16.12 kB / 3.519 GB, free: 76.43 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.005387/11.23, allocations: 1.12 MB / 3.52 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/11.23, allocations: 8.031 kB / 3.52 GB, free: 75.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.802e-05/11.23, allocations: 70.53 kB / 3.52 GB, free: 75.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00037/11.23, allocations: 71.33 kB / 3.52 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/11.23, allocations: 399.9 kB / 3.52 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/11.23, allocations: 20.78 kB / 3.52 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/11.23, allocations: 31.94 kB / 3.52 GB, free: 74.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009202/11.23, allocations: 414.3 kB / 3.521 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/11.23, allocations: 3.938 kB / 3.521 GB, free: 74.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/11.23, allocations: 15.95 kB / 3.521 GB, free: 74.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/11.23, allocations: 11.98 kB / 3.521 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007029/11.23, allocations: 229 kB / 3.521 GB, free: 73.94 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.002439/11.24, allocations: 1.845 MB / 3.523 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/11.24, allocations: 146.4 kB / 3.523 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/11.24, allocations: 64.86 kB / 3.523 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1293/11.37, allocations: 31.97 MB / 3.554 GB, free: 35.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/11.37, allocations: 34.56 kB / 3.554 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 3.536e-06/11.37, allocations: 4 kB / 3.554 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.001299/11.37, allocations: 325.9 kB / 3.555 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/11.37, allocations: 55.41 kB / 3.555 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/11.37, allocations: 343.2 kB / 3.555 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/11.37, allocations: 29.7 kB / 3.555 GB, free: 35.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/11.37, allocations: 219 kB / 3.555 GB, free: 34.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.796e-05/11.37, allocations: 59.2 kB / 3.555 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/11.37, allocations: 0 / 3.555 GB, free: 34.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/11.37, allocations: 355 kB / 3.556 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/11.37, allocations: 44.36 kB / 3.556 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/11.37, allocations: 76.84 kB / 3.556 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/11.37, allocations: 56.7 kB / 3.556 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/11.37, allocations: 0 / 3.556 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006904/11.37, allocations: 239 kB / 3.556 GB, free: 34.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/11.37, allocations: 458.8 kB / 3.556 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/11.37, allocations: 0 / 3.556 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/11.37, allocations: 171.8 kB / 3.557 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/11.37, allocations: 55.83 kB / 3.557 GB, free: 33.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009865/11.37, allocations: 0.6304 MB / 3.557 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006419/11.37, allocations: 47.72 kB / 3.557 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/11.37, allocations: 8 kB / 3.557 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/11.37, allocations: 4 kB / 3.557 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009908/11.38, allocations: 200.5 kB / 3.558 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/11.38, allocations: 0 / 3.558 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008059/11.38, allocations: 96.84 kB / 3.558 GB, free: 32.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/11.38, allocations: 63.89 kB / 3.558 GB, free: 32.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/11.38, allocations: 1.448 MB / 3.559 GB, free: 30.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/11.38, allocations: 47.69 kB / 3.559 GB, free: 30.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/11.38, allocations: 12 kB / 3.559 GB, free: 30.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001249/11.38, allocations: 109 kB / 3.559 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/11.38, allocations: 43.52 kB / 3.559 GB, free: 30.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/11.38, allocations: 0.9431 MB / 3.56 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/11.38, allocations: 7.984 kB / 3.56 GB, free: 29.53 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/11.38, allocations: 3.938 kB / 3.56 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/11.38, allocations: 0 / 3.56 GB, free: 29.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000824/11.38, allocations: 0.5402 MB / 3.561 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/11.38, allocations: 0 / 3.561 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/11.38, allocations: 27.98 kB / 3.561 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/11.39, allocations: 0.9443 MB / 3.562 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/11.39, allocations: 4 kB / 3.562 GB, free: 27.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001153/11.39, allocations: 1.065 MB / 3.563 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/11.39, allocations: 3.953 kB / 3.563 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/11.39, allocations: 0.822 MB / 3.564 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/11.39, allocations: 152.2 kB / 3.564 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/11.39, allocations: 4 kB / 3.564 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/11.39, allocations: 27.88 kB / 3.564 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/11.39, allocations: 16.12 kB / 3.564 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/11.39, allocations: 11.97 kB / 3.564 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000833/11.39, allocations: 333.6 kB / 3.564 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.32e-07/11.39, allocations: 0 / 3.564 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006831/11.4, allocations: 0.9756 MB / 3.565 GB, free: 24.5 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: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/11.41, allocations: 2.287 MB / 3.567 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001659/11.41, allocations: 420.8 kB / 3.568 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/11.41, allocations: 0 / 3.568 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004479/11.41, allocations: 172.1 kB / 3.568 GB, free: 21.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002113/11.41, allocations: 210.1 kB / 3.568 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004609/11.42, allocations: 0.964 MB / 3.569 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/11.42, allocations: 0.856 MB / 3.57 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000674/11.42, allocations: 190.9 kB / 3.57 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/11.42, allocations: 167.4 kB / 3.57 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/11.42, allocations: 0 / 3.57 GB, free: 19.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6645/12.08, allocations: 39.23 MB / 3.608 GB, free: 76.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/12.08, allocations: 173.8 kB / 3.609 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.339/16.42, allocations: 0 / 3.609 GB, free: 75.81 MB / 0.5105 GB