Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestValveChoked,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestValveChoked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.5/2.5, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.536e-05/3.569e-05, allocations: 0 / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4439, allocations: 60.24 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.362/9.806, allocations: 2.896 GB / 3.278 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/9.806, allocations: 77.58 kB / 3.278 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.355/11.16, allocations: 283.1 MB / 3.554 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.465e-06/11.16, allocations: 4 kB / 3.554 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.2e-05/11.16, allocations: 19.98 kB / 3.554 GB, free: 39.06 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.005586/11.17, allocations: 1.122 MB / 3.555 GB, free: 37.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/11.17, allocations: 12.03 kB / 3.555 GB, free: 37.88 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.838e-05/11.17, allocations: 66.53 kB / 3.555 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/11.17, allocations: 75.27 kB / 3.556 GB, free: 37.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/11.17, allocations: 384.2 kB / 3.556 GB, free: 37.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/11.17, allocations: 29.41 kB / 3.556 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.389e-05/11.17, allocations: 32 kB / 3.556 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/11.17, allocations: 477.6 kB / 3.556 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/11.17, allocations: 4 kB / 3.556 GB, free: 36.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/11.17, allocations: 12 kB / 3.556 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/11.17, allocations: 11.98 kB / 3.556 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000751/11.17, allocations: 259.8 kB / 3.557 GB, free: 36.43 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.002865/11.17, allocations: 2.008 MB / 3.559 GB, free: 34.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/11.17, allocations: 277.2 kB / 3.559 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/11.17, allocations: 73.7 kB / 3.559 GB, free: 33.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5045/11.68, allocations: 32.09 MB / 3.59 GB, free: 79.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/11.68, allocations: 37.5 kB / 3.59 GB, free: 79.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 2.925e-06/11.68, allocations: 0 / 3.59 GB, free: 79.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.001482/11.68, allocations: 271 kB / 3.591 GB, free: 79.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/11.68, allocations: 79.58 kB / 3.591 GB, free: 79.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009263/11.68, allocations: 375 kB / 3.591 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.478e-05/11.68, allocations: 26.8 kB / 3.591 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002413/11.68, allocations: 238.8 kB / 3.591 GB, free: 79.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/11.68, allocations: 58.98 kB / 3.591 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/11.68, allocations: 6.125 kB / 3.591 GB, free: 79.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001328/11.68, allocations: 354.4 kB / 3.592 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/11.68, allocations: 48.03 kB / 3.592 GB, free: 78.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/11.68, allocations: 116.7 kB / 3.592 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/11.68, allocations: 60.97 kB / 3.592 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/11.68, allocations: 0.5625 kB / 3.592 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000949/11.68, allocations: 240 kB / 3.592 GB, free: 78.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002692/11.68, allocations: 0.7914 MB / 3.593 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/11.68, allocations: 2.094 kB / 3.593 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/11.68, allocations: 7.562 kB / 3.593 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/11.69, allocations: 72.77 kB / 3.593 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.37e-05/11.69, allocations: 10.61 kB / 3.593 GB, free: 78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/11.69, allocations: 60.02 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/11.69, allocations: 15.39 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/11.69, allocations: 4.281 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006772/11.69, allocations: 153 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/11.69, allocations: 6.094 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/11.69, allocations: 7.594 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/11.69, allocations: 64.52 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/11.69, allocations: 3 kB / 3.593 GB, free: 77.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/11.69, allocations: 58.45 kB / 3.593 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/11.69, allocations: 15.19 kB / 3.593 GB, free: 77.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (ValveVap.fluidState.phase,ValveLiqChocked.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001786/11.69, allocations: 120.1 kB / 3.593 GB, free: 77.88 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/11.69, allocations: 50.08 kB / 3.594 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/11.69, allocations: 373.9 kB / 3.594 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/11.69, allocations: 3.938 kB / 3.594 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/11.69, allocations: 3.812 kB / 3.594 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/11.69, allocations: 3.938 kB / 3.594 GB, free: 77.78 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/11.69, allocations: 457.4 kB / 3.594 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/11.69, allocations: 0 / 3.594 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/11.69, allocations: 62.78 kB / 3.594 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/11.69, allocations: 3.938 kB / 3.594 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/11.69, allocations: 2.516 kB / 3.594 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/11.69, allocations: 3.812 kB / 3.594 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/11.69, allocations: 7.25 kB / 3.594 GB, free: 77.58 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/11.69, allocations: 385.2 kB / 3.595 GB, free: 77.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/11.69, allocations: 166.6 kB / 3.595 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/11.69, allocations: 9.234 kB / 3.595 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/11.69, allocations: 36.88 kB / 3.595 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/11.69, allocations: 15.36 kB / 3.595 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/11.69, allocations: 7.109 kB / 3.595 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007046/11.69, allocations: 402 kB / 3.595 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.01e-07/11.69, allocations: 0 / 3.595 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005154/11.7, allocations: 0.9638 MB / 3.596 GB, free: 77.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.009575/11.71, allocations: 2.189 MB / 3.598 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009028/11.71, allocations: 239 kB / 3.599 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/11.71, allocations: 7 kB / 3.599 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/11.71, allocations: 73.78 kB / 3.599 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/11.71, allocations: 237 kB / 3.599 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/11.72, allocations: 0.8438 MB / 3.6 GB, free: 76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/11.72, allocations: 0.8424 MB / 3.601 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008715/11.72, allocations: 183.2 kB / 3.601 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/11.72, allocations: 174.9 kB / 3.601 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/11.72, allocations: 0 / 3.601 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/11.82, allocations: 38.77 MB / 3.639 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/11.82, allocations: 153.3 kB / 3.639 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.12/15.94, allocations: 0 / 3.639 GB, free: 74.44 MB / 0.5105 GB