Running command: translateModel(Chemical.Examples.FluidAdapter2_0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.FluidAdapter2_0") Notification: Performance of loadModel(Chemical): time 1.85/1.85, allocations: 215.4 MB / 227.5 MB, free: 352 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.932e-05, allocations: 5.25 kB / 280.4 MB, free: 11.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.08445, allocations: 50.02 MB / 330.4 MB, free: 9.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.888/6.973, allocations: 2.842 GB / 3.165 GB, free: 77.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/6.973, allocations: 78.56 kB / 3.165 GB, free: 77.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.949/8.922, allocations: 479.3 MB / 3.633 GB, free: 4.902 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.148e-06/8.922, allocations: 192 / 3.633 GB, free: 4.902 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.271e-05/8.922, allocations: 24 kB / 3.633 GB, free: 4.879 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.005423/8.927, allocations: 1.787 MB / 3.635 GB, free: 3.055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/8.927, allocations: 8.031 kB / 3.635 GB, free: 3.047 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/8.928, allocations: 178.6 kB / 3.635 GB, free: 2.871 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/8.93, allocations: 0.7962 MB / 3.636 GB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/8.93, allocations: 74 kB / 3.636 GB, free: 1.977 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/8.93, allocations: 106 kB / 3.636 GB, free: 1.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/8.933, allocations: 1.399 MB / 3.638 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/8.933, allocations: 0 / 3.638 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/8.934, allocations: 36 kB / 3.638 GB, free: 428 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/8.934, allocations: 27.95 kB / 3.638 GB, free: 400 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004334/8.938, allocations: 1.831 MB / 3.639 GB, free: 14.56 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.01098/8.949, allocations: 5.468 MB / 3.645 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/8.955, allocations: 2.011 MB / 3.647 GB, free: 6.797 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/8.956, allocations: 0.6525 MB / 3.647 GB, free: 6.137 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.312/9.268, allocations: 20.5 MB / 3.667 GB, free: 39.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/9.268, allocations: 43.78 kB / 3.667 GB, free: 39.44 MB / 458.7 MB Notification: Performance of pre-optimization done (n=103): time 4.059e-06/9.268, allocations: 3.281 kB / 3.667 GB, free: 39.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=129): time 0.01541/9.283, allocations: 4.61 MB / 3.672 GB, free: 38.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/9.284, allocations: 95.89 kB / 3.672 GB, free: 38.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009097/9.285, allocations: 0.5412 MB / 3.673 GB, free: 38.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/9.285, allocations: 46.33 kB / 3.673 GB, free: 38.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/9.285, allocations: 405.2 kB / 3.673 GB, free: 38.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/9.285, allocations: 438.8 kB / 3.673 GB, free: 38.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/9.285, allocations: 28.84 kB / 3.673 GB, free: 38.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/9.286, allocations: 404 kB / 3.674 GB, free: 37.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/9.287, allocations: 0.5553 MB / 3.674 GB, free: 37.98 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/9.288, allocations: 0.7626 MB / 3.675 GB, free: 37.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/9.29, allocations: 0.7033 MB / 3.676 GB, free: 37.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.971e-06/9.29, allocations: 6.844 kB / 3.676 GB, free: 37.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.004439/9.295, allocations: 1.792 MB / 3.678 GB, free: 37.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/9.295, allocations: 58.88 kB / 3.678 GB, free: 37.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/9.295, allocations: 11.31 kB / 3.678 GB, free: 37.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009833/9.296, allocations: 200.7 kB / 3.678 GB, free: 37.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/9.297, allocations: 299.3 kB / 3.678 GB, free: 37.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/9.302, allocations: 6.274 MB / 3.684 GB, free: 31.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/9.303, allocations: 79.45 kB / 3.684 GB, free: 31.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/9.303, allocations: 76.97 kB / 3.684 GB, free: 31.58 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.0003338/9.304, allocations: 175.9 kB / 3.685 GB, free: 31.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/9.304, allocations: 100.5 kB / 3.685 GB, free: 31.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005596/9.31, allocations: 2.486 MB / 3.687 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-05/9.31, allocations: 23.66 kB / 3.687 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/9.31, allocations: 0 / 3.687 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/9.31, allocations: 6.406 kB / 3.687 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/9.317, allocations: 3.78 MB / 3.691 GB, free: 30.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.655e-06/9.317, allocations: 0 / 3.691 GB, free: 30.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/9.319, allocations: 250.5 kB / 3.691 GB, free: 30.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009646/9.32, allocations: 210.5 kB / 3.691 GB, free: 30.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001282/9.32, allocations: 41.55 kB / 3.691 GB, free: 30.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/9.323, allocations: 3.699 MB / 3.695 GB, free: 27.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-06/9.323, allocations: 0 / 3.695 GB, free: 27.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005985/9.329, allocations: 2.839 MB / 3.698 GB, free: 27.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008616/9.33, allocations: 403.6 kB / 3.698 GB, free: 27.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/9.33, allocations: 26.44 kB / 3.698 GB, free: 27.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008576/9.331, allocations: 53.5 kB / 3.698 GB, free: 27.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/9.331, allocations: 100.5 kB / 3.698 GB, free: 27.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/9.331, allocations: 61.19 kB / 3.698 GB, free: 27.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007875/9.332, allocations: 0.5188 MB / 3.699 GB, free: 26.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/9.332, allocations: 0 / 3.699 GB, free: 26.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005582/9.338, allocations: 1.52 MB / 3.7 GB, free: 26.94 MB / 458.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.008301/9.346, allocations: 2.122 MB / 3.702 GB, free: 26.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003877/9.35, allocations: 1.806 MB / 3.704 GB, free: 26.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.589e-06/9.35, allocations: 6.5 kB / 3.704 GB, free: 26.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/9.352, allocations: 1.042 MB / 3.705 GB, free: 26.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/9.354, allocations: 338.5 kB / 3.705 GB, free: 26.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004339/9.358, allocations: 1.979 MB / 3.707 GB, free: 25.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007059/9.359, allocations: 1.164 MB / 3.709 GB, free: 25.05 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001786/9.361, allocations: 475 kB / 3.709 GB, free: 25.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005524/9.361, allocations: 143.8 kB / 3.709 GB, free: 25.03 MB / 458.7 MB Notification: Performance of SimCode: time 1.692e-06/9.361, allocations: 0 / 3.709 GB, free: 25.03 MB / 458.7 MB Notification: Performance of Templates: time 0.09364/9.455, allocations: 53.34 MB / 3.761 GB, free: 22.59 MB / 458.7 MB