Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoeffValve,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoeffValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.431/2.431, allocations: 254.6 MB / 267.6 MB, free: 12.47 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.084e-05, allocations: 7.984 kB / 330.9 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4327, allocations: 60.24 MB / 391.1 MB, free: 4.789 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.237/9.67, allocations: 2.874 GB / 3.256 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/9.67, allocations: 82.28 kB / 3.256 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.332/12, allocations: 465.6 MB / 3.711 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/12, allocations: 0 / 3.711 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.667e-05/12, allocations: 24.02 kB / 3.711 GB, free: 53.93 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.006298/12.01, allocations: 1.357 MB / 3.712 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/12.01, allocations: 11.53 kB / 3.712 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/12.01, allocations: 85.62 kB / 3.712 GB, free: 53.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005987/12.01, allocations: 127.2 kB / 3.713 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/12.01, allocations: 0.5538 MB / 3.713 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/12.01, allocations: 36.34 kB / 3.713 GB, free: 52.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/12.01, allocations: 50.84 kB / 3.713 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/12.01, allocations: 0.7683 MB / 3.714 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/12.01, allocations: 3.938 kB / 3.714 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/12.01, allocations: 26.59 kB / 3.714 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/12.01, allocations: 11.69 kB / 3.714 GB, free: 52.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/12.01, allocations: 350 kB / 3.714 GB, free: 51.9 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.00414/12.02, allocations: 3.344 MB / 3.718 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/12.02, allocations: 198.2 kB / 3.718 GB, free: 48.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/12.02, allocations: 53.59 kB / 3.718 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09876/12.12, allocations: 31.99 MB / 3.749 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/12.12, allocations: 38.5 kB / 3.749 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 4.409e-06/12.12, allocations: 0 / 3.749 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001534/12.12, allocations: 355.8 kB / 3.749 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/12.12, allocations: 132.5 kB / 3.75 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/12.12, allocations: 0.6219 MB / 3.75 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/12.12, allocations: 29.7 kB / 3.75 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000285/12.12, allocations: 343.9 kB / 3.751 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/12.12, allocations: 50.28 kB / 3.751 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/12.12, allocations: 4 kB / 3.751 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/12.12, allocations: 306 kB / 3.751 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/12.12, allocations: 43.98 kB / 3.751 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/12.12, allocations: 118.2 kB / 3.751 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/12.12, allocations: 60.06 kB / 3.751 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/12.12, allocations: 0 / 3.751 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000674/12.12, allocations: 256.4 kB / 3.751 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002349/12.12, allocations: 1.059 MB / 3.752 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/12.12, allocations: 4 kB / 3.752 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/12.12, allocations: 4 kB / 3.752 GB, free: 21.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/12.12, allocations: 61.42 kB / 3.752 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/12.12, allocations: 4 kB / 3.752 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/12.12, allocations: 59.28 kB / 3.752 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/12.12, allocations: 15.98 kB / 3.753 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/12.12, allocations: 4 kB / 3.753 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004388/12.12, allocations: 143.6 kB / 3.753 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/12.12, allocations: 7.391 kB / 3.753 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/12.12, allocations: 4 kB / 3.753 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/12.12, allocations: 56.16 kB / 3.753 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/12.12, allocations: 4 kB / 3.753 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/12.13, allocations: 55.42 kB / 3.753 GB, free: 20.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/12.13, allocations: 11.95 kB / 3.753 GB, free: 20.82 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/12.13, allocations: 120.9 kB / 3.753 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/12.13, allocations: 83.06 kB / 3.753 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/12.13, allocations: 0.509 MB / 3.753 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/12.13, allocations: 4 kB / 3.753 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/12.13, allocations: 0 / 3.753 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/12.13, allocations: 3.984 kB / 3.753 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/12.13, allocations: 0.6105 MB / 3.754 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/12.13, allocations: 4 kB / 3.754 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/12.13, allocations: 23.92 kB / 3.754 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/12.13, allocations: 4 kB / 3.754 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/12.13, allocations: 0 / 3.754 GB, free: 19.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/12.13, allocations: 11.92 kB / 3.754 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/12.13, allocations: 0 / 3.754 GB, free: 19.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/12.13, allocations: 0.5428 MB / 3.755 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004044/12.13, allocations: 243.4 kB / 3.755 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/12.13, allocations: 7.953 kB / 3.755 GB, free: 18.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/12.13, allocations: 19.98 kB / 3.755 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/12.13, allocations: 7.984 kB / 3.755 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/12.13, allocations: 0 / 3.755 GB, free: 18.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001323/12.13, allocations: 0.7004 MB / 3.756 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.61e-07/12.13, allocations: 0 / 3.756 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005755/12.14, allocations: 1.114 MB / 3.757 GB, free: 16.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01015/12.15, allocations: 2.748 MB / 3.759 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007338/12.15, allocations: 205 kB / 3.76 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/12.15, allocations: 0 / 3.76 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/12.15, allocations: 36.92 kB / 3.76 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/12.15, allocations: 455.5 kB / 3.76 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/12.16, allocations: 1.135 MB / 3.761 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/12.16, allocations: 0.9506 MB / 3.762 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001253/12.16, allocations: 331.6 kB / 3.762 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004363/12.16, allocations: 283.3 kB / 3.763 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/12.16, allocations: 0 / 3.763 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5572/12.72, allocations: 53.91 MB / 3.815 GB, free: 76.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/12.72, allocations: 152.4 kB / 3.815 GB, free: 76.04 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.195/17.91, allocations: 0 / 3.815 GB, free: 76.04 MB / 0.5261 GB