Running command: translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Hemoglobin_MKM_Adair,tolerance=1e-14,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Hemoglobin_MKM_Adair") Notification: Performance of loadModel(Physiolibrary): time 1.958/1.958, allocations: 210.4 MB / 222.5 MB, free: 4.789 MB / 186.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.277e-05, allocations: 4 kB / 273.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09606/0.09611, allocations: 48.35 MB / 322.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3817/0.4779, allocations: 100.7 MB / 422.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.4781, allocations: 82.78 kB / 422.9 MB, free: 9.953 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.931/7.409, allocations: 1.302 GB / 1.715 GB, free: 27.74 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.995e-06/7.409, allocations: 0 / 1.715 GB, free: 27.74 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.004751/7.414, allocations: 0.684 MB / 1.715 GB, free: 27.58 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2839 * Number of variables: 2839 Notification: Performance of Generate backend data structure: time 0.1116/7.525, allocations: 20.17 MB / 1.735 GB, free: 21.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 8.274e-05/7.525, allocations: 10.84 kB / 1.735 GB, free: 21.36 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02199/7.547, allocations: 2.255 MB / 1.737 GB, free: 20.15 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05702/7.604, allocations: 16.51 MB / 1.754 GB, free: 17.64 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/7.606, allocations: 0.8681 MB / 1.754 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005739/7.612, allocations: 1.137 MB / 1.755 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05484/7.666, allocations: 18.78 MB / 1.774 GB, free: 17.08 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005582/7.667, allocations: 11 kB / 1.774 GB, free: 17.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004913/7.672, allocations: 439.2 kB / 1.774 GB, free: 17.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003788/7.672, allocations: 401.7 kB / 1.775 GB, free: 17.05 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04814/7.721, allocations: 18.73 MB / 1.793 GB, free: 17 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.232/7.953, allocations: 66.47 MB / 1.858 GB, free: 1.285 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4459/8.399, allocations: 11.4 MB / 1.869 GB, free: 53.43 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01409/8.413, allocations: 6.954 MB / 1.876 GB, free: 53.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000908/8.414, allocations: 67.8 kB / 1.876 GB, free: 53.24 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/8.414, allocations: 119.2 kB / 1.876 GB, free: 53.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=599): time 1.309e-05/8.414, allocations: 2.812 kB / 1.876 GB, free: 53.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1092): time 5.748/14.16, allocations: 0.907 GB / 2.783 GB, free: 21.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/14.16, allocations: 0.5753 MB / 2.784 GB, free: 20.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05496/14.22, allocations: 23.31 MB / 2.806 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.003262/14.22, allocations: 238.1 kB / 2.806 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.4453/14.67, allocations: 10.38 MB / 2.817 GB, free: 99.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.01183/14.68, allocations: 3.793 MB / 2.82 GB, free: 98.33 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003745/14.68, allocations: 353.2 kB / 2.821 GB, free: 98.33 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.001581/14.68, allocations: 1.033 MB / 2.822 GB, free: 97.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0341/14.72, allocations: 16.28 MB / 2.838 GB, free: 97.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03762/14.75, allocations: 22.54 MB / 2.86 GB, free: 90.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03758/14.79, allocations: 18.45 MB / 2.878 GB, free: 90.17 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002969/14.79, allocations: 59.56 kB / 2.878 GB, free: 90.17 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2254) (initialization): time 0.3209/15.11, allocations: 75.06 MB / 2.951 GB, free: 84.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001969/15.11, allocations: 95.47 kB / 2.951 GB, free: 84.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/15.11, allocations: 207.7 kB / 2.951 GB, free: 84.8 MB / 0.6511 GB Notification: Tearing is skipped for strong component 2 because system size of 270 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.1311/15.24, allocations: 93.07 MB / 3.042 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01644/15.26, allocations: 3.306 MB / 3.045 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8804/16.14, allocations: 167.4 MB / 3.209 GB, free: 60.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0575/16.2, allocations: 2.47 MB / 3.211 GB, free: 60.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006304/16.21, allocations: 0.8488 MB / 3.212 GB, free: 60.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 950 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1716): * Single equations (assignments): 1714 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(270,0.9%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {105 165} Notification: Performance of prepare postOptimizeDAE: time 0.01395/16.22, allocations: 1.137 MB / 3.213 GB, free: 60.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02309/16.24, allocations: 2.072 MB / 3.215 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/16.26, allocations: 3.249 MB / 3.218 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001976/16.26, allocations: 106.7 kB / 3.218 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001757/16.26, allocations: 44.84 kB / 3.219 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003262/16.26, allocations: 56.09 kB / 3.219 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8008/17.07, allocations: 100.2 MB / 3.316 GB, free: 72.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002019/17.07, allocations: 59.41 kB / 3.316 GB, free: 72.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005929/17.07, allocations: 1.068 MB / 3.318 GB, free: 72.62 MB / 0.6511 GB Notification: Tearing is skipped for strong component 4 because system size of 270 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.08479/17.16, allocations: 21.94 MB / 3.339 GB, free: 72.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003566/17.16, allocations: 311.2 kB / 3.339 GB, free: 72.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3034/17.46, allocations: 83.04 MB / 3.42 GB, free: 70.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.846e-05/17.46, allocations: 89.06 kB / 3.42 GB, free: 70.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2688/17.73, allocations: 116.8 MB / 3.534 GB, free: 30.92 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02723/17.76, allocations: 5.7 MB / 3.54 GB, free: 25.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01045/17.77, allocations: 270.7 kB / 3.54 GB, free: 25.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06522/17.84, allocations: 1.832 MB / 3.542 GB, free: 24.48 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009363/17.84, allocations: 1.296 MB / 3.543 GB, free: 23.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004049/17.85, allocations: 372.9 kB / 3.544 GB, free: 23.42 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.07346/17.92, allocations: 17.82 MB / 3.561 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.732e-06/17.92, allocations: 0 / 3.561 GB, free: 7.059 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.6866/18.61, allocations: 38.08 MB / 3.598 GB, free: 107 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 257 * Number of states: 16 (totalHemoglobin.state[1],Hb4.Hb_tn.state[3],Hb4.Hb_tn.state[2],Hb4.Hb_tn.state[1],Hb3.Hb_tn.state[3],Hb3.Hb_tn.state[2],Hb3.Hb_tn.state[1],Hb2.Hb_tn.state[3],Hb2.Hb_tn.state[2],Hb2.Hb_tn.state[1],Hb1.Hb_tn.state[3],Hb1.Hb_tn.state[2],Hb1.Hb_tn.state[1],Hb0.Hb_tn.state[3],Hb0.Hb_tn.state[2],Hb0.Hb_tn.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(270,0.9%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {105 165} Notification: Performance of Backend phase and start with SimCode phase: time 0.03876/18.65, allocations: 6.235 MB / 3.604 GB, free: 106.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.1725/18.82, allocations: 41.6 MB / 3.645 GB, free: 106 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.616e-05/18.82, allocations: 8.594 kB / 3.645 GB, free: 106 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.1019/18.92, allocations: 21.98 MB / 3.666 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05233/18.97, allocations: 4.523 MB / 3.671 GB, free: 105.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1756/19.15, allocations: 63.05 MB / 3.732 GB, free: 70.57 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03164/19.18, allocations: 13.64 MB / 3.746 GB, free: 60.87 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.02651/19.21, allocations: 5.979 MB / 3.752 GB, free: 56.83 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006682/19.22, allocations: 1.099 MB / 3.753 GB, free: 55.77 MB / 0.6667 GB Notification: Performance of SimCode: time 2.032e-06/19.22, allocations: 0 / 3.753 GB, free: 55.77 MB / 0.6667 GB Notification: Performance of Templates: time 2.523/21.74, allocations: 0.5084 GB / 4.261 GB, free: 29.31 MB / 0.6824 GB