Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.305/2.305, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.999e-05/4.022e-05, allocations: 4.938 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4093, allocations: 54.85 MB / 359.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.5889, allocations: 80.42 MB / 440.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/0.5892, allocations: 63.97 kB / 440.3 MB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01867/0.6079, allocations: 4.993 MB / 445.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.608, allocations: 0 / 445.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.608, allocations: 4 kB / 445.3 MB, free: 11.48 MB / 378.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.000666/0.6087, allocations: 483 kB / 445.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6087, allocations: 8.031 kB / 445.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.6089, allocations: 147.2 kB / 446 MB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.609, allocations: 35.53 kB / 446 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.6092, allocations: 190.8 kB / 446.2 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.6092, allocations: 32.38 kB / 446.2 MB, free: 10.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.6093, allocations: 40 kB / 446.3 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.61, allocations: 294.6 kB / 446.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.61, allocations: 0 / 446.5 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.61, allocations: 12 kB / 446.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.6101, allocations: 11.95 kB / 446.6 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004148/0.6105, allocations: 203.1 kB / 446.8 MB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.6119, allocations: 0.6396 MB / 447.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.6122, allocations: 191.1 kB / 447.6 MB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.6125, allocations: 178.8 kB / 447.8 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-06/0.6125, allocations: 3.938 kB / 447.8 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.6128, allocations: 182.8 kB / 447.9 MB, free: 8.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.345e-06/0.6128, allocations: 4 kB / 447.9 MB, free: 8.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001368/0.6142, allocations: 0.6401 MB / 448.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.6143, allocations: 107.9 kB / 448.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.6144, allocations: 109.5 kB / 448.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.6146, allocations: 77.67 kB / 448.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.6147, allocations: 145.4 kB / 449 MB, free: 7.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.6149, allocations: 209.3 kB / 449.2 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.615, allocations: 24 kB / 449.2 MB, free: 7.355 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.6152, allocations: 342.8 kB / 449.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/0.616, allocations: 302.1 kB / 449.9 MB, free: 6.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.6171, allocations: 0.6398 MB / 450.5 MB, free: 5.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005269/0.6224, allocations: 5.732 MB / 456.2 MB, free: 15.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/0.6225, allocations: 4 kB / 456.3 MB, free: 15.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001869/0.6244, allocations: 0.7551 MB / 457 MB, free: 14.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.6244, allocations: 8 kB / 457 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/0.6244, allocations: 12 kB / 457 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.122e-05/0.6245, allocations: 28.02 kB / 457.1 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006909/0.6252, allocations: 127.7 kB / 457.2 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.355e-05/0.6253, allocations: 19.94 kB / 457.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.6256, allocations: 69.25 kB / 457.3 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.6257, allocations: 43.94 kB / 457.3 MB, free: 13.96 MB / 394.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.0006507/0.6264, allocations: 443.6 kB / 457.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/0.6264, allocations: 15.8 kB / 457.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.6264, allocations: 9.875 kB / 457.8 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6265, allocations: 7.953 kB / 457.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.6265, allocations: 0 / 457.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6265, allocations: 0 / 457.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00173/0.6282, allocations: 0.9852 MB / 458.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6283, allocations: 0 / 458.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.6283, allocations: 12 kB / 458.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.6283, allocations: 0 / 458.8 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.6284, allocations: 11.95 kB / 458.8 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6284, allocations: 3.984 kB / 458.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6284, allocations: 0 / 458.8 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.6297, allocations: 0.7392 MB / 459.5 MB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.6298, allocations: 104.7 kB / 459.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.6298, allocations: 0 / 459.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.6299, allocations: 11.95 kB / 459.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.6299, allocations: 7.984 kB / 459.6 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.63, allocations: 4.875 kB / 459.7 MB, free: 11.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.63, allocations: 75.28 kB / 459.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.63, allocations: 0 / 459.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008304/0.6309, allocations: 169.1 kB / 459.9 MB, free: 11.29 MB / 394.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.002614/0.6335, allocations: 1.647 MB / 461.5 MB, free: 9.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.6354, allocations: 0.5607 MB / 462.1 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6354, allocations: 0 / 462.1 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.6357, allocations: 177.8 kB / 462.3 MB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.6358, allocations: 15.89 kB / 462.3 MB, free: 8.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.6375, allocations: 0.7032 MB / 463 MB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.638, allocations: 0.7816 MB / 463.8 MB, free: 7.379 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001718/0.6382, allocations: 48.27 kB / 463.8 MB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.6384, allocations: 99.41 kB / 463.9 MB, free: 7.234 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6384, allocations: 0 / 463.9 MB, free: 7.234 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03139/0.6698, allocations: 6.373 MB / 470.3 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/0.6701, allocations: 190.7 kB / 470.5 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.189, allocations: 0 / 470.5 MB, free: 0.6836 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat