Running command: "" <> buildModelFMU(Chemical.Examples.GasSolubility_blood,fileNamePrefix="Chemical_Chemical_Examples_GasSolubility_blood",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Chemical): time 2.121/2.121, allocations: 215.4 MB / 227.5 MB, free: 356 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.601e-05, allocations: 4 kB / 280.5 MB, free: 11.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 50.02 MB / 330.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5109/0.6258, allocations: 89.46 MB / 420 MB, free: 8.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.6262, allocations: 67.91 kB / 420.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3011/0.9273, allocations: 62.61 MB / 482.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.9274, allocations: 0 / 482.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001025/0.9275, allocations: 24 kB / 482.7 MB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.005728/0.9332, allocations: 1.606 MB / 484.3 MB, free: 14.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.433e-05/0.9333, allocations: 8.031 kB / 484.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006367/0.9339, allocations: 169.1 kB / 484.5 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.9344, allocations: 134.4 kB / 484.6 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/0.9379, allocations: 1.039 MB / 485.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.9381, allocations: 86.3 kB / 485.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007627/0.9389, allocations: 127.9 kB / 485.9 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006555/0.9454, allocations: 1.893 MB / 487.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.761e-05/0.9455, allocations: 3.938 kB / 487.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.9459, allocations: 48 kB / 487.8 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.946, allocations: 43.98 kB / 487.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009548/0.9556, allocations: 3.276 MB / 491.1 MB, free: 7.238 MB / 410.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.02127/0.9769, allocations: 6.479 MB / 497.6 MB, free: 0.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/0.9937, allocations: 3.832 MB / 0.4897 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002697/0.9964, allocations: 0.836 MB / 0.4905 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008149/1.005, allocations: 5.128 MB / 0.4955 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.914e-05/1.005, allocations: 43.88 kB / 0.4955 GB, free: 5.723 MB / 426.7 MB Notification: Performance of pre-optimization done (n=141): time 4.338e-06/1.005, allocations: 0 / 0.4955 GB, free: 5.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.04426/1.049, allocations: 6.506 MB / 0.5019 GB, free: 15.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/1.049, allocations: 73.41 kB / 0.502 GB, free: 15.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/1.053, allocations: 1.218 MB / 0.5032 GB, free: 13.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007539/1.054, allocations: 57.7 kB / 0.5032 GB, free: 13.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007365/1.055, allocations: 472.1 kB / 0.5037 GB, free: 13.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.056, allocations: 0.6121 MB / 0.5043 GB, free: 12.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006798/1.057, allocations: 36 kB / 0.5043 GB, free: 12.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005043/1.057, allocations: 418.7 kB / 0.5047 GB, free: 12.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0052/1.063, allocations: 1.023 MB / 0.5057 GB, free: 11.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005633/1.068, allocations: 1.308 MB / 0.507 GB, free: 9.805 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00563/1.074, allocations: 1.15 MB / 0.5081 GB, free: 8.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/1.074, allocations: 0 / 0.5081 GB, free: 8.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=233) (initialization): time 0.0146/1.089, allocations: 2.881 MB / 0.5109 GB, free: 5.762 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/1.089, allocations: 8 kB / 0.5109 GB, free: 5.754 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/1.089, allocations: 11.95 kB / 0.5109 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/1.092, allocations: 290.2 kB / 0.5112 GB, free: 5.449 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006168/1.098, allocations: 455.4 kB / 0.5116 GB, free: 5.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3052/1.403, allocations: 8.947 MB / 0.5204 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/1.405, allocations: 70.64 kB / 0.5204 GB, free: 108.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005991/1.406, allocations: 122.9 kB / 0.5206 GB, free: 108.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,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 8,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005693/1.406, allocations: 204.2 kB / 0.5207 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/1.407, allocations: 116.6 kB / 0.5209 GB, free: 108.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.417, allocations: 2.916 MB / 0.5237 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/1.417, allocations: 19.56 kB / 0.5237 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.417, allocations: 1.375 kB / 0.5237 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-05/1.418, allocations: 8.016 kB / 0.5237 GB, free: 108.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.433, allocations: 4.523 MB / 0.5282 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.266e-05/1.433, allocations: 5.469 kB / 0.5282 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.436, allocations: 356.4 kB / 0.5285 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001655/1.438, allocations: 278 kB / 0.5288 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000555/1.438, allocations: 73.61 kB / 0.5288 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004344/1.443, allocations: 3.848 MB / 0.5326 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/1.443, allocations: 6.625 kB / 0.5326 GB, free: 104.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01129/1.454, allocations: 3.772 MB / 0.5363 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.456, allocations: 473.1 kB / 0.5367 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005912/1.457, allocations: 41.97 kB / 0.5368 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/1.458, allocations: 54.91 kB / 0.5368 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005521/1.459, allocations: 153.9 kB / 0.537 GB, free: 103.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003415/1.459, allocations: 105.6 kB / 0.5371 GB, free: 103.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001917/1.461, allocations: 0.9727 MB / 0.538 GB, free: 103.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.461, allocations: 0 / 0.538 GB, free: 103.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006107/1.467, allocations: 1.128 MB / 0.5391 GB, free: 103.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (blood_plasma.T,blood_plasma.freeInternalEnergy,CO2_unbound_plasma.log10n,O2_unbound_plasma.log10n,water.log10n,others.log10n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 172 * 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: 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.01416/1.482, allocations: 6.669 MB / 0.5456 GB, free: 101.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006981/1.489, allocations: 2.465 MB / 0.548 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.489, allocations: 6.281 kB / 0.548 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003142/1.492, allocations: 1.253 MB / 0.5493 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.494, allocations: 241.7 kB / 0.5495 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/1.503, allocations: 2.785 MB / 0.5522 GB, free: 99.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.504, allocations: 1.136 MB / 0.5533 GB, free: 99.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003032/1.507, allocations: 0.6417 MB / 0.554 GB, free: 99.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/1.508, allocations: 0.5932 MB / 0.5545 GB, free: 98.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/1.508, allocations: 0 / 0.5545 GB, free: 98.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/1.654, allocations: 45.49 MB / 0.599 GB, free: 81.09 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002936/1.654, allocations: 168.7 kB / 0.5991 GB, free: 80.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.5/6.154, allocations: 0 / 0.5991 GB, free: 80.86 MB / 442.7 MB