Running command: "" <> buildModelFMU(Chemical.Examples.FluidAdapter2_0,fileNamePrefix="Chemical_Chemical_Examples_FluidAdapter2_0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.135/2.135, allocations: 215.4 MB / 227.5 MB, free: 364 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.221e-05/4.234e-05, allocations: 4 kB / 280.5 MB, free: 11.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 50.02 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.297/9.418, allocations: 2.842 GB / 3.165 GB, free: 80.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/9.418, allocations: 77.42 kB / 3.165 GB, free: 80.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.399/11.82, allocations: 479.4 MB / 3.633 GB, free: 4.113 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.144e-06/11.82, allocations: 0 / 3.633 GB, free: 4.113 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.864e-05/11.82, allocations: 22.19 kB / 3.633 GB, free: 4.094 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.008337/11.83, allocations: 1.786 MB / 3.635 GB, free: 2.273 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/11.83, allocations: 12.03 kB / 3.635 GB, free: 2.262 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004646/11.83, allocations: 148 kB / 3.635 GB, free: 2.109 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/11.83, allocations: 178.6 kB / 3.636 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002605/11.83, allocations: 0.7993 MB / 3.636 GB, free: 1.105 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/11.83, allocations: 74 kB / 3.636 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004156/11.83, allocations: 111.9 kB / 3.636 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3612/12.19, allocations: 1.384 MB / 3.638 GB, free: 47.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/12.19, allocations: 1.5 kB / 3.638 GB, free: 47.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/12.19, allocations: 41.73 kB / 3.638 GB, free: 47.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/12.19, allocations: 23.62 kB / 3.638 GB, free: 47.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006222/12.2, allocations: 1.83 MB / 3.64 GB, free: 47.41 MB / 458.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.0143/12.21, allocations: 5.477 MB / 3.645 GB, free: 45.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007412/12.22, allocations: 2.006 MB / 3.647 GB, free: 44.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/12.22, allocations: 0.6509 MB / 3.648 GB, free: 44.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06017/12.28, allocations: 20.52 MB / 3.668 GB, free: 32.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/12.28, allocations: 48.28 kB / 3.668 GB, free: 32.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=103): time 4.037e-06/12.28, allocations: 0 / 3.668 GB, free: 32.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.01853/12.3, allocations: 4.6 MB / 3.672 GB, free: 32.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/12.3, allocations: 94.36 kB / 3.672 GB, free: 32.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009658/12.3, allocations: 0.5455 MB / 3.673 GB, free: 31.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003156/12.3, allocations: 47.3 kB / 3.673 GB, free: 31.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/12.3, allocations: 401.3 kB / 3.673 GB, free: 31.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005121/12.3, allocations: 446.1 kB / 3.674 GB, free: 31.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/12.3, allocations: 27.22 kB / 3.674 GB, free: 31.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/12.3, allocations: 407.4 kB / 3.674 GB, free: 31.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/12.31, allocations: 0.5594 MB / 3.675 GB, free: 31.17 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/12.31, allocations: 0.7613 MB / 3.675 GB, free: 30.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/12.31, allocations: 0.7027 MB / 3.676 GB, free: 30.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/12.31, allocations: 3.781 kB / 3.676 GB, free: 30.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.005043/12.31, allocations: 1.786 MB / 3.678 GB, free: 30.69 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.71e-05/12.31, allocations: 62.72 kB / 3.678 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/12.31, allocations: 11.16 kB / 3.678 GB, free: 30.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/12.32, allocations: 202.8 kB / 3.678 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/12.32, allocations: 297.7 kB / 3.678 GB, free: 30.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/12.32, allocations: 6.27 MB / 3.684 GB, free: 24.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/12.33, allocations: 82.62 kB / 3.685 GB, free: 24.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/12.33, allocations: 73.05 kB / 3.685 GB, free: 24.78 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (boundary.medium.phase,waterFlow.ind,etchanolFlow.ind,fluidConversion1.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004004/12.33, allocations: 182.8 kB / 3.685 GB, free: 24.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/12.33, allocations: 100.3 kB / 3.685 GB, free: 24.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/12.33, allocations: 2.494 MB / 3.687 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/12.33, allocations: 17.44 kB / 3.687 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/12.33, allocations: 0 / 3.687 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/12.33, allocations: 7.781 kB / 3.687 GB, free: 24.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009845/12.34, allocations: 3.778 MB / 3.691 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/12.34, allocations: 3.656 kB / 3.691 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002183/12.35, allocations: 252.9 kB / 3.691 GB, free: 24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001158/12.35, allocations: 198.9 kB / 3.691 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/12.35, allocations: 45.38 kB / 3.692 GB, free: 23.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/12.35, allocations: 3.695 MB / 3.695 GB, free: 36.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/12.35, allocations: 3.062 kB / 3.695 GB, free: 36.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/12.36, allocations: 2.841 MB / 3.698 GB, free: 36.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/12.36, allocations: 400.9 kB / 3.698 GB, free: 36.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/12.36, allocations: 25.72 kB / 3.698 GB, free: 36.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/12.36, allocations: 51.27 kB / 3.698 GB, free: 36.23 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003106/12.36, allocations: 108.6 kB / 3.698 GB, free: 36.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001756/12.36, allocations: 62.05 kB / 3.699 GB, free: 36.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0009714/12.36, allocations: 0.5161 MB / 3.699 GB, free: 36.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/12.36, allocations: 3.688 kB / 3.699 GB, free: 36.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007233/12.37, allocations: 1.518 MB / 3.701 GB, free: 36.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (simpleSolution1.T,simpleSolution1.freeInternalEnergy,H2O.log10n,C2H5OH.log10n) * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse8.phase,$cse8.region,boundary.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01848/12.39, allocations: 5.786 MB / 3.706 GB, free: 34.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004837/12.39, allocations: 1.813 MB / 3.708 GB, free: 34.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/12.39, allocations: 0 / 3.708 GB, free: 34.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/12.4, allocations: 1.039 MB / 3.709 GB, free: 34.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/12.4, allocations: 342.5 kB / 3.709 GB, free: 34.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/12.41, allocations: 2.68 MB / 3.712 GB, free: 33.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009875/12.41, allocations: 1.164 MB / 3.713 GB, free: 32.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002236/12.41, allocations: 474.6 kB / 3.713 GB, free: 32.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/12.41, allocations: 0.4907 MB / 3.714 GB, free: 32.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.393e-06/12.41, allocations: 3.031 kB / 3.714 GB, free: 32.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1657/12.58, allocations: 66.59 MB / 3.779 GB, free: 23.36 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/12.58, allocations: 199.8 kB / 3.779 GB, free: 23.13 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.692/18.27, allocations: 0 / 3.779 GB, free: 23.13 MB / 474.7 MB