Running command: "" <> buildModelFMU(Physiolibrary.SteadyStates.Examples.Allosteric_Hemoglobin_MWC,fileNamePrefix="Physiolibrary_Physiolibrary_SteadyStates_Examples_Allosteric_Hemoglobin_MWC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.054/2.054, allocations: 210.4 MB / 222.5 MB, free: 4.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.569e-05, allocations: 4 kB / 273.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 48.35 MB / 322.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.6132, allocations: 97.37 MB / 419.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/0.6136, allocations: 75.67 kB / 419.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.025/2.638, allocations: 342.2 MB / 0.744 GB, free: 60.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.125e-06/2.638, allocations: 0 / 0.744 GB, free: 60.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000292/2.639, allocations: 71.56 kB / 0.7441 GB, free: 60.04 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.009725/2.648, allocations: 2.076 MB / 0.7461 GB, free: 58.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/2.648, allocations: 11.25 kB / 0.7461 GB, free: 58.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005327/2.649, allocations: 174.8 kB / 0.7463 GB, free: 58.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/2.65, allocations: 236 kB / 0.7465 GB, free: 58.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/2.655, allocations: 1.234 MB / 0.7477 GB, free: 58.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/2.655, allocations: 89.39 kB / 0.7478 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/2.655, allocations: 117 kB / 0.7479 GB, free: 58.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/2.658, allocations: 1.215 MB / 0.7491 GB, free: 58.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/2.658, allocations: 3.938 kB / 0.7491 GB, free: 58.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/2.658, allocations: 46.64 kB / 0.7492 GB, free: 58.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/2.658, allocations: 34.47 kB / 0.7492 GB, free: 58.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002813/2.661, allocations: 0.966 MB / 0.7501 GB, free: 58.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01661/2.678, allocations: 4.2 MB / 0.7542 GB, free: 56.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/2.68, allocations: 0.9076 MB / 0.7551 GB, free: 56.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/2.682, allocations: 0.6193 MB / 0.7557 GB, free: 56.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/2.682, allocations: 15.62 kB / 0.7557 GB, free: 56.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/2.682, allocations: 43.12 kB / 0.7558 GB, free: 56.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 4.479e-06/2.682, allocations: 0 / 0.7558 GB, free: 56.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=161): time 0.1205/2.802, allocations: 12.47 MB / 0.768 GB, free: 46.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/2.802, allocations: 98.42 kB / 0.7681 GB, free: 46.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005396/2.808, allocations: 1.528 MB / 0.7696 GB, free: 44.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005979/2.809, allocations: 53.7 kB / 0.7696 GB, free: 44.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008953/2.809, allocations: 0.8792 MB / 0.7705 GB, free: 44.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00134/2.811, allocations: 0.5429 MB / 0.771 GB, free: 43.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/2.811, allocations: 40 kB / 0.771 GB, free: 43.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/2.811, allocations: 377.9 kB / 0.7714 GB, free: 43.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/2.814, allocations: 1.113 MB / 0.7725 GB, free: 41.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003061/2.817, allocations: 1.507 MB / 0.774 GB, free: 40.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/2.82, allocations: 1.224 MB / 0.7751 GB, free: 39.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/2.82, allocations: 8 kB / 0.7752 GB, free: 39.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.04013/2.86, allocations: 5.552 MB / 0.7806 GB, free: 33.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/2.861, allocations: 12 kB / 0.7806 GB, free: 33.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/2.861, allocations: 12 kB / 0.7806 GB, free: 33.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02402/2.885, allocations: 3.17 MB / 0.7837 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/2.887, allocations: 235.6 kB / 0.7839 GB, free: 30.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0856/2.972, allocations: 26.63 MB / 0.8099 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006963/2.979, allocations: 115.7 kB / 0.81 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005604/2.98, allocations: 79.97 kB / 0.8101 GB, free: 2.629 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.0005409/2.98, allocations: 196.6 kB / 0.8103 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/2.982, allocations: 221.2 kB / 0.8105 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/2.983, allocations: 315 kB / 0.8108 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/2.983, allocations: 16 kB / 0.8108 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.421e-05/2.983, allocations: 8 kB / 0.8108 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/2.983, allocations: 7.969 kB / 0.8108 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00757/2.991, allocations: 2.246 MB / 0.813 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/2.991, allocations: 4 kB / 0.813 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/2.992, allocations: 99.88 kB / 0.8131 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02618/3.018, allocations: 2.979 MB / 0.816 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004952/3.018, allocations: 39.95 kB / 0.8161 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08993/3.108, allocations: 20.11 MB / 0.8357 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/3.108, allocations: 0 / 0.8357 GB, free: 8.031 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04695/3.155, allocations: 7.135 MB / 0.8427 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003122/3.159, allocations: 0.5527 MB / 0.8432 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/3.161, allocations: 28 kB / 0.8433 GB, free: 260 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006368/3.167, allocations: 75.78 kB / 0.8433 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000996/3.168, allocations: 146.3 kB / 0.8435 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3637/3.532, allocations: 44.64 kB / 0.8435 GB, free: 82.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003284/3.535, allocations: 1.149 MB / 0.8446 GB, free: 82.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.473e-06/3.535, allocations: 0 / 0.8446 GB, free: 82.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01701/3.552, allocations: 2.963 MB / 0.8475 GB, free: 82.26 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.05754/3.61, allocations: 9.859 MB / 0.8571 GB, free: 81.33 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0201/3.63, allocations: 3.87 MB / 0.8609 GB, free: 80.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/3.63, allocations: 0 / 0.8609 GB, free: 80.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01537/3.645, allocations: 2.523 MB / 0.8634 GB, free: 80.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/3.649, allocations: 389.3 kB / 0.8638 GB, free: 80.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/3.663, allocations: 3.649 MB / 0.8673 GB, free: 79.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/3.664, allocations: 1.66 MB / 0.8689 GB, free: 79.15 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001754/3.666, allocations: 255 kB / 0.8692 GB, free: 79.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/3.668, allocations: 0.759 MB / 0.8699 GB, free: 79.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.904e-06/3.668, allocations: 0 / 0.8699 GB, free: 79.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/3.881, allocations: 87.23 MB / 0.9551 GB, free: 38.94 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/3.881, allocations: 235.2 kB / 0.9553 GB, free: 38.63 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/11.35, allocations: 0 / 0.9553 GB, free: 38.63 MB / 458.7 MB