Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_NIST,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_NIST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.105/2.105, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.127e-05, allocations: 4 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 50.01 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5808, allocations: 90.05 MB / 420.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5811, allocations: 70.78 kB / 420.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/1.636, allocations: 150 MB / 0.5573 GB, free: 81.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.636, allocations: 3 kB / 0.5573 GB, free: 81.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002266/1.636, allocations: 62.11 kB / 0.5574 GB, free: 81.23 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: 705 * Number of variables: 705 Notification: Performance of Generate backend data structure: time 0.01294/1.649, allocations: 3.484 MB / 0.5608 GB, free: 79.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.649, allocations: 8.375 kB / 0.5608 GB, free: 79.54 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001491/1.651, allocations: 379 kB / 0.5612 GB, free: 79.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/1.652, allocations: 336 kB / 0.5615 GB, free: 79.32 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/1.659, allocations: 2.196 MB / 0.5636 GB, free: 78.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/1.66, allocations: 216.1 kB / 0.5638 GB, free: 78.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/1.661, allocations: 296.8 kB / 0.5641 GB, free: 78.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01931/1.681, allocations: 4.683 MB / 0.5687 GB, free: 78.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001663/1.681, allocations: 0 / 0.5687 GB, free: 78.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001451/1.682, allocations: 111.9 kB / 0.5688 GB, free: 78.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003571/1.683, allocations: 97.73 kB / 0.5689 GB, free: 78.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02908/1.712, allocations: 8.161 MB / 0.5769 GB, free: 78.61 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.05166/1.764, allocations: 15.75 MB / 0.5922 GB, free: 71.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02751/1.791, allocations: 7.618 MB / 0.5997 GB, free: 68.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005448/1.797, allocations: 1.939 MB / 0.6016 GB, free: 67.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01424/1.811, allocations: 11.53 MB / 0.6128 GB, free: 56.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/1.811, allocations: 73.69 kB / 0.6129 GB, free: 56.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=336): time 7.153e-06/1.811, allocations: 0 / 0.6129 GB, free: 56.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=438): time 0.06748/1.879, allocations: 16.05 MB / 0.6286 GB, free: 43.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/1.879, allocations: 154.8 kB / 0.6287 GB, free: 43.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005346/1.884, allocations: 3.249 MB / 0.6319 GB, free: 40.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.885, allocations: 93.7 kB / 0.632 GB, free: 40.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/1.886, allocations: 1.068 MB / 0.633 GB, free: 39.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002308/1.889, allocations: 1.464 MB / 0.6345 GB, free: 38.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001115/1.89, allocations: 88 kB / 0.6345 GB, free: 38.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002884/1.89, allocations: 474.1 kB / 0.635 GB, free: 37.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007215/1.897, allocations: 2.569 MB / 0.6375 GB, free: 35.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007804/1.905, allocations: 3.27 MB / 0.6407 GB, free: 31.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/1.913, allocations: 2.86 MB / 0.6435 GB, free: 29.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/1.913, allocations: 8 kB / 0.6435 GB, free: 29.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.0224/1.936, allocations: 7.166 MB / 0.6505 GB, free: 22.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/1.936, allocations: 12 kB / 0.6505 GB, free: 22.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.151e-05/1.936, allocations: 20 kB / 0.6505 GB, free: 22.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003939/1.94, allocations: 0.7102 MB / 0.6512 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009086/1.949, allocations: 1.085 MB / 0.6523 GB, free: 21.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/1.967, allocations: 22.83 MB / 0.6746 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005277/1.973, allocations: 170.9 kB / 0.6747 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.974, allocations: 293.2 kB / 0.675 GB, free: 12.46 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 516 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 6,1 3,1 6,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001365/1.975, allocations: 355.8 kB / 0.6754 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.976, allocations: 288.4 kB / 0.6756 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/2.002, allocations: 6.909 MB / 0.6824 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-05/2.003, allocations: 44 kB / 0.6824 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/2.003, allocations: 4 kB / 0.6824 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/2.003, allocations: 20.48 kB / 0.6824 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4241/2.427, allocations: 10.81 MB / 0.693 GB, free: 85.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001036/2.427, allocations: 8.375 kB / 0.693 GB, free: 85.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007435/2.434, allocations: 0.8174 MB / 0.6938 GB, free: 85.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/2.439, allocations: 0.697 MB / 0.6945 GB, free: 85.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001466/2.44, allocations: 172.7 kB / 0.6946 GB, free: 85.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01251/2.453, allocations: 11.31 MB / 0.7057 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-05/2.453, allocations: 14.11 kB / 0.7057 GB, free: 76.39 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02966/2.482, allocations: 9.04 MB / 0.7145 GB, free: 74.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00422/2.487, allocations: 1 MB / 0.7155 GB, free: 74.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/2.489, allocations: 87.39 kB / 0.7156 GB, free: 74.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/2.494, allocations: 124.9 kB / 0.7157 GB, free: 74.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001719/2.495, allocations: 360 kB / 0.7161 GB, free: 74.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008865/2.496, allocations: 232.4 kB / 0.7163 GB, free: 74.54 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004371/2.501, allocations: 2.569 MB / 0.7188 GB, free: 74.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.501, allocations: 0 / 0.7188 GB, free: 74.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01208/2.513, allocations: 2.779 MB / 0.7215 GB, free: 74.35 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 15 (water_solution_37degC1.T,water_solution_37degC1.freeInternalEnergy,CO2_0.log10n,O2_0.log10n,water_0.log10n,water_solution_37degC.T,water_solution_37degC.freeInternalEnergy,CO2_37.log10n,O2_37.log10n,water_37.log10n,water_solution_25degC.T,water_solution_25degC.freeInternalEnergy,CO2_25.log10n,O2_25.log10n,water_25.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (417): * Single equations (assignments): 408 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 6 {1 3,1 6,1 3,1 6,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.03609/2.549, allocations: 14.85 MB / 0.736 GB, free: 69.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01707/2.566, allocations: 6.143 MB / 0.742 GB, free: 68.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.566, allocations: 0 / 0.742 GB, free: 68.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007728/2.574, allocations: 3.093 MB / 0.745 GB, free: 67.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005263/2.579, allocations: 0.5289 MB / 0.7455 GB, free: 67.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/2.603, allocations: 6.844 MB / 0.7522 GB, free: 64.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/2.604, allocations: 1.81 MB / 0.754 GB, free: 63.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007825/2.612, allocations: 1.563 MB / 0.7555 GB, free: 63.44 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004633/2.617, allocations: 1.529 MB / 0.757 GB, free: 62.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/2.617, allocations: 3.719 kB / 0.757 GB, free: 62.48 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5985/3.216, allocations: 107.1 MB / 0.8616 GB, free: 89.81 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/3.216, allocations: 159.9 kB / 0.8618 GB, free: 89.59 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/10.74, allocations: 0 / 0.8618 GB, free: 89.59 MB / 474.7 MB