Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Develop_Hemoglobin_oxygenation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.013/2.013, allocations: 210.4 MB / 222.5 MB, free: 4.801 MB / 186.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.26e-05, allocations: 1.094 kB / 273.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 48.36 MB / 322.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5594, allocations: 99.24 MB / 421.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5598, allocations: 82.89 kB / 421.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.233/3.793, allocations: 0.5904 GB / 1.002 GB, free: 8.496 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.544e-06/3.793, allocations: 0 / 1.002 GB, free: 8.496 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002286/3.795, allocations: 275.7 kB / 1.002 GB, free: 8.227 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1218 * Number of variables: 1218 Notification: Performance of Generate backend data structure: time 0.0418/3.837, allocations: 8.09 MB / 1.01 GB, free: 60 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/3.837, allocations: 8.031 kB / 1.01 GB, free: 52 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3563/4.194, allocations: 0.6513 MB / 1.011 GB, free: 32.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007613/4.201, allocations: 0.906 MB / 1.012 GB, free: 32.48 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0296/4.231, allocations: 7.476 MB / 1.019 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007462/4.232, allocations: 396.7 kB / 1.019 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003043/4.235, allocations: 0.5094 MB / 1.02 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02814/4.263, allocations: 7.958 MB / 1.028 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002047/4.263, allocations: 3.656 kB / 1.028 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/4.265, allocations: 194.8 kB / 1.028 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/4.266, allocations: 120.5 kB / 1.028 GB, free: 31.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/4.29, allocations: 7.954 MB / 1.036 GB, free: 31.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/4.393, allocations: 29.99 MB / 1.065 GB, free: 27.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/4.407, allocations: 6.405 MB / 1.071 GB, free: 26.46 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009078/4.417, allocations: 3.812 MB / 1.075 GB, free: 26.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/4.417, allocations: 52.22 kB / 1.075 GB, free: 26.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.371e-05/4.417, allocations: 105.4 kB / 1.075 GB, free: 26.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=374): time 8.165e-06/4.417, allocations: 0 / 1.075 GB, free: 26.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=562): time 2.078/6.495, allocations: 237.1 MB / 1.307 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002252/6.495, allocations: 0.7268 MB / 1.307 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01964/6.515, allocations: 8.375 MB / 1.316 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001836/6.517, allocations: 146 kB / 1.316 GB, free: 38.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004933/6.522, allocations: 3.639 MB / 1.319 GB, free: 37.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00553/6.527, allocations: 1.935 MB / 1.321 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/6.529, allocations: 150.2 kB / 1.321 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005826/6.529, allocations: 0.6064 MB / 1.322 GB, free: 36.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01539/6.545, allocations: 6.944 MB / 1.329 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01706/6.562, allocations: 9.191 MB / 1.338 GB, free: 28.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01757/6.579, allocations: 7.886 MB / 1.345 GB, free: 24.45 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/6.579, allocations: 20 kB / 1.345 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.643/7.222, allocations: 46.98 MB / 1.391 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/7.223, allocations: 36.66 kB / 1.391 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/7.223, allocations: 71.62 kB / 1.391 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1715/7.394, allocations: 38.73 MB / 1.429 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/7.408, allocations: 1.352 MB / 1.431 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3893/7.797, allocations: 130 MB / 1.558 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03066/7.828, allocations: 0.951 MB / 1.558 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002529/7.83, allocations: 339.9 kB / 1.559 GB, free: 18.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 328 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 678 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(34,8.7%) 106} * Non-linear torn systems: 1 {34 106} Notification: Performance of prepare postOptimizeDAE: time 0.003696/7.834, allocations: 0.5307 MB / 1.559 GB, free: 18.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006824/7.841, allocations: 0.8022 MB / 1.56 GB, free: 17.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/7.847, allocations: 1.264 MB / 1.561 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-05/7.847, allocations: 56 kB / 1.561 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.53e-05/7.847, allocations: 28 kB / 1.561 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001307/7.847, allocations: 35.89 kB / 1.561 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6835/8.531, allocations: 62.47 MB / 1.622 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001338/8.531, allocations: 46.5 kB / 1.622 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00429/8.535, allocations: 0.6129 MB / 1.623 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.162/8.697, allocations: 32.52 MB / 1.655 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001921/8.699, allocations: 194.7 kB / 1.655 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3216/9.021, allocations: 90.04 MB / 1.743 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.195e-05/9.021, allocations: 77.19 kB / 1.743 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6418/9.663, allocations: 65.8 MB / 1.807 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01201/9.675, allocations: 2.561 MB / 1.81 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004105/9.679, allocations: 187.9 kB / 1.81 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03814/9.717, allocations: 0.784 MB / 1.811 GB, free: 69.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005351/9.722, allocations: 0.7289 MB / 1.811 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001647/9.724, allocations: 224.5 kB / 1.812 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02251/9.747, allocations: 6.447 MB / 1.818 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.252e-06/9.747, allocations: 0 / 1.818 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.06715/9.814, allocations: 12.5 MB / 1.83 GB, free: 69.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 221 * Number of states: 24 (hemoglobin.state[1],hemoglobin.totalHb.state[1],hemoglobin.T.Speciation.state[11],hemoglobin.T.Speciation.state[10],hemoglobin.T.Speciation.state[9],hemoglobin.T.Speciation.state[8],hemoglobin.T.Speciation.state[7],hemoglobin.T.Speciation.state[6],hemoglobin.T.Speciation.state[5],hemoglobin.T.Speciation.state[4],hemoglobin.T.Speciation.state[3],hemoglobin.T.Speciation.state[2],hemoglobin.T.Speciation.state[1],hemoglobin.R.Speciation.state[11],hemoglobin.R.Speciation.state[10],hemoglobin.R.Speciation.state[9],hemoglobin.R.Speciation.state[8],hemoglobin.R.Speciation.state[7],hemoglobin.R.Speciation.state[6],hemoglobin.R.Speciation.state[5],hemoglobin.R.Speciation.state[4],hemoglobin.R.Speciation.state[3],hemoglobin.R.Speciation.state[2],hemoglobin.R.Speciation.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (321): * Single equations (assignments): 319 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(34,8.7%) 106} * Non-linear torn systems: 1 {34 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.2804/10.09, allocations: 76.53 MB / 1.905 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.07427/10.17, allocations: 19.6 MB / 1.924 GB, free: 41.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.983e-05/10.17, allocations: 7.625 kB / 1.924 GB, free: 41.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04395/10.21, allocations: 10.65 MB / 1.934 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01941/10.23, allocations: 2.182 MB / 1.937 GB, free: 37.12 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07145/10.3, allocations: 21.65 MB / 1.958 GB, free: 18.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01357/10.32, allocations: 6.221 MB / 1.964 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01276/10.33, allocations: 2.181 MB / 1.966 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009132/10.34, allocations: 3.283 MB / 1.969 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of SimCode: time 1.634e-06/10.34, allocations: 0 / 1.969 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.54/11.88, allocations: 353.1 MB / 2.314 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/11.88, allocations: 243.8 kB / 2.314 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.36/31.24, allocations: 4 kB / 2.314 GB, free: 55.47 MB / 0.5573 GB