Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin2_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin2_MWC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.103/2.103, 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.573e-05/3.579e-05, allocations: 4 kB / 273.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.34 MB / 322.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4919/0.6017, allocations: 97.47 MB / 419.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.6021, allocations: 81.45 kB / 419.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.009/1.611, allocations: 182.9 MB / 0.5885 GB, free: 80.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.611, allocations: 0 / 0.5885 GB, free: 80.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004293/1.612, allocations: 91.91 kB / 0.5886 GB, free: 80.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.01017/1.622, allocations: 2.571 MB / 0.5911 GB, free: 77.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.622, allocations: 8.031 kB / 0.5911 GB, free: 77.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006597/1.623, allocations: 239.7 kB / 0.5914 GB, free: 77.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001488/1.624, allocations: 293.6 kB / 0.5916 GB, free: 77.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005635/1.63, allocations: 1.632 MB / 0.5932 GB, free: 75.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/1.63, allocations: 119 kB / 0.5934 GB, free: 75.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/1.631, allocations: 164 kB / 0.5935 GB, free: 75.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004951/1.635, allocations: 2.052 MB / 0.5955 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.841e-05/1.636, allocations: 0 / 0.5955 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002035/1.636, allocations: 60 kB / 0.5956 GB, free: 72.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.847e-05/1.636, allocations: 58.97 kB / 0.5956 GB, free: 72.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004736/1.641, allocations: 1.84 MB / 0.5974 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02497/1.666, allocations: 7.102 MB / 0.6044 GB, free: 63.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/1.669, allocations: 1.516 MB / 0.6058 GB, free: 62.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/1.671, allocations: 0.9531 MB / 0.6068 GB, free: 61.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/1.671, allocations: 13 kB / 0.6068 GB, free: 61.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/1.671, allocations: 51.5 kB / 0.6068 GB, free: 61.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=118): time 6.192e-06/1.671, allocations: 4 kB / 0.6068 GB, free: 61.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=183): time 0.1843/1.855, allocations: 27.89 MB / 0.6341 GB, free: 33.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.098e-05/1.855, allocations: 253.3 kB / 0.6343 GB, free: 32.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/1.86, allocations: 2.133 MB / 0.6364 GB, free: 30.65 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004932/1.86, allocations: 61.7 kB / 0.6365 GB, free: 30.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009112/1.861, allocations: 1.067 MB / 0.6375 GB, free: 29.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.862, allocations: 0.6277 MB / 0.6381 GB, free: 28.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/1.863, allocations: 44 kB / 0.6382 GB, free: 28.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/1.863, allocations: 406.4 kB / 0.6385 GB, free: 28.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/1.867, allocations: 1.737 MB / 0.6402 GB, free: 26.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004229/1.871, allocations: 2.353 MB / 0.6425 GB, free: 24.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/1.875, allocations: 1.937 MB / 0.6444 GB, free: 22.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/1.875, allocations: 12 kB / 0.6444 GB, free: 22.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=290) (initialization): time 0.04166/1.917, allocations: 8.603 MB / 0.6528 GB, free: 13.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/1.917, allocations: 16 kB / 0.6529 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.919e-05/1.917, allocations: 20 kB / 0.6529 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01815/1.935, allocations: 4.09 MB / 0.6569 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003141/1.938, allocations: 443.3 kB / 0.6573 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.416/2.354, allocations: 34.33 MB / 0.6908 GB, free: 73.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01308/2.368, allocations: 296.3 kB / 0.6911 GB, free: 73.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006905/2.368, allocations: 98.3 kB / 0.6912 GB, free: 73.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 202 * 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 {(10,28.0%) 34} * Non-linear torn systems: 1 {10 34} Notification: Performance of prepare postOptimizeDAE: time 0.001017/2.369, allocations: 232.9 kB / 0.6914 GB, free: 73.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/2.372, allocations: 248.2 kB / 0.6916 GB, free: 73.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/2.373, allocations: 392.6 kB / 0.692 GB, free: 73.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/2.373, allocations: 25.16 kB / 0.692 GB, free: 73.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/2.373, allocations: 9.172 kB / 0.6921 GB, free: 73.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/2.373, allocations: 14.77 kB / 0.6921 GB, free: 73.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06958/2.443, allocations: 12.4 MB / 0.7042 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/2.443, allocations: 17.59 kB / 0.7042 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/2.444, allocations: 235 kB / 0.7044 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01747/2.462, allocations: 3.861 MB / 0.7082 GB, free: 72.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003596/2.462, allocations: 62.3 kB / 0.7083 GB, free: 72.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07387/2.536, allocations: 22.47 MB / 0.7302 GB, free: 69.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/2.536, allocations: 27.81 kB / 0.7302 GB, free: 69.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04394/2.58, allocations: 12.26 MB / 0.7422 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003048/2.583, allocations: 0.6852 MB / 0.7429 GB, free: 64.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007294/2.584, allocations: 59.12 kB / 0.7429 GB, free: 64.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008025/2.592, allocations: 248.2 kB / 0.7431 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009119/2.593, allocations: 225.8 kB / 0.7434 GB, free: 64.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002375/2.593, allocations: 74.59 kB / 0.7434 GB, free: 64.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00329/2.597, allocations: 1.631 MB / 0.745 GB, free: 63.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.597, allocations: 0 / 0.745 GB, free: 63.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01733/2.614, allocations: 3.88 MB / 0.7488 GB, free: 59.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 7 (totalHb.state[1],T0_in_T.state[3],T0_in_T.state[2],T0_in_T.state[1],R0_in_R.state[3],R0_in_R.state[2],R0_in_R.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * 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 {(10,28.0%) 34} * Non-linear torn systems: 1 {10 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.04747/2.661, allocations: 18.14 MB / 0.7665 GB, free: 41.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0214/2.683, allocations: 5.524 MB / 0.7719 GB, free: 35.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/2.683, allocations: 4 kB / 0.7719 GB, free: 35.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01257/2.696, allocations: 3.072 MB / 0.7749 GB, free: 32.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/2.7, allocations: 0.578 MB / 0.7755 GB, free: 31.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/2.716, allocations: 5.941 MB / 0.7813 GB, free: 25.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/2.718, allocations: 2.168 MB / 0.7834 GB, free: 23.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002727/2.721, allocations: 0.6203 MB / 0.784 GB, free: 23.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/2.722, allocations: 0.9193 MB / 0.7849 GB, free: 22.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/2.722, allocations: 0 / 0.7849 GB, free: 22.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5198/3.242, allocations: 93.68 MB / 0.8764 GB, free: 102.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/3.242, allocations: 238.8 kB / 0.8766 GB, free: 102.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/10.03, allocations: 6.203 kB / 0.8766 GB, free: 102.1 MB / 458.7 MB