Running command: "" <> buildModelFMU(BioChem.Examples.GMO.cell,fileNamePrefix="BioChem_BioChem_Examples_GMO_cell",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BioChem): time 2.409/2.409, 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.244e-05/4.263e-05, allocations: 4 kB / 283.5 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 50.41 MB / 333.9 MB, free: 7.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4901/0.61, allocations: 87.24 MB / 421.1 MB, free: 7.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.6103, allocations: 62.34 kB / 421.2 MB, free: 7.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0207/0.631, allocations: 4.743 MB / 425.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6311, allocations: 0 / 425.9 MB, free: 3.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.6311, allocations: 8 kB / 425.9 MB, free: 3.844 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001151/0.6323, allocations: 0.5434 MB / 426.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6324, allocations: 8.031 kB / 426.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.6325, allocations: 73.78 kB / 426.5 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.161e-05/0.6326, allocations: 31.62 kB / 426.6 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.6328, allocations: 205.9 kB / 426.8 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.515e-05/0.6329, allocations: 31.3 kB / 426.8 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.633, allocations: 44.8 kB / 426.9 MB, free: 2.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000753/0.6337, allocations: 284.1 kB / 427.1 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.6338, allocations: 4 kB / 427.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.6338, allocations: 16.81 kB / 427.2 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.6338, allocations: 8 kB / 427.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006318/0.6345, allocations: 224.7 kB / 427.4 MB, free: 2.531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.6376, allocations: 1.037 MB / 428.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.6381, allocations: 168.3 kB / 428.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/0.6384, allocations: 127.4 kB / 428.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6385, allocations: 4.188 kB / 428.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.6385, allocations: 38.06 kB / 428.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.406e-06/0.6385, allocations: 4 kB / 428.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.003123/0.6417, allocations: 0.8345 MB / 429.6 MB, free: 0.668 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.6418, allocations: 55.34 kB / 429.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.642, allocations: 150.9 kB / 429.8 MB, free: 472 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.642, allocations: 29.02 kB / 429.8 MB, free: 440 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.6422, allocations: 210.1 kB / 430 MB, free: 244 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.6423, allocations: 95.83 kB / 430.1 MB, free: 160 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.6423, allocations: 10.94 kB / 430.1 MB, free: 156 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6425, allocations: 324.3 kB / 430.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/0.6428, allocations: 85.81 kB / 430.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.6431, allocations: 182.5 kB / 430.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.6434, allocations: 121.9 kB / 430.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6434, allocations: 0 / 430.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007889/0.6442, allocations: 332.3 kB / 431.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.6443, allocations: 11.94 kB / 431.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.6443, allocations: 4 kB / 431.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.668e-05/0.6443, allocations: 8 kB / 431.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.6449, allocations: 79.7 kB / 431.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.05e-05/0.645, allocations: 11.94 kB / 431.3 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.6453, allocations: 15.73 kB / 431.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.6453, allocations: 15.19 kB / 431.3 MB, free: 15.12 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: ambientSubstance.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 C.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 X.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: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0002342/0.6456, allocations: 138.3 kB / 431.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.6457, allocations: 19.8 kB / 431.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.6458, allocations: 38.41 kB / 431.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.6458, allocations: 0 / 431.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6458, allocations: 4 kB / 431.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6458, allocations: 4 kB / 431.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.6466, allocations: 360.2 kB / 431.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.6467, allocations: 3.938 kB / 431.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.6472, allocations: 47.91 kB / 431.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.6472, allocations: 0 / 431.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.6473, allocations: 7.266 kB / 431.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.6473, allocations: 4 kB / 431.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6473, allocations: 4 kB / 431.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.6482, allocations: 429.1 kB / 432.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.8e-05/0.6483, allocations: 92.83 kB / 432.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.6484, allocations: 6.859 kB / 432.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.6486, allocations: 15.2 kB / 432.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.6487, allocations: 15.47 kB / 432.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.6488, allocations: 8 kB / 432.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.6489, allocations: 110.4 kB / 432.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6489, allocations: 4 kB / 432.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005305/0.6494, allocations: 69.12 kB / 432.6 MB, free: 13.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (V,C.n,M.n,X.n,ambientSubstance.n) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.00121/0.6507, allocations: 0.9504 MB / 433.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.6514, allocations: 242.9 kB / 433.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.6514, allocations: 4.125 kB / 433.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002373/0.6516, allocations: 106.4 kB / 433.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.652, allocations: 17.77 kB / 434 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.6543, allocations: 0.7374 MB / 434.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.6548, allocations: 0.7792 MB / 435.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.6551, allocations: 30.06 kB / 435.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.6553, allocations: 86.03 kB / 435.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 3.277e-06/0.6553, allocations: 0 / 435.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0332/0.6885, allocations: 3.951 MB / 439.5 MB, free: 7.32 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.6889, allocations: 121 kB / 439.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.287, allocations: 0 / 439.7 MB, free: 7.117 MB / 362.7 MB