Running command: "" <> buildModelFMU(BioChem.Examples.centralMetabolism.extra_cellular,fileNamePrefix="BioChem_BioChem_Examples_centralMetabolism_extra_cellular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BioChem): time 2.385/2.385, allocations: 217.9 MB / 230 MB, free: 14.39 MB / 202.7 MB Warning: Ignoring unknown experiment annotation option: Algorithm = "dassl" Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.162e-05, allocations: 4 kB / 283.5 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1552, allocations: 50.41 MB / 333.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5072/0.6624, allocations: 94.32 MB / 428.2 MB, free: 1.355 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6627, allocations: 66.83 kB / 428.3 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1669/0.8297, allocations: 39.34 MB / 467.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8298, allocations: 0 / 467.6 MB, free: 14.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.971e-05/0.8298, allocations: 24 kB / 467.6 MB, free: 14.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.00417/0.834, allocations: 1.241 MB / 468.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.8341, allocations: 8.031 kB / 468.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004715/0.8346, allocations: 198.9 kB / 469.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003431/0.8349, allocations: 134.5 kB / 469.2 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.836, allocations: 0.5323 MB / 469.7 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.8362, allocations: 106.8 kB / 469.8 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.8365, allocations: 143.9 kB / 470 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.8399, allocations: 1.255 MB / 471.2 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/0.84, allocations: 15.84 kB / 471.2 MB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.8402, allocations: 59.98 kB / 471.3 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.8403, allocations: 32 kB / 471.3 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.8433, allocations: 1.029 MB / 472.4 MB, free: 9.988 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.8558, allocations: 4.389 MB / 476.7 MB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.8587, allocations: 1.594 MB / 478.3 MB, free: 3.711 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.86, allocations: 478.3 kB / 478.8 MB, free: 3.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.8602, allocations: 8.781 kB / 478.8 MB, free: 3.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.8602, allocations: 47.28 kB / 478.9 MB, free: 3.176 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.518e-06/0.8603, allocations: 4 kB / 478.9 MB, free: 3.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=114): time 0.02345/0.8837, allocations: 4.212 MB / 483.1 MB, free: 14.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.8838, allocations: 68.39 kB / 483.1 MB, free: 14.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.8844, allocations: 318.8 kB / 483.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.8847, allocations: 49.7 kB / 483.5 MB, free: 14.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/0.8851, allocations: 0.5181 MB / 484 MB, free: 13.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/0.8858, allocations: 414 kB / 484.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8859, allocations: 27.94 kB / 484.5 MB, free: 13.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.8861, allocations: 382.7 kB / 484.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.8874, allocations: 386.6 kB / 485.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.8889, allocations: 0.6382 MB / 485.8 MB, free: 12.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.8904, allocations: 0.5141 MB / 486.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.8904, allocations: 0 / 486.4 MB, free: 11.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004341/0.8948, allocations: 1.341 MB / 487.7 MB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.8949, allocations: 8 kB / 487.7 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.8949, allocations: 8 kB / 487.7 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007671/0.8957, allocations: 130.2 kB / 487.8 MB, free: 10 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.8985, allocations: 287.6 kB / 488.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/0.9029, allocations: 3.142 MB / 491.3 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/0.9045, allocations: 59.94 kB / 491.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.9047, allocations: 48 kB / 491.4 MB, free: 6.199 MB / 410.7 MB Warning: Assuming fixed start value for the following 17 variables: LACext.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.G3P.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.mitochondria.NADm.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.mitochondria.NADHm.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.mitochondria.V:VARIABLE(start = 2.0 unit = "l" stateSelect=StateSelect.prefer ) "Compartment volume" type: Real cytosol.F6P.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.GLY.c:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = 1.0 unit = "mol/l" stateSelect=StateSelect.prefer ) "Current concentration of substance (mM)" type: Real cytosol.CP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.LAC.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.AMP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.IMP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.ADP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.PYR.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real V:VARIABLE(start = 2.0 unit = "l" stateSelect=StateSelect.prefer ) "Compartment volume" type: Real cytosol.V:VARIABLE(start = 2.0 unit = "l" stateSelect=StateSelect.prefer ) "Compartment volume" type: Real cytosol.NADH.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real cytosol.FDP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.9053, allocations: 231.3 kB / 491.6 MB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.9056, allocations: 71.25 kB / 491.7 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.906, allocations: 123 kB / 491.8 MB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.906, allocations: 15.94 kB / 491.8 MB, free: 5.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/0.906, allocations: 4 kB / 491.8 MB, free: 5.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.9061, allocations: 7.984 kB / 491.8 MB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/0.9135, allocations: 2.542 MB / 494.4 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.9136, allocations: 0 / 494.4 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/0.9162, allocations: 219.7 kB / 494.6 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007812/0.9171, allocations: 121.6 kB / 494.7 MB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002265/0.9173, allocations: 31.98 kB / 494.7 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.922, allocations: 3.13 MB / 497.9 MB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.922, allocations: 0 / 497.9 MB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.9274, allocations: 1.747 MB / 499.6 MB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.9277, allocations: 128.4 kB / 499.7 MB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.928, allocations: 24 kB / 499.7 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.9292, allocations: 51.86 kB / 499.8 MB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.9295, allocations: 68.91 kB / 499.9 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/0.9296, allocations: 31.98 kB / 499.9 MB, free: 13.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004255/0.9301, allocations: 241.2 kB / 0.4884 GB, free: 13.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9301, allocations: 0 / 0.4884 GB, free: 13.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001634/0.9317, allocations: 276 kB / 0.4887 GB, free: 12.78 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 17 (V,cytosol.V,cytosol.NADH.n,cytosol.FDP.n,cytosol.PYR.n,cytosol.ADP.n,cytosol.IMP.n,cytosol.AMP.n,cytosol.LAC.n,cytosol.CP.n,cytosol.GLY.c,cytosol.F6P.n,cytosol.mitochondria.V,cytosol.mitochondria.NADHm.n,cytosol.mitochondria.NADm.n,cytosol.G3P.n,LACext.n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 104 * 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: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005633/0.9374, allocations: 2.399 MB / 0.491 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004/0.9414, allocations: 1.292 MB / 0.4923 GB, free: 9.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.9415, allocations: 4 kB / 0.4923 GB, free: 9.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002709/0.9443, allocations: 0.7569 MB / 0.493 GB, free: 8.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.9453, allocations: 97.47 kB / 0.4931 GB, free: 8.148 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/0.9553, allocations: 2.801 MB / 0.4958 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009918/0.9563, allocations: 1.092 MB / 0.4969 GB, free: 4.184 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.9574, allocations: 93.69 kB / 0.497 GB, free: 4.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/0.9584, allocations: 415.3 kB / 0.4974 GB, free: 3.684 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/0.9585, allocations: 0 / 0.4974 GB, free: 3.684 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06286/1.021, allocations: 17.03 MB / 0.514 GB, free: 2.73 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004847/1.022, allocations: 169.5 kB / 0.5142 GB, free: 2.496 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/4.568, allocations: 4 kB / 0.5142 GB, free: 2.492 MB / 442.7 MB