Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.197/2.197, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.018e-05, allocations: 4 kB / 280.5 MB, free: 11.67 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 50.01 MB / 330.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.5637, allocations: 89.69 MB / 420.2 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.564, allocations: 75.39 kB / 420.3 MB, free: 8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4599/1.024, allocations: 95.04 MB / 0.5033 GB, free: 14.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.024, allocations: 0 / 0.5033 GB, free: 14.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001288/1.024, allocations: 43.98 kB / 0.5033 GB, free: 14.82 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: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.008836/1.033, allocations: 2.377 MB / 0.5056 GB, free: 12.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.033, allocations: 8.031 kB / 0.5056 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009407/1.034, allocations: 262.2 kB / 0.5059 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007163/1.035, allocations: 229.3 kB / 0.5061 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/1.04, allocations: 1.617 MB / 0.5077 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/1.041, allocations: 155.8 kB / 0.5078 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/1.042, allocations: 207.8 kB / 0.508 GB, free: 9.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/1.052, allocations: 3.003 MB / 0.511 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/1.052, allocations: 4 kB / 0.511 GB, free: 6.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005196/1.053, allocations: 79.98 kB / 0.511 GB, free: 6.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/1.053, allocations: 55.98 kB / 0.5111 GB, free: 6.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/1.068, allocations: 5.067 MB / 0.516 GB, free: 1.637 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.337/1.405, allocations: 10.41 MB / 0.5262 GB, free: 87.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02684/1.432, allocations: 6.446 MB / 0.5325 GB, free: 86.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004478/1.437, allocations: 1.481 MB / 0.5339 GB, free: 86.64 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/1.448, allocations: 8.966 MB / 0.5427 GB, free: 78.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.447e-05/1.448, allocations: 60.58 kB / 0.5428 GB, free: 78.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 5.761e-06/1.448, allocations: 0 / 0.5428 GB, free: 78.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=329): time 0.0541/1.503, allocations: 11.75 MB / 0.5542 GB, free: 77.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/1.503, allocations: 86.84 kB / 0.5543 GB, free: 77.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.505, allocations: 1.418 MB / 0.5557 GB, free: 77.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009542/1.506, allocations: 80.36 kB / 0.5558 GB, free: 77.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/1.506, allocations: 0.6461 MB / 0.5564 GB, free: 77.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.508, allocations: 1.095 MB / 0.5575 GB, free: 76.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004049/1.509, allocations: 64.94 kB / 0.5575 GB, free: 76.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002098/1.509, allocations: 424.5 kB / 0.5579 GB, free: 76.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004613/1.513, allocations: 1.626 MB / 0.5595 GB, free: 76.29 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/1.519, allocations: 2.036 MB / 0.5615 GB, free: 75.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/1.524, allocations: 1.813 MB / 0.5633 GB, free: 75.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/1.524, allocations: 2.531 kB / 0.5633 GB, free: 75.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01556/1.54, allocations: 4.617 MB / 0.5678 GB, free: 74.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/1.54, allocations: 8.469 kB / 0.5678 GB, free: 74.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.36e-05/1.54, allocations: 14.17 kB / 0.5678 GB, free: 74.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00287/1.543, allocations: 0.5032 MB / 0.5683 GB, free: 74.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006513/1.55, allocations: 0.762 MB / 0.5691 GB, free: 74.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/1.566, allocations: 16.57 MB / 0.5852 GB, free: 57.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/1.571, allocations: 117.4 kB / 0.5853 GB, free: 57.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001205/1.572, allocations: 201 kB / 0.5855 GB, free: 57.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 8,1 3,1 6,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009955/1.573, allocations: 275 kB / 0.5858 GB, free: 57.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007261/1.574, allocations: 189.1 kB / 0.586 GB, free: 57.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.595, allocations: 5.128 MB / 0.591 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.961e-05/1.595, allocations: 29.59 kB / 0.591 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/1.595, allocations: 2.312 kB / 0.591 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/1.595, allocations: 17.2 kB / 0.591 GB, free: 55.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.619, allocations: 7.762 MB / 0.5986 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.379e-05/1.619, allocations: 5.938 kB / 0.5986 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005196/1.624, allocations: 0.6222 MB / 0.5992 GB, free: 52.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.627, allocations: 0.5077 MB / 0.5997 GB, free: 52.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009199/1.628, allocations: 127 kB / 0.5998 GB, free: 51.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007971/1.636, allocations: 7.622 MB / 0.6073 GB, free: 44.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.636, allocations: 11.41 kB / 0.6073 GB, free: 44.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/1.654, allocations: 6.615 MB / 0.6138 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002471/1.657, allocations: 0.7305 MB / 0.6145 GB, free: 40.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008157/1.658, allocations: 69.77 kB / 0.6145 GB, free: 40.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002978/1.661, allocations: 90.27 kB / 0.6146 GB, free: 40.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/1.662, allocations: 270.9 kB / 0.6149 GB, free: 40.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005384/1.662, allocations: 180 kB / 0.6151 GB, free: 40.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001827/1.664, allocations: 1.11 MB / 0.6161 GB, free: 40.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.664, allocations: 2.375 kB / 0.6161 GB, free: 40.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007575/1.672, allocations: 1.774 MB / 0.6179 GB, free: 40.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 11 (blood_plasma.T,blood_plasma.freeInternalEnergy,red_cells.T,red_cells.freeInternalEnergy,CO2_unbound_plasma.log10n,O2_unbound_plasma.log10n,CO2_unbound_erythrocyte.log10n,O2_unbound_erythrocyte_NIST.log10n,water_plasma.log10n,water.log10n,water_plasma1.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 308 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 8,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04041/1.712, allocations: 10.85 MB / 0.6285 GB, free: 31.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03665/1.749, allocations: 4.191 MB / 0.6326 GB, free: 27.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.596e-05/1.749, allocations: 4 kB / 0.6326 GB, free: 27.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01287/1.762, allocations: 2.276 MB / 0.6348 GB, free: 24.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.766, allocations: 395 kB / 0.6352 GB, free: 24.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/1.782, allocations: 4.718 MB / 0.6398 GB, free: 20.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/1.784, allocations: 1.443 MB / 0.6412 GB, free: 18.97 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005028/1.789, allocations: 1.045 MB / 0.6422 GB, free: 18.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00292/1.792, allocations: 1.005 MB / 0.6432 GB, free: 17.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/1.792, allocations: 0 / 0.6432 GB, free: 17.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5019/2.293, allocations: 72.23 MB / 0.7137 GB, free: 96.75 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/2.294, allocations: 158.6 kB / 0.7139 GB, free: 96.53 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.867/8.161, allocations: 0 / 0.7139 GB, free: 96.53 MB / 458.7 MB