Running command: "" <> buildModelFMU(LibRAS.Examples.TinyRAS,fileNamePrefix="LibRAS_LibRAS_Examples_TinyRAS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(LibRAS): time 2.011/2.011, allocations: 200.5 MB / 213.1 MB, free: 15.22 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.077e-05/4.083e-05, allocations: 4 kB / 261.8 MB, free: 12.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 45.74 MB / 307.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.506, allocations: 395.6 MB / 0.6867 GB, free: 96.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.506, allocations: 73.75 kB / 0.6868 GB, free: 96.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.063/6.569, allocations: 0.8847 GB / 1.572 GB, free: 22.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.033e-06/6.569, allocations: 0 / 1.572 GB, free: 22.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001006/6.57, allocations: 217.9 kB / 1.572 GB, free: 22.72 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: 2535 * Number of variables: 2535 Notification: Performance of Generate backend data structure: time 0.1043/6.674, allocations: 21.3 MB / 1.593 GB, free: 18.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/6.674, allocations: 16.66 kB / 1.593 GB, free: 18.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01123/6.686, allocations: 1.321 MB / 1.594 GB, free: 18.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02555/6.711, allocations: 1.694 MB / 1.596 GB, free: 18.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04941/6.761, allocations: 10.46 MB / 1.606 GB, free: 16.84 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001684/6.762, allocations: 0.9817 MB / 1.607 GB, free: 16.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01143/6.774, allocations: 0.9122 MB / 1.608 GB, free: 16.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09943/6.873, allocations: 22.79 MB / 1.63 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000575/6.874, allocations: 7.656 kB / 1.63 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009256/6.883, allocations: 361.7 kB / 1.63 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009155/6.884, allocations: 0.6845 MB / 1.631 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6243/7.509, allocations: 61.06 MB / 1.69 GB, free: 41.74 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2629/7.772, allocations: 81.37 MB / 1.77 GB, free: 21.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07413/7.846, allocations: 24.78 MB / 1.794 GB, free: 17.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.04137/7.887, allocations: 15.35 MB / 1.809 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2192/8.107, allocations: 51.94 MB / 1.86 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.48/8.587, allocations: 17.37 MB / 1.877 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02703/8.614, allocations: 2.608 MB / 1.879 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1413): time 7.05e-05/8.614, allocations: 0 / 1.879 GB, free: 76.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1436): time 0.5025/9.116, allocations: 66.31 MB / 1.944 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002772/9.117, allocations: 0.5684 MB / 1.945 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01757/9.134, allocations: 6.638 MB / 1.951 GB, free: 68.64 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.006337/9.141, allocations: 274.4 kB / 1.951 GB, free: 68.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005247/9.146, allocations: 4.045 MB / 1.955 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.01061/9.157, allocations: 5.005 MB / 1.96 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006779/9.163, allocations: 317.7 kB / 1.961 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001761/9.165, allocations: 0.9703 MB / 1.961 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03861/9.204, allocations: 13.05 MB / 1.974 GB, free: 62.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04301/9.247, allocations: 16.32 MB / 1.99 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04341/9.29, allocations: 15.18 MB / 2.005 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/9.291, allocations: 24 kB / 2.005 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2009) (initialization): time 0.1075/9.398, allocations: 31.72 MB / 2.036 GB, free: 20.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.4896/9.888, allocations: 44.68 MB / 2.08 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004003/9.888, allocations: 91.39 kB / 2.08 GB, free: 45.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/9.891, allocations: 314.4 kB / 2.08 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06059/9.951, allocations: 5.901 MB / 2.086 GB, free: 45.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/9.953, allocations: 1.481 MB / 2.087 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0333/9.986, allocations: 1.984 MB / 2.089 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0087/9.995, allocations: 0.8518 MB / 2.09 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/9.995, allocations: 5.375 kB / 2.09 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1047/10.1, allocations: 30.84 MB / 2.12 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004039/10.1, allocations: 90.84 kB / 2.12 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/10.1, allocations: 178.3 kB / 2.12 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05556/10.16, allocations: 5.742 MB / 2.126 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004576/10.16, allocations: 221.3 kB / 2.126 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0324/10.19, allocations: 1.954 MB / 2.128 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008669/10.2, allocations: 0.8491 MB / 2.129 GB, free: 43.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 409 * Number of states: 0 () * Number of discrete variables: 16 (alkControl.sensor.ind,$whenCondition1,MBBR2.regularFlow[1],MBBR2.regularFlow[2],MBBR2.regularFlow[3],fishTank1.fishtank.regularFlow[1],fishTank1.fishtank.regularFlow[2],MBBR1.regularFlow[1],MBBR1.regularFlow[2],MBBR1.inFlow[2],MBBR1.inFlow[1],fishTank1.fishtank.inFlow[2],fishTank1.fishtank.inFlow[1],MBBR2.inFlow[3],MBBR2.inFlow[2],MBBR2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2001): * Single equations (assignments): 1998 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.01676/10.21, allocations: 0.9909 MB / 2.13 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01063/10.23, allocations: 1.185 MB / 2.131 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1079/10.33, allocations: 29.73 MB / 2.16 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001206/10.33, allocations: 137.3 kB / 2.16 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/10.33, allocations: 0 / 2.16 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003411/10.33, allocations: 69.91 kB / 2.16 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1803/10.51, allocations: 47.77 MB / 2.207 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.198e-05/10.51, allocations: 7.516 kB / 2.207 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05128/10.57, allocations: 4.817 MB / 2.212 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001412/10.57, allocations: 171.8 kB / 2.212 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007177/10.57, allocations: 436.2 kB / 2.212 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/10.58, allocations: 1.299 MB / 2.214 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/10.58, allocations: 7.938 kB / 2.214 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5738/11.15, allocations: 48.94 MB / 2.261 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01891/11.17, allocations: 3.765 MB / 2.265 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009509/11.18, allocations: 339 kB / 2.265 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.029/11.21, allocations: 1.784 MB / 2.267 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00764/11.21, allocations: 0.8555 MB / 2.268 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007132/11.22, allocations: 0.5667 MB / 2.268 GB, free: 60.92 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01496/11.24, allocations: 4.954 MB / 2.273 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.423e-06/11.24, allocations: 0 / 2.273 GB, free: 60.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.04837/11.29, allocations: 7.004 MB / 2.28 GB, free: 60.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 134 (MBBR2.mC_S_scaled[1],MBBR2.mC_S_scaled[2],MBBR2.mC_S_scaled[3],MBBR2.mC_S_scaled[4],MBBR2.mC_S_scaled[5],MBBR2.mC_S_scaled[6],MBBR2.mC_S_scaled[7],MBBR2.mC_S_scaled[8],MBBR2.mC_S_scaled[9],MBBR2.mC_S_scaled[10],MBBR2.mC_X_scaled[1],MBBR2.mC_X_scaled[2],MBBR2.mC_X_scaled[3],MBBR2.mC_X_scaled[4],MBBR2.mC_X_scaled[5],MBBR2.mC_X_scaled[6],MBBR2.mC_X_scaled[7],MBBR2.C_S_film[1],MBBR2.C_S_film[2],MBBR2.C_S_film[3],MBBR2.C_S_film[4],MBBR2.C_S_film[5],MBBR2.C_S_film[6],MBBR2.C_S_film[7],MBBR2.C_S_film[8],MBBR2.C_S_film[9],MBBR2.C_S_film[10],MBBR2.C_X_film[1],MBBR2.C_X_film[2],MBBR2.C_X_film[3],MBBR2.C_X_film[4],MBBR2.C_X_film[5],MBBR2.C_X_film[6],MBBR2.C_X_film[7],MBBR2.L,fishTank1.fishtank.mC_S_scaled[1],fishTank1.fishtank.mC_S_scaled[2],fishTank1.fishtank.mC_S_scaled[3],fishTank1.fishtank.mC_S_scaled[4],fishTank1.fishtank.mC_S_scaled[5],fishTank1.fishtank.mC_S_scaled[6],fishTank1.fishtank.mC_S_scaled[7],fishTank1.fishtank.mC_S_scaled[8],fishTank1.fishtank.mC_S_scaled[9],fishTank1.fishtank.mC_S_scaled[10],fishTank1.fishtank.mC_X_scaled[1],fishTank1.fishtank.mC_X_scaled[2],fishTank1.fishtank.mC_X_scaled[3],fishTank1.fishtank.mC_X_scaled[4],fishTank1.fishtank.mC_X_scaled[5],fishTank1.fishtank.mC_X_scaled[6],fishTank1.fishtank.mC_X_scaled[7],fishTank1.oxygenPI.I.y,fishTank1.culture.n[1],fishTank1.culture.n[2],fishTank1.culture.n[3],fishTank1.culture.n[4],fishTank1.culture.n[5],fishTank1.culture.n[6],fishTank1.culture.n[7],fishTank1.culture.n[8],fishTank1.culture.n[9],fishTank1.culture.intestineState1[1],fishTank1.culture.intestineState1[2],fishTank1.culture.intestineState1[3],fishTank1.culture.intestineState1[4],fishTank1.culture.intestineState1[5],fishTank1.culture.intestineState1[6],fishTank1.culture.intestineState1[7],fishTank1.culture.intestineState1[8],fishTank1.culture.intestineState1[9],fishTank1.culture.intestineState2[1],fishTank1.culture.intestineState2[2],fishTank1.culture.intestineState2[3],fishTank1.culture.intestineState2[4],fishTank1.culture.intestineState2[5],fishTank1.culture.intestineState2[6],fishTank1.culture.intestineState2[7],fishTank1.culture.intestineState2[8],fishTank1.culture.intestineState2[9],fishTank1.culture.F_digested_scaled[1],fishTank1.culture.F_digested_scaled[2],fishTank1.culture.F_digested_scaled[3],fishTank1.culture.F_digested_scaled[4],fishTank1.culture.F_digested_scaled[5],fishTank1.culture.F_digested_scaled[6],fishTank1.culture.F_digested_scaled[7],fishTank1.culture.F_digested_scaled[8],fishTank1.culture.F_digested_scaled[9],fishTank1.culture.feedSignal_scaled[1],fishTank1.culture.feedSignal_scaled[2],fishTank1.culture.feedSignal_scaled[3],fishTank1.culture.feedSignal_scaled[4],fishTank1.culture.feedSignal_scaled[5],fishTank1.culture.feedSignal_scaled[6],fishTank1.culture.feedSignal_scaled[7],fishTank1.culture.feedSignal_scaled[8],fishTank1.culture.feedSignal_scaled[9],alkControl.PID.I.y,MBBR1.mC_S_scaled[1],MBBR1.mC_S_scaled[2],MBBR1.mC_S_scaled[3],MBBR1.mC_S_scaled[4],MBBR1.mC_S_scaled[5],MBBR1.mC_S_scaled[6],MBBR1.mC_S_scaled[7],MBBR1.mC_S_scaled[8],MBBR1.mC_S_scaled[9],MBBR1.mC_S_scaled[10],MBBR1.mC_X_scaled[1],MBBR1.mC_X_scaled[2],MBBR1.mC_X_scaled[3],MBBR1.mC_X_scaled[4],MBBR1.mC_X_scaled[5],MBBR1.mC_X_scaled[6],MBBR1.mC_X_scaled[7],MBBR1.C_S_film[1],MBBR1.C_S_film[2],MBBR1.C_S_film[3],MBBR1.C_S_film[4],MBBR1.C_S_film[5],MBBR1.C_S_film[6],MBBR1.C_S_film[7],MBBR1.C_S_film[8],MBBR1.C_S_film[9],MBBR1.C_S_film[10],MBBR1.C_X_film[1],MBBR1.C_X_film[2],MBBR1.C_X_film[3],MBBR1.C_X_film[4],MBBR1.C_X_film[5],MBBR1.C_X_film[6],MBBR1.C_X_film[7],MBBR1.L) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1441): * Single equations (assignments): 1439 * 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): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1583/11.44, allocations: 51.07 MB / 2.33 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.1359/11.58, allocations: 46.28 MB / 2.375 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/11.58, allocations: 4.625 kB / 2.375 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.04509/11.62, allocations: 14.29 MB / 2.389 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02419/11.65, allocations: 2.409 MB / 2.391 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6302/12.28, allocations: 38.99 MB / 2.43 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01981/12.3, allocations: 6.471 MB / 2.436 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0936/12.39, allocations: 20.88 MB / 2.456 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02653/12.42, allocations: 5.123 MB / 2.461 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.784e-06/12.42, allocations: 0 / 2.461 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.024/14.44, allocations: 366.8 MB / 2.819 GB, free: 58.84 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001593/14.44, allocations: 181.3 kB / 2.82 GB, free: 58.62 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.3/39.75, allocations: 0 / 2.82 GB, free: 58.62 MB / 0.5574 GB