Running command: "" <> buildModelFMU(Chemical.Examples.FluidAdapter,fileNamePrefix="Chemical_Chemical_Examples_FluidAdapter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.079/2.079, allocations: 215.4 MB / 227.5 MB, free: 364 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.89e-05, allocations: 7.984 kB / 280.5 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 50.02 MB / 330.5 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.644/9.756, allocations: 2.867 GB / 3.19 GB, free: 82.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/9.756, allocations: 70.69 kB / 3.19 GB, free: 82.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074/11.83, allocations: 356.3 MB / 3.538 GB, free: 46.1 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/11.83, allocations: 0 / 3.538 GB, free: 46.1 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001164/11.83, allocations: 28.94 kB / 3.538 GB, free: 46.1 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.01073/11.84, allocations: 2.083 MB / 3.54 GB, free: 44.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/11.84, allocations: 11.78 kB / 3.54 GB, free: 44.98 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007567/11.84, allocations: 166.6 kB / 3.54 GB, free: 44.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/11.84, allocations: 181.8 kB / 3.54 GB, free: 44.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/11.85, allocations: 0.8968 MB / 3.541 GB, free: 44.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/11.85, allocations: 93.88 kB / 3.541 GB, free: 44.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007215/11.85, allocations: 114 kB / 3.542 GB, free: 44.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005745/11.85, allocations: 1.545 MB / 3.543 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/11.85, allocations: 7.922 kB / 3.543 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/11.85, allocations: 47.97 kB / 3.543 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/11.85, allocations: 63.17 kB / 3.543 GB, free: 44.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00637/11.86, allocations: 1.912 MB / 3.545 GB, free: 44.4 MB / 442.7 MB 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.01624/11.88, allocations: 5.798 MB / 3.551 GB, free: 41.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004881/11.88, allocations: 1.488 MB / 3.552 GB, free: 40.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/11.88, allocations: 0.5669 MB / 3.553 GB, free: 40.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1629/12.05, allocations: 52 MB / 3.603 GB, free: 18.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.443e-05/12.05, allocations: 51.5 kB / 3.604 GB, free: 18.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=104): time 4.829e-06/12.05, allocations: 0 / 3.604 GB, free: 18.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=132): time 0.0249/12.07, allocations: 5.19 MB / 3.609 GB, free: 14.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/12.07, allocations: 94.42 kB / 3.609 GB, free: 14.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/12.07, allocations: 0.6331 MB / 3.609 GB, free: 13.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004337/12.07, allocations: 49.7 kB / 3.609 GB, free: 13.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/12.07, allocations: 0.4946 MB / 3.61 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000774/12.07, allocations: 465.6 kB / 3.61 GB, free: 12.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/12.07, allocations: 28 kB / 3.61 GB, free: 12.66 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003683/12.07, allocations: 412.5 kB / 3.611 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/12.08, allocations: 0.608 MB / 3.611 GB, free: 11.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/12.08, allocations: 0.8968 MB / 3.612 GB, free: 10.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002194/12.08, allocations: 0.7226 MB / 3.613 GB, free: 10.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.334e-05/12.08, allocations: 4 kB / 3.613 GB, free: 10.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007496/12.09, allocations: 1.984 MB / 3.615 GB, free: 8.238 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001396/12.09, allocations: 3.14 MB / 3.618 GB, free: 4.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/12.09, allocations: 8 kB / 3.618 GB, free: 4.852 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/12.09, allocations: 296.9 kB / 3.618 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/12.09, allocations: 339.1 kB / 3.619 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/12.11, allocations: 9.313 MB / 3.628 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003003/12.11, allocations: 91.44 kB / 3.628 GB, free: 10.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006672/12.11, allocations: 83.64 kB / 3.628 GB, free: 10.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/12.11, allocations: 0 / 3.628 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01782/12.13, allocations: 1.855 MB / 3.63 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-05/12.13, allocations: 8 kB / 3.63 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00746/12.14, allocations: 300.3 kB / 3.63 GB, free: 8.281 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/12.14, allocations: 333.7 kB / 3.63 GB, free: 8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3919/12.53, allocations: 9.327 MB / 3.639 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/12.54, allocations: 79.92 kB / 3.639 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000445/12.54, allocations: 84.42 kB / 3.639 GB, free: 71.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 4 (pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,fluidConversion2.state.phase,fluidConversion1.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {1 2,1 1,1 2,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006333/12.54, allocations: 186.5 kB / 3.64 GB, free: 71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/12.54, allocations: 105.5 kB / 3.64 GB, free: 71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/12.55, allocations: 2.904 MB / 3.643 GB, free: 70.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.637e-05/12.55, allocations: 25 kB / 3.643 GB, free: 70.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/12.55, allocations: 6.203 kB / 3.643 GB, free: 70.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.337e-05/12.55, allocations: 9.734 kB / 3.643 GB, free: 70.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/12.56, allocations: 4.385 MB / 3.647 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.874e-05/12.56, allocations: 6.844 kB / 3.647 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/12.56, allocations: 240.7 kB / 3.647 GB, free: 70.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001935/12.57, allocations: 296.8 kB / 3.647 GB, free: 70.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004426/12.57, allocations: 46.7 kB / 3.647 GB, free: 70.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007298/12.57, allocations: 6.722 MB / 3.654 GB, free: 64.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/12.57, allocations: 1.312 kB / 3.654 GB, free: 64.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00997/12.58, allocations: 3.232 MB / 3.657 GB, free: 63.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001408/12.59, allocations: 378.9 kB / 3.658 GB, free: 63.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000571/12.59, allocations: 27.16 kB / 3.658 GB, free: 63.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/12.59, allocations: 52.3 kB / 3.658 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005566/12.59, allocations: 111.8 kB / 3.658 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000406/12.59, allocations: 60.41 kB / 3.658 GB, free: 63.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001128/12.59, allocations: 494 kB / 3.658 GB, free: 63.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.71e-07/12.59, allocations: 0 / 3.658 GB, free: 63.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01081/12.6, allocations: 2.021 MB / 3.66 GB, free: 63.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (leftSolution.T,leftSolution.freeInternalEnergy,H2O_left.log10n,rightSolution.T,rightSolution.freeInternalEnergy,H2O_right.log10n) * Number of discrete variables: 8 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 4 {1 2,1 1,1 2,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02334/12.62, allocations: 6.268 MB / 3.666 GB, free: 62.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01494/12.64, allocations: 3.521 MB / 3.67 GB, free: 61.43 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/12.64, allocations: 3.375 kB / 3.67 GB, free: 61.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005175/12.64, allocations: 1.374 MB / 3.671 GB, free: 61.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/12.65, allocations: 313 kB / 3.671 GB, free: 61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01856/12.67, allocations: 3.261 MB / 3.675 GB, free: 60.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001756/12.67, allocations: 1.264 MB / 3.676 GB, free: 59.48 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006202/12.68, allocations: 0.8237 MB / 3.677 GB, free: 59.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/12.68, allocations: 0.5478 MB / 3.677 GB, free: 59.45 MB / 474.7 MB Notification: Performance of SimCode: time 2.164e-06/12.68, allocations: 2.156 kB / 3.677 GB, free: 59.45 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.214/12.89, allocations: 70.53 MB / 3.746 GB, free: 55.63 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/12.89, allocations: 157.2 kB / 3.746 GB, free: 55.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.749/18.64, allocations: 0 / 3.746 GB, free: 55.41 MB / 474.7 MB