Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.708/2.708, allocations: 270 MB / 283.6 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.197e-05, allocations: 0 / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.5713, allocations: 86.48 MB / 496.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.5716, allocations: 59.97 kB / 496.9 MB, free: 3.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02258/0.5942, allocations: 5.774 MB / 0.4909 GB, free: 14.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.5943, allocations: 0 / 0.4909 GB, free: 14.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.5943, allocations: 4 kB / 0.4909 GB, free: 14.16 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009773/0.5953, allocations: 482.9 kB / 0.4914 GB, free: 13.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.5954, allocations: 8.031 kB / 0.4914 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003077/0.5957, allocations: 137.9 kB / 0.4915 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.5958, allocations: 31.62 kB / 0.4915 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.5961, allocations: 190.8 kB / 0.4917 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.5961, allocations: 36.36 kB / 0.4917 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.5963, allocations: 43.95 kB / 0.4918 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008001/0.5971, allocations: 289.8 kB / 0.4921 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.5971, allocations: 3.984 kB / 0.4921 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.5972, allocations: 8 kB / 0.4921 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.5972, allocations: 4 kB / 0.4921 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.5978, allocations: 205.4 kB / 0.4923 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.5997, allocations: 0.6474 MB / 0.4929 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.6002, allocations: 191.1 kB / 0.4931 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.6006, allocations: 189.8 kB / 0.4933 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.6006, allocations: 0 / 0.4933 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.601, allocations: 179.7 kB / 0.4934 GB, free: 11.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 2.876e-06/0.601, allocations: 0 / 0.4934 GB, free: 11.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.002259/0.6033, allocations: 0.6401 MB / 0.4941 GB, free: 10.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.6036, allocations: 104 kB / 0.4942 GB, free: 10.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.6037, allocations: 112.8 kB / 0.4943 GB, free: 10.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.604, allocations: 73.67 kB / 0.4943 GB, free: 10.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.6042, allocations: 149.4 kB / 0.4945 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004392/0.6047, allocations: 201.3 kB / 0.4947 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6048, allocations: 24 kB / 0.4947 GB, free: 10.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.6051, allocations: 350.8 kB / 0.495 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.6066, allocations: 294.2 kB / 0.4953 GB, free: 9.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.6085, allocations: 0.6415 MB / 0.4959 GB, free: 8.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00841/0.6169, allocations: 5.73 MB / 0.5015 GB, free: 1.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.596e-05/0.617, allocations: 11.89 kB / 0.5016 GB, free: 1.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00268/0.6197, allocations: 0.7121 MB / 0.5022 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.6198, allocations: 12 kB / 0.5023 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.414e-05/0.6199, allocations: 15.94 kB / 0.5023 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.828e-05/0.6199, allocations: 16 kB / 0.5023 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.6209, allocations: 131.7 kB / 0.5024 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.227e-05/0.621, allocations: 19.94 kB / 0.5024 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.6216, allocations: 59.88 kB / 0.5025 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.6218, allocations: 44 kB / 0.5025 GB, free: 0.6953 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.001082/0.6229, allocations: 442.4 kB / 0.503 GB, free: 268 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.623, allocations: 19.67 kB / 0.503 GB, free: 248 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.623, allocations: 13.86 kB / 0.503 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.623, allocations: 3.984 kB / 0.503 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6231, allocations: 0 / 0.503 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.6231, allocations: 7.938 kB / 0.503 GB, free: 224 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.6259, allocations: 0.9916 MB / 0.504 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.626, allocations: 4 kB / 0.504 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.6261, allocations: 8 kB / 0.504 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.6262, allocations: 0 / 0.504 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.6262, allocations: 4 kB / 0.504 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6262, allocations: 0 / 0.504 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6263, allocations: 3.984 kB / 0.504 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.6285, allocations: 0.7509 MB / 0.5047 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.686e-05/0.6286, allocations: 96.8 kB / 0.5048 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.6287, allocations: 4 kB / 0.5048 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.6288, allocations: 4 kB / 0.5048 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.6289, allocations: 11.92 kB / 0.5048 GB, free: 14.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.6289, allocations: 0 / 0.5048 GB, free: 14.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.344e-05/0.629, allocations: 79.22 kB / 0.5049 GB, free: 14.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.629, allocations: 4 kB / 0.5049 GB, free: 14.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001576/0.6306, allocations: 163.7 kB / 0.5051 GB, free: 14.01 MB / 442.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.003772/0.6344, allocations: 1.668 MB / 0.5067 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.6376, allocations: 0.5388 MB / 0.5072 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.6376, allocations: 2.5 kB / 0.5072 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.6381, allocations: 168.5 kB / 0.5074 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.6385, allocations: 4 kB / 0.5074 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.6418, allocations: 0.6982 MB / 0.5081 GB, free: 10.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.6427, allocations: 0.7855 MB / 0.5088 GB, free: 10.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003893/0.6431, allocations: 52.27 kB / 0.5089 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.6435, allocations: 95.41 kB / 0.509 GB, free: 9.957 MB / 442.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6435, allocations: 4 kB / 0.509 GB, free: 9.953 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05789/0.7015, allocations: 6.424 MB / 0.5153 GB, free: 3.586 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003268/0.7018, allocations: 193.2 kB / 0.5154 GB, free: 3.363 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.934/3.636, allocations: 0 / 0.5154 GB, free: 3.363 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat