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.468/2.468, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.927e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4121, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1498/0.562, allocations: 80.43 MB / 440.3 MB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5623, allocations: 59.97 kB / 440.4 MB, free: 356 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.5815, allocations: 4.997 MB / 445.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.5815, allocations: 0 / 445.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.5816, allocations: 7.938 kB / 445.4 MB, free: 11.37 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.0006754/0.5822, allocations: 479 kB / 445.8 MB, free: 10.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5823, allocations: 8.031 kB / 445.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001945/0.5825, allocations: 149.9 kB / 446 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.5826, allocations: 35.53 kB / 446 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.5828, allocations: 194.7 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.5828, allocations: 28.44 kB / 446.3 MB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.5829, allocations: 40 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.5835, allocations: 289.8 kB / 446.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5835, allocations: 0 / 446.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.5836, allocations: 8 kB / 446.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5836, allocations: 15.95 kB / 446.6 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000389/0.584, allocations: 197.4 kB / 446.8 MB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.5854, allocations: 0.6435 MB / 447.4 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.5856, allocations: 187.9 kB / 447.6 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002421/0.5859, allocations: 182 kB / 447.8 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5859, allocations: 8.859 kB / 447.8 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003002/0.5862, allocations: 178.7 kB / 448 MB, free: 8.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.405e-06/0.5863, allocations: 0 / 448 MB, free: 8.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001327/0.5876, allocations: 0.6402 MB / 448.6 MB, free: 7.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.817e-05/0.5877, allocations: 104 kB / 448.7 MB, free: 7.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.5878, allocations: 116.8 kB / 448.8 MB, free: 7.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.5879, allocations: 69.67 kB / 448.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.588, allocations: 145.4 kB / 449 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.5883, allocations: 213.3 kB / 449.3 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.882e-05/0.5884, allocations: 28 kB / 449.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5885, allocations: 343.8 kB / 449.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/0.5893, allocations: 302.2 kB / 449.9 MB, free: 6.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.5903, allocations: 0.6294 MB / 450.5 MB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/0.5953, allocations: 5.732 MB / 456.3 MB, free: 14.92 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.5954, allocations: 4 kB / 456.3 MB, free: 14.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001797/0.5972, allocations: 0.7193 MB / 457 MB, free: 14.19 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.5973, allocations: 8.938 kB / 457 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.5973, allocations: 12 kB / 457 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.178e-05/0.5973, allocations: 23.95 kB / 457 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.5981, allocations: 128.2 kB / 457.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.708e-05/0.5981, allocations: 20.5 kB / 457.2 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.5985, allocations: 75.33 kB / 457.3 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.946e-05/0.5986, allocations: 45.81 kB / 457.3 MB, free: 13.89 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.000644/0.5992, allocations: 437.6 kB / 457.7 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.5993, allocations: 15.81 kB / 457.7 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.554e-05/0.5993, allocations: 11.47 kB / 457.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.5993, allocations: 7.953 kB / 457.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5994, allocations: 0 / 457.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5994, allocations: 0 / 457.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.6011, allocations: 0.9838 MB / 458.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6011, allocations: 0 / 458.7 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/0.6012, allocations: 8 kB / 458.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6012, allocations: 4 kB / 458.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.6012, allocations: 11.94 kB / 458.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6012, allocations: 0.625 kB / 458.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6013, allocations: 0 / 458.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.6026, allocations: 0.7431 MB / 459.5 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.6027, allocations: 108.7 kB / 459.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6027, allocations: 0 / 459.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.6028, allocations: 8.828 kB / 459.6 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.6028, allocations: 11.98 kB / 459.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6028, allocations: 4 kB / 459.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.237e-05/0.6029, allocations: 76.22 kB / 459.7 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6029, allocations: 0 / 459.7 MB, free: 11.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001005/0.6039, allocations: 167.7 kB / 459.9 MB, free: 11.22 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.0027/0.6066, allocations: 1.646 MB / 461.5 MB, free: 9.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.6087, allocations: 0.5386 MB / 462.1 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6087, allocations: 6.688 kB / 462.1 MB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.6089, allocations: 169.9 kB / 462.2 MB, free: 8.895 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.6092, allocations: 7.953 kB / 462.2 MB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.6109, allocations: 0.7122 MB / 463 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.6114, allocations: 0.7777 MB / 463.7 MB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.6116, allocations: 52.27 kB / 463.8 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.6118, allocations: 95.41 kB / 463.9 MB, free: 7.191 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6118, allocations: 0 / 463.9 MB, free: 7.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.6456, allocations: 6.37 MB / 470.3 MB, free: 0.8672 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000357/0.6461, allocations: 190.1 kB / 470.4 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.109, allocations: 4 kB / 470.4 MB, free: 0.6367 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