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.105/2.105, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.626e-05, allocations: 4 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3992/0.5007, allocations: 71.11 MB / 371.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.501, allocations: 69.81 kB / 371.1 MB, free: 21.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01325/0.5143, allocations: 2.977 MB / 374.1 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5144, allocations: 0 / 374.1 MB, free: 21.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.5144, allocations: 2.188 kB / 374.1 MB, free: 21.3 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.000664/0.5151, allocations: 0.5536 MB / 374.7 MB, free: 20.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.5151, allocations: 10.11 kB / 374.7 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001105/0.5152, allocations: 61.73 kB / 374.7 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.5155, allocations: 20.42 kB / 374.8 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.5156, allocations: 185.4 kB / 374.9 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.5157, allocations: 7.594 kB / 375 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.5157, allocations: 4.531 kB / 375 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.5162, allocations: 281.8 kB / 375.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5163, allocations: 1.156 kB / 375.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.5163, allocations: 2.125 kB / 375.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.5163, allocations: 5.125 kB / 375.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.5166, allocations: 152.2 kB / 375.4 MB, free: 20.49 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.517, allocations: 398.7 kB / 375.8 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.5176, allocations: 0.4941 MB / 376.3 MB, free: 20.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.5181, allocations: 485.3 kB / 376.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.5181, allocations: 0 / 376.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006463/0.5188, allocations: 486.5 kB / 377.2 MB, free: 19.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.5188, allocations: 1 kB / 377.2 MB, free: 19.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001036/0.5198, allocations: 0.5189 MB / 377.7 MB, free: 19.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.5199, allocations: 162.8 kB / 377.9 MB, free: 19.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.52, allocations: 95.31 kB / 378 MB, free: 19.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.5201, allocations: 32.14 kB / 378 MB, free: 19.47 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.5201, allocations: 86.03 kB / 378.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.5202, allocations: 93.98 kB / 378.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/0.5202, allocations: 5.25 kB / 378.2 MB, free: 19.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.5203, allocations: 331.5 kB / 378.5 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.5205, allocations: 82.91 kB / 378.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.5206, allocations: 113.5 kB / 378.7 MB, free: 18.99 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.5209, allocations: 206.6 kB / 378.9 MB, free: 18.92 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.5209, allocations: 7.938 kB / 378.9 MB, free: 18.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005543/0.5215, allocations: 365.3 kB / 379.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.5216, allocations: 110.3 kB / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5217, allocations: 1.219 kB / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5217, allocations: 1 kB / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.5218, allocations: 6.781 kB / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.5218, allocations: 1.094 kB / 379.4 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5219, allocations: 34.7 kB / 379.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.522, allocations: 11.62 kB / 379.5 MB, free: 18.7 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,$outputAlias_r64,$outputAlias_r128,$outputAlias_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 (5): * Single equations (assignments): 3 * 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.0003781/0.5224, allocations: 281.5 kB / 379.7 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.707e-05/0.5225, allocations: 25.56 kB / 379.8 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.5225, allocations: 12.03 kB / 379.8 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.5225, allocations: 5.5 kB / 379.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5225, allocations: 0 / 379.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5226, allocations: 5.562 kB / 379.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.5248, allocations: 1.441 MB / 381.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.5248, allocations: 1.219 kB / 381.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.5249, allocations: 5.359 kB / 381.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.5249, allocations: 1.031 kB / 381.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/0.525, allocations: 21.94 kB / 381.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.525, allocations: 0.9688 kB / 381.2 MB, free: 18.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.525, allocations: 9.25 kB / 381.3 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.5271, allocations: 1.316 MB / 382.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.5272, allocations: 100.2 kB / 382.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.5275, allocations: 75.11 kB / 382.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.5276, allocations: 8.719 kB / 382.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.5277, allocations: 21.88 kB / 382.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.598e-05/0.5278, allocations: 29.25 kB / 382.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.248e-05/0.5279, allocations: 82.22 kB / 382.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5279, allocations: 0 / 382.9 MB, free: 17.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006652/0.5285, allocations: 107.8 kB / 383 MB, free: 17.71 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 ($whenCondition1,rImpure,iImpure,$whenCondition2,$outputAlias_r64,$outputAlias_r128,$outputAlias_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]) * Number of discrete states: 46 ($outputAlias_r1024,$outputAlias_r128,$outputAlias_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,iImpure,rImpure,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00356/0.5321, allocations: 2.399 MB / 385.4 MB, free: 16.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002234/0.5344, allocations: 2.13 MB / 387.5 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5345, allocations: 1.688 kB / 387.5 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002091/0.5366, allocations: 2.189 MB / 389.7 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.5369, allocations: 15.89 kB / 389.7 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.538, allocations: 408.2 kB / 390.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.5388, allocations: 0.7316 MB / 390.9 MB, free: 31.7 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.755e-05/0.5389, allocations: 3.938 kB / 390.9 MB, free: 31.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.5389, allocations: 36.89 kB / 390.9 MB, free: 31.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5389, allocations: 4 kB / 390.9 MB, free: 31.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02807/0.567, allocations: 5.025 MB / 395.9 MB, free: 31.05 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003386/0.5675, allocations: 201.1 kB / 396.1 MB, free: 30.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.204, allocations: 3.906 kB / 396.1 MB, free: 30.82 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