Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.955/2.955, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.671e-05/4.692e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4913/0.4914, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6521, allocations: 85.28 MB / 467.6 MB, free: 7.145 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.6524, allocations: 63.97 kB / 467.6 MB, free: 7.082 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.6721, allocations: 5.006 MB / 472.6 MB, free: 2.07 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6722, allocations: 0 / 472.6 MB, free: 2.07 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.6722, allocations: 4 kB / 472.6 MB, free: 2.066 MB / 394.8 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.0006843/0.6729, allocations: 478.9 kB / 473.1 MB, free: 1.555 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.673, allocations: 8.031 kB / 473.1 MB, free: 1.547 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.6732, allocations: 141.9 kB / 473.3 MB, free: 1.398 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.6733, allocations: 39.53 kB / 473.3 MB, free: 1.359 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.6735, allocations: 190.7 kB / 473.5 MB, free: 1.133 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.6735, allocations: 28.44 kB / 473.5 MB, free: 1.105 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.6736, allocations: 48 kB / 473.6 MB, free: 1.059 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006009/0.6742, allocations: 289.7 kB / 473.8 MB, free: 0.7617 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6742, allocations: 0 / 473.8 MB, free: 0.7617 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.6743, allocations: 12 kB / 473.9 MB, free: 0.75 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.6743, allocations: 4 kB / 473.9 MB, free: 0.7461 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004147/0.6747, allocations: 201.4 kB / 474.1 MB, free: 0.5508 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.6762, allocations: 0.6358 MB / 474.7 MB, free: 15.86 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.6765, allocations: 199 kB / 474.9 MB, free: 15.66 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.6768, allocations: 178 kB / 475.1 MB, free: 15.48 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.6768, allocations: 4 kB / 475.1 MB, free: 15.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002937/0.6771, allocations: 178.6 kB / 475.2 MB, free: 15.29 MB / 410.8 MB Notification: Performance of pre-optimization done (n=60): time 2.946e-06/0.6771, allocations: 3.938 kB / 475.2 MB, free: 15.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=60): time 0.001422/0.6786, allocations: 0.6402 MB / 475.9 MB, free: 14.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.6787, allocations: 107.9 kB / 476 MB, free: 14.52 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.6788, allocations: 112.8 kB / 476.1 MB, free: 14.41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.6789, allocations: 73.69 kB / 476.2 MB, free: 14.33 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.6791, allocations: 153.3 kB / 476.3 MB, free: 14.17 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/0.6793, allocations: 209.3 kB / 476.5 MB, free: 13.96 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-05/0.6794, allocations: 24 kB / 476.5 MB, free: 13.94 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6796, allocations: 346.8 kB / 476.9 MB, free: 13.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007673/0.6804, allocations: 290.2 kB / 477.2 MB, free: 13.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.6815, allocations: 0.6411 MB / 477.8 MB, free: 12.5 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005655/0.6872, allocations: 5.735 MB / 483.5 MB, free: 5.621 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.313e-05/0.6873, allocations: 4 kB / 483.6 MB, free: 5.617 MB / 410.8 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001881/0.6892, allocations: 0.7168 MB / 484.3 MB, free: 4.895 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.6892, allocations: 12 kB / 484.3 MB, free: 4.883 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.6893, allocations: 12 kB / 484.3 MB, free: 4.871 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.765e-05/0.6893, allocations: 20 kB / 484.3 MB, free: 4.852 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.69, allocations: 127.7 kB / 484.4 MB, free: 4.727 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-05/0.6901, allocations: 19.94 kB / 484.5 MB, free: 4.707 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.6905, allocations: 71.28 kB / 484.5 MB, free: 4.637 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.6906, allocations: 43.95 kB / 484.6 MB, free: 4.594 MB / 410.8 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.0006761/0.6913, allocations: 444.3 kB / 485 MB, free: 4.152 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.6913, allocations: 11.81 kB / 485 MB, free: 4.141 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/0.6914, allocations: 9.859 kB / 485 MB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.6914, allocations: 0 / 485 MB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6914, allocations: 0 / 485 MB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6914, allocations: 0 / 485 MB, free: 4.133 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.6932, allocations: 0.9994 MB / 486 MB, free: 3.078 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.6932, allocations: 0 / 486 MB, free: 3.078 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.6933, allocations: 8 kB / 486 MB, free: 3.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.6933, allocations: 0 / 486 MB, free: 3.07 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.6933, allocations: 0 / 486 MB, free: 3.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.6933, allocations: 0 / 486 MB, free: 3.07 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6934, allocations: 3.938 kB / 486 MB, free: 3.066 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.6947, allocations: 0.7587 MB / 486.8 MB, free: 2.293 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.6948, allocations: 100.8 kB / 486.9 MB, free: 2.176 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.6949, allocations: 0 / 486.9 MB, free: 2.176 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.6949, allocations: 0 / 486.9 MB, free: 2.176 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.695, allocations: 4 kB / 486.9 MB, free: 2.172 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.695, allocations: 3.984 kB / 486.9 MB, free: 2.168 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.695, allocations: 75.28 kB / 487 MB, free: 2.094 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6951, allocations: 3.938 kB / 487 MB, free: 2.09 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001014/0.6961, allocations: 167.6 kB / 487.1 MB, free: 1.926 MB / 410.8 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.002746/0.6988, allocations: 1.652 MB / 488.8 MB, free: 288 kB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.7009, allocations: 0.5361 MB / 489.3 MB, free: 15.75 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.701, allocations: 1.188 kB / 489.3 MB, free: 15.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.7012, allocations: 176.5 kB / 489.5 MB, free: 15.57 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.7015, allocations: 11.38 kB / 489.5 MB, free: 15.57 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.7034, allocations: 0.7072 MB / 490.2 MB, free: 14.82 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.704, allocations: 0.7894 MB / 491 MB, free: 14 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002036/0.7042, allocations: 52.27 kB / 491.1 MB, free: 13.96 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.7045, allocations: 103.4 kB / 491.2 MB, free: 13.86 MB / 426.8 MB Notification: Performance of SimCode: time 1.553e-06/0.7045, allocations: 0 / 491.2 MB, free: 13.86 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.7345, allocations: 6.369 MB / 497.5 MB, free: 7.531 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/0.7349, allocations: 186.2 kB / 497.7 MB, free: 7.309 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.42, allocations: 0 / 497.7 MB, free: 7.309 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat