Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_2_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.496e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 44.48 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.4557, allocations: 70.47 MB / 364.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.4561, allocations: 63.95 kB / 364.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.4722, allocations: 2.974 MB / 367.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4723, allocations: 0 / 367.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.4723, allocations: 4 kB / 367.7 MB, free: 8.344 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009129/0.4732, allocations: 0.548 MB / 368.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.4733, allocations: 8.031 kB / 368.3 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.4736, allocations: 23.75 kB / 368.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/0.4738, allocations: 178.9 kB / 368.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.4738, allocations: 4 kB / 368.5 MB, free: 7.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.4739, allocations: 4 kB / 368.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003577/0.4743, allocations: 144.6 kB / 368.6 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007058/0.475, allocations: 271.2 kB / 368.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.475, allocations: 0 / 368.9 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.4751, allocations: 4 kB / 368.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4751, allocations: 0 / 368.9 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.4755, allocations: 178.8 kB / 369.1 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008876/0.4764, allocations: 497.1 kB / 369.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008321/0.4772, allocations: 473.5 kB / 370 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.4773, allocations: 0 / 370 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009815/0.4783, allocations: 472.5 kB / 370.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.905e-06/0.4783, allocations: 0 / 370.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001473/0.4798, allocations: 413.2 kB / 370.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/0.48, allocations: 156.5 kB / 371 MB, free: 4.773 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.4801, allocations: 101 kB / 371.1 MB, free: 4.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.4802, allocations: 29.7 kB / 371.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.4803, allocations: 80.92 kB / 371.2 MB, free: 4.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4804, allocations: 82.83 kB / 371.3 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4804, allocations: 3.938 kB / 371.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.4806, allocations: 326.8 kB / 371.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4809, allocations: 84.41 kB / 371.7 MB, free: 4.055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.4812, allocations: 106.4 kB / 371.8 MB, free: 3.945 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.4816, allocations: 99.95 kB / 371.9 MB, free: 3.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4816, allocations: 3.938 kB / 371.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009034/0.4826, allocations: 253.3 kB / 372.2 MB, free: 3.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.4828, allocations: 111.3 kB / 372.3 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4828, allocations: 0 / 372.3 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.4829, allocations: 0 / 372.3 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-06/0.4829, allocations: 3.938 kB / 372.3 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4829, allocations: 12.08 kB / 372.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.4831, allocations: 19.75 kB / 372.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.4832, allocations: 8 kB / 372.3 MB, free: 3.426 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0005504/0.4837, allocations: 275.4 kB / 372.6 MB, free: 3.137 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002202/0.486, allocations: 0.5324 MB / 373.1 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.4861, allocations: 31.73 kB / 373.2 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.4862, allocations: 5.969 kB / 373.2 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.4862, allocations: 4 kB / 373.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4862, allocations: 0 / 373.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.4863, allocations: 0 / 373.2 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.4867, allocations: 205.9 kB / 373.4 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4867, allocations: 4 kB / 373.4 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-06/0.4867, allocations: 4.016 kB / 373.4 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.4867, allocations: 4 kB / 373.4 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.4868, allocations: 19.98 kB / 373.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4869, allocations: 4 kB / 373.4 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4869, allocations: 0 / 373.4 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.4891, allocations: 0.5903 MB / 374 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4893, allocations: 92.86 kB / 374.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/0.4897, allocations: 75.94 kB / 374.2 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4899, allocations: 11.94 kB / 374.2 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.49, allocations: 15.92 kB / 374.2 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.4901, allocations: 35.97 kB / 374.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.4902, allocations: 79.28 kB / 374.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4902, allocations: 0 / 374.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008996/0.4911, allocations: 111.9 kB / 374.4 MB, free: 1.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition2,r64,r128,r1024,state64[1],state64[2],state128[1],state128[2],state128[3],state128[4],state1024[1],state1024[2],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[30],state1024[31],state1024[32],state1024[33],$whenCondition1,rImpure,iImpure) * Number of discrete states: 46 (iImpure,rImpure,$whenCondition1,r1024,r128,r64,state1024[33],state1024[32],state1024[31],state1024[30],state1024[29],state1024[28],state1024[27],state1024[26],state1024[25],state1024[24],state1024[23],state1024[22],state1024[21],state1024[20],state1024[19],state1024[18],state1024[17],state1024[16],state1024[15],state1024[14],state1024[13],state1024[12],state1024[11],state1024[10],state1024[9],state1024[8],state1024[7],state1024[6],state1024[5],state1024[4],state1024[3],state1024[2],state1024[1],state128[4],state128[3],state128[2],state128[1],state64[2],state64[1],$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.004296/0.4954, allocations: 1.657 MB / 376.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004149/0.4996, allocations: 2.092 MB / 378.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.4997, allocations: 0 / 378.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003461/0.5032, allocations: 2.166 MB / 380.3 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.5036, allocations: 12 kB / 380.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.505, allocations: 389.6 kB / 380.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.5055, allocations: 0.7245 MB / 381.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.701e-05/0.5055, allocations: 3.984 kB / 381.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.5056, allocations: 31.44 kB / 381.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of SimCode: time 3.596e-06/0.5056, allocations: 0 / 381.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07582/0.5814, allocations: 4.625 MB / 386.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/0.5818, allocations: 168.9 kB / 386.3 MB, free: 5.219 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.15, allocations: 0 / 386.3 MB, free: 5.219 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat