Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.Hemoglobin.Allosteric_Hemoglobin_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_Hemoglobin_Allosteric_Hemoglobin_MWC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.043/2.043, 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.636e-05/3.644e-05, allocations: 9.094 kB / 273.9 MB, free: 1.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.35 MB / 322.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5714, allocations: 97.08 MB / 419.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.5717, allocations: 81.39 kB / 419.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.926/2.498, allocations: 342.2 MB / 0.7438 GB, free: 59.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/2.498, allocations: 0 / 0.7438 GB, free: 59.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000296/2.499, allocations: 71.41 kB / 0.7438 GB, free: 59.83 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: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.009173/2.508, allocations: 2.083 MB / 0.7459 GB, free: 58.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/2.508, allocations: 9.688 kB / 0.7459 GB, free: 58.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000458/2.508, allocations: 172.2 kB / 0.746 GB, free: 58.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/2.51, allocations: 243.2 kB / 0.7463 GB, free: 58.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/2.514, allocations: 1.231 MB / 0.7475 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/2.514, allocations: 88.17 kB / 0.7476 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/2.514, allocations: 119.9 kB / 0.7477 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/2.517, allocations: 1.216 MB / 0.7489 GB, free: 58.03 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/2.518, allocations: 3.938 kB / 0.7489 GB, free: 58.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/2.518, allocations: 43.41 kB / 0.7489 GB, free: 58.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/2.518, allocations: 31.44 kB / 0.7489 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/2.52, allocations: 0.9753 MB / 0.7499 GB, free: 58.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01492/2.535, allocations: 4.187 MB / 0.754 GB, free: 56.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/2.537, allocations: 0.9157 MB / 0.7549 GB, free: 56.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/2.539, allocations: 0.6191 MB / 0.7555 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/2.539, allocations: 9.344 kB / 0.7555 GB, free: 55.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/2.539, allocations: 50.09 kB / 0.7555 GB, free: 55.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 4.288e-06/2.539, allocations: 3.375 kB / 0.7555 GB, free: 55.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=161): time 0.1137/2.653, allocations: 12.47 MB / 0.7677 GB, free: 46.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/2.653, allocations: 102.4 kB / 0.7678 GB, free: 46.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003202/2.656, allocations: 1.532 MB / 0.7693 GB, free: 44.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004297/2.657, allocations: 53.7 kB / 0.7694 GB, free: 44.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/2.657, allocations: 0.8831 MB / 0.7702 GB, free: 43.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001349/2.659, allocations: 0.5351 MB / 0.7708 GB, free: 43.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002828/2.659, allocations: 40 kB / 0.7708 GB, free: 43.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/2.659, allocations: 377.9 kB / 0.7712 GB, free: 43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002888/2.662, allocations: 1.113 MB / 0.7722 GB, free: 41.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/2.665, allocations: 1.511 MB / 0.7737 GB, free: 40.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/2.669, allocations: 1.216 MB / 0.7749 GB, free: 39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/2.669, allocations: 8 kB / 0.7749 GB, free: 39 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.04098/2.71, allocations: 5.568 MB / 0.7803 GB, free: 33.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/2.71, allocations: 12 kB / 0.7804 GB, free: 33.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/2.71, allocations: 12 kB / 0.7804 GB, free: 33.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0238/2.734, allocations: 3.174 MB / 0.7835 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/2.736, allocations: 239.6 kB / 0.7837 GB, free: 29.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0848/2.82, allocations: 26.62 MB / 0.8097 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006809/2.827, allocations: 116 kB / 0.8098 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/2.828, allocations: 79.95 kB / 0.8099 GB, free: 2.543 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * 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,56.0%) 49} * Non-linear torn systems: 1 {10 49} Notification: Performance of prepare postOptimizeDAE: time 0.000518/2.828, allocations: 196.6 kB / 0.8101 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/2.83, allocations: 225.1 kB / 0.8103 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008421/2.831, allocations: 311.2 kB / 0.8106 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/2.831, allocations: 16 kB / 0.8106 GB, free: 1.801 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/2.831, allocations: 8 kB / 0.8106 GB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/2.831, allocations: 7.969 kB / 0.8106 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007505/2.838, allocations: 2.244 MB / 0.8128 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/2.838, allocations: 4 kB / 0.8128 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/2.839, allocations: 95.88 kB / 0.8129 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02422/2.864, allocations: 2.979 MB / 0.8158 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004786/2.864, allocations: 39.95 kB / 0.8158 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08227/2.946, allocations: 20.11 MB / 0.8355 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.946, allocations: 0 / 0.8355 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04521/2.992, allocations: 7.15 MB / 0.8425 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/2.995, allocations: 0.5449 MB / 0.843 GB, free: 200 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007877/2.995, allocations: 28 kB / 0.843 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006076/3.001, allocations: 75.78 kB / 0.8431 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3218/3.323, allocations: 147.6 kB / 0.8432 GB, free: 82.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000435/3.324, allocations: 48.22 kB / 0.8433 GB, free: 82.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003301/3.327, allocations: 1.156 MB / 0.8444 GB, free: 82.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.503e-06/3.327, allocations: 0 / 0.8444 GB, free: 82.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01721/3.344, allocations: 2.954 MB / 0.8473 GB, free: 82.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (hemoglobinConservationLaw.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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,58.0%) 49} * Non-linear torn systems: 1 {10 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.05551/3.4, allocations: 9.867 MB / 0.8569 GB, free: 81.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01828/3.418, allocations: 3.868 MB / 0.8607 GB, free: 80.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/3.418, allocations: 0 / 0.8607 GB, free: 80.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01508/3.433, allocations: 2.532 MB / 0.8632 GB, free: 80.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/3.437, allocations: 375.8 kB / 0.8635 GB, free: 80.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/3.45, allocations: 3.655 MB / 0.8671 GB, free: 79.69 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/3.452, allocations: 1.658 MB / 0.8687 GB, free: 78.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001553/3.453, allocations: 263.7 kB / 0.869 GB, free: 78.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/3.454, allocations: 0.7568 MB / 0.8697 GB, free: 78.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.733e-06/3.454, allocations: 0 / 0.8697 GB, free: 78.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1993/3.654, allocations: 87.33 MB / 0.955 GB, free: 38.56 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/3.654, allocations: 238.6 kB / 0.9552 GB, free: 38.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/10.77, allocations: 4 kB / 0.9552 GB, free: 38.23 MB / 458.7 MB