Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.797e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1399, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5523/0.6923, allocations: 86.47 MB / 496.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/0.6926, allocations: 63.97 kB / 496.9 MB, free: 1.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02249/0.7151, allocations: 5.778 MB / 0.4909 GB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7151, allocations: 3.938 kB / 0.4909 GB, free: 11.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.7151, allocations: 4 kB / 0.4909 GB, free: 11.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007245/0.7159, allocations: 475 kB / 0.4913 GB, free: 11.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7159, allocations: 8.031 kB / 0.4913 GB, free: 11.18 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.7162, allocations: 141.9 kB / 0.4915 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.7163, allocations: 35.62 kB / 0.4915 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.7164, allocations: 190.8 kB / 0.4917 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.085e-05/0.7165, allocations: 32.44 kB / 0.4917 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.7166, allocations: 47.94 kB / 0.4918 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006088/0.7172, allocations: 289.8 kB / 0.4921 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.7172, allocations: 0 / 0.4921 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.7173, allocations: 8 kB / 0.4921 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.7173, allocations: 8 kB / 0.4921 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004023/0.7177, allocations: 205.2 kB / 0.4923 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.7192, allocations: 0.6436 MB / 0.4929 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.7196, allocations: 191 kB / 0.4931 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.7198, allocations: 182 kB / 0.4932 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.7199, allocations: 4 kB / 0.4933 GB, free: 9.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.7202, allocations: 171.7 kB / 0.4934 GB, free: 8.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.647e-06/0.7202, allocations: 0 / 0.4934 GB, free: 8.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.00142/0.7217, allocations: 0.6401 MB / 0.494 GB, free: 8.289 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.7218, allocations: 115.9 kB / 0.4942 GB, free: 8.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.7219, allocations: 116.8 kB / 0.4943 GB, free: 8.043 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.722, allocations: 69.67 kB / 0.4943 GB, free: 7.969 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7222, allocations: 149.4 kB / 0.4945 GB, free: 7.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.7224, allocations: 209.3 kB / 0.4947 GB, free: 7.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.7225, allocations: 24 kB / 0.4947 GB, free: 7.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7227, allocations: 346.8 kB / 0.495 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.7234, allocations: 290.2 kB / 0.4953 GB, free: 6.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.7246, allocations: 0.6377 MB / 0.4959 GB, free: 6.148 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005152/0.7298, allocations: 5.737 MB / 0.5015 GB, free: 15.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.784e-05/0.7299, allocations: 7.953 kB / 0.5015 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00187/0.7317, allocations: 0.7121 MB / 0.5022 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/0.7318, allocations: 8 kB / 0.5022 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.7319, allocations: 12 kB / 0.5023 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.975e-05/0.7319, allocations: 20 kB / 0.5023 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.7326, allocations: 127.7 kB / 0.5024 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.97e-05/0.7327, allocations: 19.94 kB / 0.5024 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003838/0.7331, allocations: 67.38 kB / 0.5025 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.7332, allocations: 44.38 kB / 0.5025 GB, free: 14.24 MB / 426.7 MB Warning: The initial conditions are over specified. The following 47 initial equations are redundant, so they are removed from the initialization sytem: $PRE.state33[33] = state33[33] $PRE.state33[32] = state33[32] $PRE.state33[31] = state33[31] $PRE.state33[30] = state33[30] $PRE.state33[29] = state33[29] $PRE.state33[28] = state33[28] $PRE.state33[27] = state33[27] $PRE.state33[26] = state33[26] $PRE.state33[25] = state33[25] $PRE.state33[24] = state33[24] $PRE.state33[23] = state33[23] $PRE.state33[22] = state33[22] $PRE.state33[21] = state33[21] $PRE.state33[20] = state33[20] $PRE.state33[19] = state33[19] $PRE.state33[18] = state33[18] $PRE.state33[17] = state33[17] $PRE.state33[16] = state33[16] $PRE.state33[15] = state33[15] $PRE.state33[14] = state33[14] $PRE.state33[13] = state33[13] $PRE.state33[12] = state33[12] $PRE.state33[11] = state33[11] $PRE.state33[10] = state33[10] $PRE.state33[9] = state33[9] $PRE.state33[8] = state33[8] $PRE.state33[7] = state33[7] $PRE.state33[6] = state33[6] $PRE.state33[5] = state33[5] $PRE.state33[4] = state33[4] $PRE.state33[3] = state33[3] $PRE.state33[2] = state33[2] $PRE.state33[1] = state33[1] $PRE.state4c[4] = state4c[4] $PRE.state4c[3] = state4c[3] $PRE.state4c[2] = state4c[2] $PRE.state4c[1] = state4c[1] $PRE.state4b[4] = state4b[4] $PRE.state4b[3] = state4b[3] $PRE.state4b[2] = state4b[2] $PRE.state4b[1] = state4b[1] $PRE.state4a[4] = state4a[4] $PRE.state4a[3] = state4a[3] $PRE.state4a[2] = state4a[2] $PRE.state4a[1] = state4a[1] $PRE.state2[2] = state2[2] $PRE.state2[1] = state2[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 108 ($PRE.state33[33],state33[33],$PRE.state33[32],state33[32],$PRE.state33[31],state33[31],$PRE.state33[30],state33[30],$PRE.state33[29],state33[29],$PRE.state33[28],state33[28],$PRE.state33[27],state33[27],$PRE.state33[26],state33[26],$PRE.state33[25],state33[25],$PRE.state33[24],state33[24],$PRE.state33[23],state33[23],$PRE.state33[22],state33[22],$PRE.state33[21],state33[21],$PRE.state33[20],state33[20],$PRE.state33[19],state33[19],$PRE.state33[18],state33[18],$PRE.state33[17],state33[17],$PRE.state33[16],state33[16],$PRE.state33[15],state33[15],$PRE.state33[14],state33[14],$PRE.state33[13],state33[13],$PRE.state33[12],state33[12],$PRE.state33[11],state33[11],$PRE.state33[10],state33[10],$PRE.state33[9],state33[9],$PRE.state33[8],state33[8],$PRE.state33[7],state33[7],$PRE.state33[6],state33[6],$PRE.state33[5],state33[5],$PRE.state33[4],state33[4],$PRE.state33[3],state33[3],$PRE.state33[2],state33[2],$PRE.state33[1],state33[1],$PRE.state4c[4],state4c[4],$PRE.state4c[3],state4c[3],$PRE.state4c[2],state4c[2],$PRE.state4c[1],state4c[1],$PRE.state4b[4],state4b[4],$PRE.state4b[3],state4b[3],$PRE.state4b[2],state4b[2],$PRE.state4b[1],state4b[1],$PRE.state4a[4],state4a[4],$PRE.state4a[3],state4a[3],$PRE.state4a[2],state4a[2],$PRE.state4a[1],state4a[1],$PRE.state2[2],state2[2],$PRE.state2[1],state2[1],$whenCondition1,result,$PRE.$outputAlias_result,$outputAlias_result,$PRE.$outputAlias_r2,$outputAlias_r2,$PRE.$outputAlias_r4a,$outputAlias_r4a,$PRE.$outputAlias_r4b,$outputAlias_r4b,$PRE.$outputAlias_r4c,$outputAlias_r4c,$PRE.$outputAlias_r33,$outputAlias_r33) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0007096/0.7339, allocations: 448.3 kB / 0.5029 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.7339, allocations: 19.67 kB / 0.503 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.734, allocations: 9.875 kB / 0.503 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.734, allocations: 0 / 0.503 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.734, allocations: 4 kB / 0.503 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.734, allocations: 4 kB / 0.503 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.7358, allocations: 0.9915 MB / 0.5039 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.7359, allocations: 0 / 0.5039 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/0.7359, allocations: 11.94 kB / 0.504 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.736, allocations: 0 / 0.504 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.736, allocations: 3.984 kB / 0.504 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.736, allocations: 4 kB / 0.504 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.736, allocations: 0 / 0.504 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.7375, allocations: 0.7471 MB / 0.5047 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.7376, allocations: 100.8 kB / 0.5048 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.7376, allocations: 0 / 0.5048 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.7377, allocations: 0 / 0.5048 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.7377, allocations: 7.984 kB / 0.5048 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.7378, allocations: 8 kB / 0.5048 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.7378, allocations: 75.28 kB / 0.5049 GB, free: 11.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7378, allocations: 4 kB / 0.5049 GB, free: 11.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001034/0.7389, allocations: 171.6 kB / 0.505 GB, free: 11.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 55 ($whenCondition1,result,$outputAlias_result,$outputAlias_r2,$outputAlias_r4a,$outputAlias_r4b,$outputAlias_r4c,$outputAlias_r33,state2[1],state2[2],state4a[1],state4a[2],state4a[3],state4a[4],state4b[1],state4b[2],state4b[3],state4b[4],state4c[1],state4c[2],state4c[3],state4c[4],state33[1],state33[2],state33[3],state33[4],state33[5],state33[6],state33[7],state33[8],state33[9],state33[10],state33[11],state33[12],state33[13],state33[14],state33[15],state33[16],state33[17],state33[18],state33[19],state33[20],state33[21],state33[22],state33[23],state33[24],state33[25],state33[26],state33[27],state33[28],state33[29],state33[30],state33[31],state33[32],state33[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002792/0.7417, allocations: 1.67 MB / 0.5067 GB, free: 9.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.7437, allocations: 0.5352 MB / 0.5072 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7438, allocations: 0 / 0.5072 GB, free: 9.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.7441, allocations: 180.5 kB / 0.5074 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.7443, allocations: 2.125 kB / 0.5074 GB, free: 9.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.7463, allocations: 0.7019 MB / 0.5081 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.7468, allocations: 0.7816 MB / 0.5088 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.747, allocations: 52.27 kB / 0.5089 GB, free: 7.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.7472, allocations: 95.41 kB / 0.509 GB, free: 7.488 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7473, allocations: 0 / 0.509 GB, free: 7.488 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.7809, allocations: 6.428 MB / 0.5152 GB, free: 1.117 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/0.7813, allocations: 190.1 kB / 0.5154 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.881/3.662, allocations: 0 / 0.5154 GB, free: 0.8945 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat