Running command: "" <> buildModelFMU(LibRAS.Examples.ReactorTest,fileNamePrefix="LibRAS_LibRAS_Examples_ReactorTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(LibRAS): time 2.114/2.114, allocations: 200.4 MB / 213.1 MB, free: 15.22 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.947e-05, allocations: 4 kB / 261.8 MB, free: 12.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 45.75 MB / 307.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.432/1.541, allocations: 386.1 MB / 0.6774 GB, free: 97.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.542, allocations: 87.33 kB / 0.6775 GB, free: 97.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.607/4.148, allocations: 477.2 MB / 1.144 GB, free: 35.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/4.148, allocations: 0 / 1.144 GB, free: 35.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000682/4.149, allocations: 124.9 kB / 1.144 GB, free: 35.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1429 * Number of variables: 1429 Notification: Performance of Generate backend data structure: time 0.06131/4.21, allocations: 7.921 MB / 1.151 GB, free: 33.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/4.21, allocations: 14.38 kB / 1.151 GB, free: 33.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006024/4.216, allocations: 0.7584 MB / 1.152 GB, free: 33.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009087/4.226, allocations: 0.7596 MB / 1.153 GB, free: 33.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/4.243, allocations: 4.191 MB / 1.157 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/4.244, allocations: 0.597 MB / 1.158 GB, free: 32.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004597/4.249, allocations: 0.5078 MB / 1.158 GB, free: 32.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03986/4.289, allocations: 11.37 MB / 1.169 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/4.289, allocations: 11.12 kB / 1.169 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00402/4.293, allocations: 214.5 kB / 1.169 GB, free: 31.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005091/4.294, allocations: 379.5 kB / 1.17 GB, free: 31.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06288/4.357, allocations: 24.66 MB / 1.194 GB, free: 31.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1391/4.496, allocations: 42.66 MB / 1.235 GB, free: 17.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03869/4.535, allocations: 11.59 MB / 1.247 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01648/4.551, allocations: 6.039 MB / 1.253 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0733/4.625, allocations: 18.26 MB / 1.271 GB, free: 9.137 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/4.625, allocations: 108.7 kB / 1.271 GB, free: 9.02 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0163/4.641, allocations: 1.454 MB / 1.272 GB, free: 7.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=667): time 2.944e-05/4.641, allocations: 11.92 kB / 1.272 GB, free: 7.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=691): time 0.7507/5.392, allocations: 30.01 MB / 1.301 GB, free: 58.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/5.392, allocations: 227.5 kB / 1.302 GB, free: 58.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/5.402, allocations: 3.543 MB / 1.305 GB, free: 58.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002579/5.404, allocations: 150.6 kB / 1.305 GB, free: 58.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002996/5.407, allocations: 2.485 MB / 1.308 GB, free: 57.63 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004834/5.412, allocations: 2.439 MB / 1.31 GB, free: 56.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/5.415, allocations: 171.9 kB / 1.31 GB, free: 56.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009029/5.416, allocations: 0.6536 MB / 1.311 GB, free: 55.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01778/5.434, allocations: 5.379 MB / 1.316 GB, free: 55.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01929/5.453, allocations: 7.727 MB / 1.324 GB, free: 53.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/5.471, allocations: 6.483 MB / 1.33 GB, free: 53.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/5.472, allocations: 20.69 kB / 1.33 GB, free: 53.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=1087) (initialization): time 0.04818/5.52, allocations: 14.17 MB / 1.344 GB, free: 52.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.007076/5.527, allocations: 31.8 MB / 1.375 GB, free: 18.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002965/5.527, allocations: 69.94 kB / 1.375 GB, free: 18.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002365/5.53, allocations: 453.4 kB / 1.375 GB, free: 18.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03552/5.565, allocations: 3.192 MB / 1.378 GB, free: 18.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/5.571, allocations: 3.578 MB / 1.382 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01444/5.585, allocations: 0.5396 MB / 1.382 GB, free: 16.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003775/5.589, allocations: 0.5008 MB / 1.383 GB, free: 16.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/5.589, allocations: 4.406 kB / 1.383 GB, free: 16.32 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04583/5.635, allocations: 13.72 MB / 1.396 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004644/5.636, allocations: 72.25 kB / 1.396 GB, free: 16.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/5.637, allocations: 304.9 kB / 1.397 GB, free: 16.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03421/5.671, allocations: 3.036 MB / 1.4 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006479/5.678, allocations: 4.09 MB / 1.404 GB, free: 29.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01409/5.692, allocations: 0.5363 MB / 1.404 GB, free: 29.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003887/5.696, allocations: 0.4998 MB / 1.405 GB, free: 29.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 10 (aerob1.regularFlow[1],aerob1.regularFlow[2],bufferTank.regularFlow[1],bufferTank.regularFlow[2],bufferTank.regularFlow[3],bufferTank.inFlow[3],bufferTank.inFlow[2],bufferTank.inFlow[1],aerob1.inFlow[2],aerob1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1066): * Single equations (assignments): 1063 * 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: 2 * 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: 1 {(3,77.8%) 4} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.006116/5.702, allocations: 0.6031 MB / 1.405 GB, free: 28.88 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003569/5.705, allocations: 0.5534 MB / 1.406 GB, free: 28.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04182/5.747, allocations: 12.45 MB / 1.418 GB, free: 28.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/5.747, allocations: 67.91 kB / 1.418 GB, free: 28.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.866e-05/5.747, allocations: 2.312 kB / 1.418 GB, free: 28.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001715/5.748, allocations: 33.66 kB / 1.418 GB, free: 28.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07116/5.819, allocations: 21.74 MB / 1.439 GB, free: 21.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.819e-05/5.819, allocations: 11.5 kB / 1.439 GB, free: 21.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03021/5.849, allocations: 2.412 MB / 1.442 GB, free: 21.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/5.851, allocations: 345.8 kB / 1.442 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002996/5.854, allocations: 208.2 kB / 1.442 GB, free: 21.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004498/5.859, allocations: 3.251 MB / 1.445 GB, free: 18.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/5.859, allocations: 19.53 kB / 1.445 GB, free: 18.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05892/5.918, allocations: 19.53 MB / 1.464 GB, free: 3.648 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008149/5.926, allocations: 1.592 MB / 1.466 GB, free: 2.266 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004096/5.93, allocations: 161 kB / 1.466 GB, free: 2.121 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01164/5.942, allocations: 423.7 kB / 1.467 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003194/5.945, allocations: 464 kB / 1.467 GB, free: 1.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00322/5.948, allocations: 294.7 kB / 1.467 GB, free: 1.324 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3711/6.319, allocations: 2.754 MB / 1.47 GB, free: 70.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.653e-06/6.319, allocations: 0 / 1.47 GB, free: 70.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02846/6.348, allocations: 3.93 MB / 1.474 GB, free: 70.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 52 (aerob1.mC_S_scaled[1],aerob1.mC_S_scaled[2],aerob1.mC_S_scaled[3],aerob1.mC_S_scaled[4],aerob1.mC_S_scaled[5],aerob1.mC_S_scaled[6],aerob1.mC_S_scaled[7],aerob1.mC_S_scaled[8],aerob1.mC_S_scaled[9],aerob1.mC_S_scaled[10],aerob1.mC_X_scaled[1],aerob1.mC_X_scaled[2],aerob1.mC_X_scaled[3],aerob1.mC_X_scaled[4],aerob1.mC_X_scaled[5],aerob1.mC_X_scaled[6],aerob1.mC_X_scaled[7],aerob1.C_S_film[1],aerob1.C_S_film[2],aerob1.C_S_film[3],aerob1.C_S_film[4],aerob1.C_S_film[5],aerob1.C_S_film[6],aerob1.C_S_film[7],aerob1.C_S_film[8],aerob1.C_S_film[9],aerob1.C_S_film[10],aerob1.C_X_film[1],aerob1.C_X_film[2],aerob1.C_X_film[3],aerob1.C_X_film[4],aerob1.C_X_film[5],aerob1.C_X_film[6],aerob1.C_X_film[7],aerob1.L,bufferTank.mC_S_scaled[1],bufferTank.mC_S_scaled[2],bufferTank.mC_S_scaled[3],bufferTank.mC_S_scaled[4],bufferTank.mC_S_scaled[5],bufferTank.mC_S_scaled[6],bufferTank.mC_S_scaled[7],bufferTank.mC_S_scaled[8],bufferTank.mC_S_scaled[9],bufferTank.mC_S_scaled[10],bufferTank.mC_X_scaled[1],bufferTank.mC_X_scaled[2],bufferTank.mC_X_scaled[3],bufferTank.mC_X_scaled[4],bufferTank.mC_X_scaled[5],bufferTank.mC_X_scaled[6],bufferTank.mC_X_scaled[7]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (677): * Single equations (assignments): 674 * 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: 2 * 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: 1 {(3,77.8%) 2} * Non-linear torn systems: 1 {4 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.07005/6.418, allocations: 23.96 MB / 1.497 GB, free: 65.01 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.06205/6.48, allocations: 20.13 MB / 1.517 GB, free: 64.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.029e-05/6.48, allocations: 3.125 kB / 1.517 GB, free: 64.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01957/6.5, allocations: 5.869 MB / 1.523 GB, free: 64.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01411/6.514, allocations: 1.567 MB / 1.524 GB, free: 64.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07935/6.593, allocations: 17.37 MB / 1.541 GB, free: 61.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/6.604, allocations: 3.733 MB / 1.545 GB, free: 60.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.04336/6.647, allocations: 8.764 MB / 1.553 GB, free: 59.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01172/6.659, allocations: 2.645 MB / 1.556 GB, free: 59.63 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/6.659, allocations: 0 / 1.556 GB, free: 59.63 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8662/7.525, allocations: 209.5 MB / 1.76 GB, free: 25.18 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/7.525, allocations: 195.3 kB / 1.761 GB, free: 24.95 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/23.67, allocations: 4.594 kB / 1.761 GB, free: 24.94 MB / 474.7 MB