Running command: "" <> buildModelFMU(ModelicaTest.Math.Random.TestRandomNumbers,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Math_Random_TestRandomNumbers",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.84/2.84, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.099e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3896, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5614, allocations: 79.76 MB / 434.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5617, allocations: 59.98 kB / 434.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0218/0.5835, allocations: 4.998 MB / 439.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5836, allocations: 0 / 439.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.5836, allocations: 8 kB / 439.2 MB, free: 10.34 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.0007487/0.5844, allocations: 482.9 kB / 439.7 MB, free: 9.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.5844, allocations: 8.031 kB / 439.7 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.5847, allocations: 141.9 kB / 439.9 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/0.5848, allocations: 43.56 kB / 439.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.585, allocations: 194.7 kB / 440.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.585, allocations: 16.44 kB / 440.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.5851, allocations: 24 kB / 440.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004444/0.5855, allocations: 193.7 kB / 440.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.5861, allocations: 259.6 kB / 440.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5861, allocations: 3.938 kB / 440.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.5862, allocations: 3.953 kB / 440.6 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.5862, allocations: 7.984 kB / 440.6 MB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.5877, allocations: 0.5493 MB / 441.1 MB, free: 8.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.5881, allocations: 191.1 kB / 441.3 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002776/0.5884, allocations: 182 kB / 441.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.5884, allocations: 0 / 441.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.5887, allocations: 170.7 kB / 441.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.825e-06/0.5887, allocations: 0 / 441.7 MB, free: 7.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001612/0.5904, allocations: 0.644 MB / 442.3 MB, free: 7.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.5905, allocations: 107.9 kB / 442.4 MB, free: 6.977 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.5906, allocations: 116.8 kB / 442.5 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.5907, allocations: 49.69 kB / 442.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.5909, allocations: 149.4 kB / 442.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.5912, allocations: 201.3 kB / 442.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.5913, allocations: 0 / 442.9 MB, free: 6.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.5914, allocations: 342.8 kB / 443.3 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.5922, allocations: 266.5 kB / 443.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.5933, allocations: 0.6234 MB / 444.1 MB, free: 5.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005483/0.5988, allocations: 5.694 MB / 449.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/0.5988, allocations: 4 kB / 449.8 MB, free: 14.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001997/0.6008, allocations: 0.6582 MB / 450.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.6009, allocations: 8 kB / 450.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.601, allocations: 12 kB / 450.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.289e-05/0.601, allocations: 20 kB / 450.5 MB, free: 13.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/0.6018, allocations: 123.7 kB / 450.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-05/0.6019, allocations: 27.88 kB / 450.7 MB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.6023, allocations: 51.81 kB / 450.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.912e-05/0.6024, allocations: 44 kB / 450.8 MB, free: 13.27 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.0007247/0.6031, allocations: 427.8 kB / 451.2 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.6032, allocations: 11.72 kB / 451.2 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.6032, allocations: 14.5 kB / 451.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.6032, allocations: 0 / 451.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6033, allocations: 0 / 451.2 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.6033, allocations: 7.953 kB / 451.2 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.6051, allocations: 0.918 MB / 452.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.6052, allocations: 0 / 452.1 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.931e-05/0.6052, allocations: 8 kB / 452.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6053, allocations: 0 / 452.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.6053, allocations: 3.984 kB / 452.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6053, allocations: 0 / 452.2 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.6053, allocations: 7.938 kB / 452.2 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.6069, allocations: 0.747 MB / 452.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.607, allocations: 100.7 kB / 453 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.607, allocations: 4 kB / 453 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.6071, allocations: 0 / 453 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.6071, allocations: 7.984 kB / 453 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.6071, allocations: 4 kB / 453 MB, free: 10.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.6072, allocations: 79.23 kB / 453.1 MB, free: 10.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6072, allocations: 4 kB / 453.1 MB, free: 10.85 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001042/0.6083, allocations: 143.7 kB / 453.2 MB, free: 10.71 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.003029/0.6113, allocations: 1.647 MB / 454.9 MB, free: 9.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.6135, allocations: 0.5202 MB / 455.4 MB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6135, allocations: 0 / 455.4 MB, free: 8.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002724/0.6138, allocations: 168.5 kB / 455.6 MB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.614, allocations: 4 kB / 455.6 MB, free: 8.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.6159, allocations: 0.6071 MB / 456.2 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.6164, allocations: 0.7813 MB / 457 MB, free: 6.941 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.6166, allocations: 52.58 kB / 457 MB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000246/0.6169, allocations: 99.41 kB / 457.1 MB, free: 6.789 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6169, allocations: 0 / 457.1 MB, free: 6.789 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/0.7383, allocations: 6.058 MB / 463.2 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003149/0.7387, allocations: 178.9 kB / 463.3 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.937/3.676, allocations: 0 / 463.3 MB, free: 0.5312 MB / 394.7 MB