Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.951e-05, allocations: 4.938 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3975, allocations: 54.85 MB / 359.9 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.548, allocations: 80.42 MB / 440.3 MB, free: 472 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/0.5483, allocations: 55.98 kB / 440.3 MB, free: 416 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01917/0.5675, allocations: 5.008 MB / 445.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5676, allocations: 0 / 445.3 MB, free: 11.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.5676, allocations: 8 kB / 445.4 MB, free: 11.41 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.0007255/0.5684, allocations: 479 kB / 445.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5684, allocations: 8.031 kB / 445.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002075/0.5686, allocations: 141.9 kB / 446 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.5687, allocations: 39.53 kB / 446 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.5689, allocations: 186.7 kB / 446.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.569, allocations: 28.44 kB / 446.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/0.5691, allocations: 40 kB / 446.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.5697, allocations: 297.7 kB / 446.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.5697, allocations: 4 kB / 446.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.5697, allocations: 4.844 kB / 446.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.5698, allocations: 7.953 kB / 446.6 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/0.5702, allocations: 205.4 kB / 446.8 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.5717, allocations: 0.6443 MB / 447.4 MB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.572, allocations: 195.1 kB / 447.6 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.5723, allocations: 178 kB / 447.8 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.5723, allocations: 4 kB / 447.8 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.5726, allocations: 182.6 kB / 448 MB, free: 8.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/0.5726, allocations: 0 / 448 MB, free: 8.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001367/0.574, allocations: 0.6368 MB / 448.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.5742, allocations: 104 kB / 448.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.5743, allocations: 112.8 kB / 448.8 MB, free: 7.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.5744, allocations: 69.69 kB / 448.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.5745, allocations: 223.8 kB / 449.1 MB, free: 7.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.5748, allocations: 201.3 kB / 449.3 MB, free: 7.258 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/0.5749, allocations: 25.03 kB / 449.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.5751, allocations: 354.8 kB / 449.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007535/0.5758, allocations: 294.2 kB / 449.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.577, allocations: 0.6372 MB / 450.6 MB, free: 5.789 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005156/0.5821, allocations: 5.728 MB / 456.3 MB, free: 14.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.138e-05/0.5822, allocations: 4 kB / 456.3 MB, free: 14.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001844/0.5841, allocations: 0.7161 MB / 457 MB, free: 14.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.5842, allocations: 16.22 kB / 457 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.5842, allocations: 13.62 kB / 457.1 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.075e-05/0.5842, allocations: 23.95 kB / 457.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007035/0.585, allocations: 127.7 kB / 457.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.152e-05/0.585, allocations: 21.44 kB / 457.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.5854, allocations: 67.28 kB / 457.3 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.5855, allocations: 44 kB / 457.3 MB, free: 13.88 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.0006616/0.5861, allocations: 441.8 kB / 457.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.5862, allocations: 11.81 kB / 457.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.5862, allocations: 13.86 kB / 457.8 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.5863, allocations: 3.953 kB / 457.8 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.5863, allocations: 0 / 457.8 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.5863, allocations: 4 kB / 457.8 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.5881, allocations: 0.9885 MB / 458.8 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.5881, allocations: 0 / 458.8 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.5882, allocations: 12 kB / 458.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.5882, allocations: 0 / 458.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.5882, allocations: 7.938 kB / 458.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5882, allocations: 0.875 kB / 458.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5883, allocations: 0.9375 kB / 458.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.5896, allocations: 0.747 MB / 459.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.5897, allocations: 104.7 kB / 459.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.5897, allocations: 8 kB / 459.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5899, allocations: 3.953 kB / 459.7 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.5899, allocations: 7.984 kB / 459.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5899, allocations: 1.75 kB / 459.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.565e-05/0.59, allocations: 75.28 kB / 459.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.59, allocations: 0 / 459.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001035/0.591, allocations: 167.7 kB / 459.9 MB, free: 11.21 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.002745/0.5938, allocations: 1.661 MB / 461.6 MB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.5959, allocations: 0.5365 MB / 462.1 MB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/0.5959, allocations: 0 / 462.1 MB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.5962, allocations: 176.5 kB / 462.3 MB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.5964, allocations: 8.766 kB / 462.3 MB, free: 8.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.5983, allocations: 0.736 MB / 463 MB, free: 8.082 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.5989, allocations: 0.7816 MB / 463.8 MB, free: 7.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.5991, allocations: 99.41 kB / 463.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.734e-06/0.5991, allocations: 0 / 463.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.828/3.427, allocations: 5.872 MB / 469.8 MB, free: 1.297 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Math.Random.TestRandomNumbers_res.mat does not exist to compare? outputFormat=mat