Running command: translateModel(Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,tolerance=1e-14,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation") Notification: Performance of loadModel(Physiolibrary): time 1.911/1.911, allocations: 210.4 MB / 222.5 MB, free: 4.805 MB / 186.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" Notification: Performance of FrontEnd - loaded program: time 3.906e-05/3.905e-05, allocations: 0 / 273.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 48.36 MB / 322.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/0.492, allocations: 99.24 MB / 421.4 MB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4923, allocations: 85.95 kB / 421.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.97/3.462, allocations: 0.5903 GB / 1.002 GB, free: 8.871 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.215e-06/3.462, allocations: 0 / 1.002 GB, free: 8.871 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001992/3.464, allocations: 283.7 kB / 1.002 GB, free: 8.594 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.03352/3.498, allocations: 8.074 MB / 1.01 GB, free: 452 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/3.498, allocations: 12.03 kB / 1.01 GB, free: 440 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7365/4.234, allocations: 0.9039 MB / 1.011 GB, free: 31.16 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03817/4.272, allocations: 7.475 MB / 1.018 GB, free: 30.46 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000846/4.273, allocations: 397 kB / 1.019 GB, free: 30.45 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/4.277, allocations: 0.5176 MB / 1.019 GB, free: 30.45 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03607/4.313, allocations: 7.952 MB / 1.027 GB, free: 30.02 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003738/4.313, allocations: 6.344 kB / 1.027 GB, free: 30.02 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002984/4.317, allocations: 189.3 kB / 1.027 GB, free: 30.02 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/4.317, allocations: 118.9 kB / 1.027 GB, free: 30.02 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/4.338, allocations: 7.956 MB / 1.035 GB, free: 30 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08404/4.422, allocations: 30 MB / 1.064 GB, free: 25.75 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/4.434, allocations: 6.404 MB / 1.071 GB, free: 25.14 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007011/4.441, allocations: 3.818 MB / 1.074 GB, free: 24.92 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/4.441, allocations: 51.8 kB / 1.074 GB, free: 24.91 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.371e-05/4.441, allocations: 102.6 kB / 1.074 GB, free: 24.87 MB / 474.8 MB Notification: Performance of pre-optimization done (n=374): time 9.743e-06/4.441, allocations: 0 / 1.074 GB, free: 24.87 MB / 474.8 MB Notification: Performance of matching and sorting (n=562): time 1.432/5.873, allocations: 237.1 MB / 1.306 GB, free: 54.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/5.874, allocations: 0.7316 MB / 1.307 GB, free: 53.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02031/5.894, allocations: 8.374 MB / 1.315 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001571/5.895, allocations: 136.5 kB / 1.315 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00471/5.9, allocations: 3.638 MB / 1.319 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004596/5.905, allocations: 1.936 MB / 1.32 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/5.906, allocations: 151.8 kB / 1.321 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005713/5.907, allocations: 0.6073 MB / 1.321 GB, free: 50.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01322/5.92, allocations: 6.94 MB / 1.328 GB, free: 50.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01534/5.935, allocations: 9.198 MB / 1.337 GB, free: 48.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01521/5.95, allocations: 7.884 MB / 1.345 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.124e-05/5.951, allocations: 21.53 kB / 1.345 GB, free: 47.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=958) (initialization): time 0.156/6.107, allocations: 46.97 MB / 1.391 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/6.107, allocations: 36 kB / 1.391 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/6.107, allocations: 75.95 kB / 1.391 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4273/6.534, allocations: 38.73 MB / 1.428 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/6.542, allocations: 1.346 MB / 1.43 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2943/6.836, allocations: 130 MB / 1.557 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0223/6.858, allocations: 0.9611 MB / 1.558 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002207/6.861, allocations: 334.8 kB / 1.558 GB, free: 30.94 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.002362/6.863, allocations: 0.5177 MB / 1.559 GB, free: 30.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005394/6.868, allocations: 0.8062 MB / 1.559 GB, free: 29.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/6.874, allocations: 1.264 MB / 1.561 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-05/6.874, allocations: 60 kB / 1.561 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.791e-05/6.874, allocations: 24 kB / 1.561 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001147/6.874, allocations: 40.69 kB / 1.561 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5214/7.395, allocations: 62.45 MB / 1.622 GB, free: 59.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001141/7.395, allocations: 54.14 kB / 1.622 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002984/7.398, allocations: 0.6111 MB / 1.622 GB, free: 59.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1027/7.501, allocations: 32.52 MB / 1.654 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001543/7.503, allocations: 203.8 kB / 1.654 GB, free: 56.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2349/7.738, allocations: 90.04 MB / 1.742 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.835e-05/7.738, allocations: 71.88 kB / 1.742 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5459/8.284, allocations: 65.8 MB / 1.807 GB, free: 68.96 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0178/8.301, allocations: 2.566 MB / 1.809 GB, free: 68.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00572/8.307, allocations: 189.7 kB / 1.809 GB, free: 68.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0438/8.351, allocations: 0.7789 MB / 1.81 GB, free: 68.87 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003409/8.355, allocations: 0.7316 MB / 1.811 GB, free: 68.83 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001175/8.356, allocations: 224 kB / 1.811 GB, free: 68.83 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01526/8.371, allocations: 6.446 MB / 1.817 GB, free: 68.54 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.048e-06/8.371, allocations: 0 / 1.817 GB, free: 68.54 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.051/8.422, allocations: 12.5 MB / 1.829 GB, free: 68.54 MB / 0.5262 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.01136/8.433, allocations: 3.162 MB / 1.833 GB, free: 68.39 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.05093/8.484, allocations: 19.6 MB / 1.852 GB, free: 67.75 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.15e-05/8.485, allocations: 7.312 kB / 1.852 GB, free: 67.75 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02827/8.513, allocations: 10.65 MB / 1.862 GB, free: 67.18 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0132/8.526, allocations: 2.17 MB / 1.864 GB, free: 67.08 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0376/8.564, allocations: 18.8 MB / 1.883 GB, free: 62.71 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/8.574, allocations: 6.224 MB / 1.889 GB, free: 61.81 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.00901/8.583, allocations: 2.176 MB / 1.891 GB, free: 61.74 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002185/8.585, allocations: 478.7 kB / 1.891 GB, free: 61.73 MB / 0.5262 GB Notification: Performance of SimCode: time 2.553e-06/8.585, allocations: 0 / 1.891 GB, free: 61.73 MB / 0.5262 GB Notification: Performance of Templates: time 0.9035/9.489, allocations: 268 MB / 2.153 GB, free: 10.95 MB / 0.5418 GB