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.522/2.522, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.356e-05, allocations: 7.938 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3889, allocations: 54.86 MB / 354.3 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.5403, allocations: 79.74 MB / 434.1 MB, free: 188 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5405, allocations: 67.91 kB / 434.2 MB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01954/0.5601, allocations: 5.01 MB / 439.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5602, allocations: 0 / 439.2 MB, free: 11.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.5602, allocations: 4 kB / 439.2 MB, free: 11.1 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.0007121/0.5609, allocations: 482.9 kB / 439.6 MB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.561, allocations: 8.031 kB / 439.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/0.5611, allocations: 19.77 kB / 439.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.5612, allocations: 178.9 kB / 439.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.5612, allocations: 0 / 439.8 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.5613, allocations: 12 kB / 439.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001793/0.5615, allocations: 92.41 kB / 439.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.5617, allocations: 124.3 kB / 440.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.5617, allocations: 4 kB / 440.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.5617, allocations: 0 / 440.1 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.5617, allocations: 7.953 kB / 440.1 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.5619, allocations: 166.3 kB / 440.2 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.5622, allocations: 163 kB / 440.4 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.5624, allocations: 153.7 kB / 440.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.5624, allocations: 3.938 kB / 440.6 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.5627, allocations: 170 kB / 440.7 MB, free: 9.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=54): time 2.535e-06/0.5627, allocations: 0 / 440.7 MB, free: 9.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.001377/0.5641, allocations: 0.5755 MB / 441.3 MB, free: 8.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.5642, allocations: 103.8 kB / 441.4 MB, free: 8.699 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.5643, allocations: 108.8 kB / 441.5 MB, free: 8.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.5644, allocations: 57.67 kB / 441.6 MB, free: 8.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.5645, allocations: 85.45 kB / 441.6 MB, free: 8.438 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5646, allocations: 126.5 kB / 441.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.5647, allocations: 0 / 441.8 MB, free: 8.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5649, allocations: 354.8 kB / 442.1 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.5653, allocations: 162.5 kB / 442.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006816/0.566, allocations: 0.4984 MB / 442.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.5666, allocations: 248.2 kB / 443 MB, free: 6.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.5667, allocations: 0 / 443 MB, free: 6.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00163/0.5683, allocations: 0.6266 MB / 443.6 MB, free: 6.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.5684, allocations: 16.06 kB / 443.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/0.5684, allocations: 12 kB / 443.7 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.025e-05/0.5685, allocations: 23.94 kB / 443.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.5692, allocations: 107.8 kB / 443.8 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/0.5693, allocations: 27.86 kB / 443.8 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.5696, allocations: 55.28 kB / 443.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.5697, allocations: 40 kB / 443.9 MB, free: 5.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 107 ($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],$PRE.r33,r33,$PRE.r4c,r4c,$PRE.r4b,r4b,$PRE.r4a,r4a,$PRE.r2,r2,$PRE.result,result,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * 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.0003136/0.57, allocations: 208.5 kB / 444.1 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001314/0.5713, allocations: 0.5677 MB / 444.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.5714, allocations: 15.81 kB / 444.7 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/0.5714, allocations: 5.969 kB / 444.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5715, allocations: 4.031 kB / 444.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5715, allocations: 0 / 444.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5715, allocations: 4 kB / 444.7 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.5717, allocations: 146.4 kB / 444.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5717, allocations: 4 kB / 444.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.5717, allocations: 0 / 444.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5717, allocations: 0 / 444.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5717, allocations: 0 / 444.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5717, allocations: 0 / 444.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5718, allocations: 4 kB / 444.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.5731, allocations: 0.6225 MB / 445.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.5732, allocations: 96.8 kB / 445.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.5732, allocations: 0 / 445.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.553e-05/0.5733, allocations: 0 / 445.6 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5733, allocations: 7.984 kB / 445.6 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5733, allocations: 0 / 445.6 MB, free: 4.219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.466e-05/0.5734, allocations: 75.28 kB / 445.7 MB, free: 4.145 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5734, allocations: 0 / 445.7 MB, free: 4.145 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009014/0.5743, allocations: 95.92 kB / 445.8 MB, free: 4.051 MB / 378.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: 54 ($whenCondition1,result,r2,r4a,r4b,r4c,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 (2): * Single equations (assignments): 1 * 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.002898/0.5772, allocations: 1.509 MB / 447.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.5784, allocations: 425.5 kB / 447.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5784, allocations: 0 / 447.7 MB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.5787, allocations: 160.4 kB / 447.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.5789, allocations: 7.938 kB / 447.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.5803, allocations: 479.9 kB / 448.3 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.5808, allocations: 0.7342 MB / 449 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.581, allocations: 39.38 kB / 449.1 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5811, allocations: 55.42 kB / 449.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5811, allocations: 0 / 449.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04383/0.625, allocations: 4.686 MB / 453.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.6253, allocations: 158.5 kB / 454 MB, free: 11.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.301, allocations: 3.938 kB / 454 MB, free: 11.7 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