Running command: "" <> buildModelFMU(BioChem.Examples.CellDivison.cell,fileNamePrefix="BioChem_BioChem_Examples_CellDivison_cell",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BioChem): time 2.386/2.386, 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 4.382e-05/4.412e-05, allocations: 4 kB / 283.5 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1449, allocations: 50.4 MB / 333.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4754/0.6203, allocations: 89.04 MB / 422.9 MB, free: 6.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.6206, allocations: 58.16 kB / 423 MB, free: 6.152 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03119/0.6518, allocations: 7.168 MB / 430.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6519, allocations: 0 / 430.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.6519, allocations: 8 kB / 430.1 MB, free: 15.98 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001371/0.6533, allocations: 0.6263 MB / 430.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.6534, allocations: 12.03 kB / 430.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.6536, allocations: 95.89 kB / 430.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.6537, allocations: 51.44 kB / 430.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.6539, allocations: 218.5 kB / 431.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.654, allocations: 46.45 kB / 431.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.6541, allocations: 56.56 kB / 431.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.6554, allocations: 0.4948 MB / 431.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.6554, allocations: 4 kB / 431.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.6555, allocations: 23.19 kB / 431.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.6556, allocations: 16 kB / 431.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009515/0.6565, allocations: 335.9 kB / 432.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/0.6608, allocations: 1.586 MB / 433.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000834/0.6617, allocations: 267.4 kB / 433.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.6621, allocations: 192.6 kB / 434.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.6622, allocations: 8.531 kB / 434.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.6622, allocations: 34.5 kB / 434.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 5.941e-06/0.6622, allocations: 11.98 kB / 434.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.005699/0.6679, allocations: 1.304 MB / 435.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.668, allocations: 55.41 kB / 435.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.6683, allocations: 177.1 kB / 435.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.6684, allocations: 29.27 kB / 435.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.6686, allocations: 278.8 kB / 436 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6688, allocations: 153.9 kB / 436.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.6688, allocations: 10.75 kB / 436.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.669, allocations: 336.9 kB / 436.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.6694, allocations: 127.1 kB / 436.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.6699, allocations: 303.2 kB / 436.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.6704, allocations: 187.9 kB / 437.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6704, allocations: 0 / 437.1 MB, free: 9.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001239/0.6716, allocations: 497.8 kB / 437.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.6717, allocations: 8 kB / 437.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.6717, allocations: 12.03 kB / 437.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.702e-05/0.6718, allocations: 8 kB / 437.6 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.6729, allocations: 143 kB / 437.8 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.6729, allocations: 11.98 kB / 437.8 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.6734, allocations: 26.41 kB / 437.8 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/0.6735, allocations: 30.58 kB / 437.8 MB, free: 9.402 MB / 362.7 MB Warning: Assuming fixed start value for the following 8 variables: YP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real V:VARIABLE(start = 1.0 unit = "l" stateSelect=StateSelect.prefer ) "Compartment volume" type: Real EmptySet.c:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 0.0 unit = "mol/l" stateSelect=StateSelect.prefer ) "Current concentration of substance (mM)" type: Real C2.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real CP.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real M.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real pM.n:VARIABLE(min = 0.0 unit = "mol" stateSelect=StateSelect.prefer ) "Number of moles of substance in pool (mol)" type: Real Y.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: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003555/0.6738, allocations: 181 kB / 438 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.6739, allocations: 23.72 kB / 438 MB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.6741, allocations: 35.22 kB / 438.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6741, allocations: 8 kB / 438.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6741, allocations: 0 / 438.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6741, allocations: 3.984 kB / 438.1 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.6762, allocations: 0.8768 MB / 439 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.6762, allocations: 4 kB / 439 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.6772, allocations: 95.28 kB / 439.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6772, allocations: 0 / 439.1 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/0.6772, allocations: 11.38 kB / 439.1 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-05/0.6773, allocations: 7.984 kB / 439.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6773, allocations: 0 / 439.1 MB, free: 8.359 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.6785, allocations: 0.5955 MB / 439.7 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.6787, allocations: 100.8 kB / 439.8 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.6787, allocations: 9.688 kB / 439.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003625/0.6791, allocations: 21.95 kB / 439.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.6792, allocations: 31.23 kB / 439.8 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.6793, allocations: 14.92 kB / 439.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.6794, allocations: 122.1 kB / 440 MB, free: 7.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6794, allocations: 0 / 440 MB, free: 7.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007087/0.6802, allocations: 106.2 kB / 440.1 MB, free: 7.523 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (V,EmptySet.c,C2.n,CP.n,M.n,pM.n,Y.n,YP.n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/0.6819, allocations: 1.212 MB / 441.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.6829, allocations: 382 kB / 441.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6829, allocations: 0 / 441.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.6833, allocations: 161.9 kB / 441.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.6838, allocations: 43.36 kB / 441.9 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.6874, allocations: 1.131 MB / 443 MB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.6881, allocations: 0.8271 MB / 443.8 MB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003361/0.6884, allocations: 38.95 kB / 443.8 MB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.6888, allocations: 148.2 kB / 444 MB, free: 4.016 MB / 362.7 MB Notification: Performance of SimCode: time 1.933e-06/0.6888, allocations: 0 / 444 MB, free: 4.016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0319/0.7207, allocations: 5.858 MB / 449.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004807/0.7213, allocations: 137.5 kB / 450 MB, free: 14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.294, allocations: 0 / 450 MB, free: 14 MB / 378.7 MB