Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_3_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.28/2.28, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.991e-05/5.001e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5297, allocations: 75.3 MB / 392.3 MB, free: 12.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.53, allocations: 59.41 kB / 392.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01371/0.5438, allocations: 2.959 MB / 395.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5438, allocations: 0 / 395.3 MB, free: 9.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.5439, allocations: 0 / 395.3 MB, free: 9.734 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.0007556/0.5446, allocations: 0.553 MB / 395.9 MB, free: 9.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.5447, allocations: 8.031 kB / 395.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.5448, allocations: 60.81 kB / 396 MB, free: 9.074 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.545, allocations: 23.81 kB / 396 MB, free: 9.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.5452, allocations: 182.8 kB / 396.2 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.5453, allocations: 6.625 kB / 396.2 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.5453, allocations: 7.953 kB / 396.2 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.5459, allocations: 280.1 kB / 396.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.5459, allocations: 0 / 396.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.546, allocations: 7.438 kB / 396.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.546, allocations: 0 / 396.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.5463, allocations: 158.5 kB / 396.6 MB, free: 8.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.5469, allocations: 395.2 kB / 397 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.5476, allocations: 0.493 MB / 397.5 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.5481, allocations: 488.2 kB / 398 MB, free: 7.645 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.5482, allocations: 4 kB / 398 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.5489, allocations: 477.7 kB / 398.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.487e-06/0.5489, allocations: 0 / 398.4 MB, free: 7.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001051/0.55, allocations: 0.5174 MB / 398.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.5501, allocations: 164.4 kB / 399.1 MB, free: 6.578 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.5503, allocations: 100.1 kB / 399.2 MB, free: 6.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.5503, allocations: 29.7 kB / 399.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.5504, allocations: 84.8 kB / 399.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.5505, allocations: 89.38 kB / 399.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.5505, allocations: 3.312 kB / 399.4 MB, free: 6.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.5506, allocations: 338.2 kB / 399.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.5508, allocations: 80.48 kB / 399.8 MB, free: 5.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.551, allocations: 114.4 kB / 399.9 MB, free: 5.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.5513, allocations: 210.4 kB / 400.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.5513, allocations: 7.953 kB / 400.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006165/0.552, allocations: 360.8 kB / 400.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.5521, allocations: 107.5 kB / 400.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5522, allocations: 0 / 400.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.5522, allocations: 3.938 kB / 400.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.5523, allocations: 11.98 kB / 400.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.5523, allocations: 0 / 400.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.5524, allocations: 28.38 kB / 400.6 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.5525, allocations: 12.94 kB / 400.7 MB, free: 5.152 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.0004046/0.5529, allocations: 276.1 kB / 400.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.457e-05/0.553, allocations: 31.77 kB / 401 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.5531, allocations: 11.53 kB / 401 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5531, allocations: 0 / 401 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5531, allocations: 4 kB / 401 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5531, allocations: 0 / 401 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.5555, allocations: 1.447 MB / 402.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5556, allocations: 0 / 402.4 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.5556, allocations: 4 kB / 402.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.5556, allocations: 0 / 402.4 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.545e-05/0.5557, allocations: 31.48 kB / 402.5 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5557, allocations: 4 kB / 402.5 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5557, allocations: 0 / 402.5 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.5579, allocations: 1.314 MB / 403.8 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5581, allocations: 96.8 kB / 403.9 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.5583, allocations: 71.91 kB / 403.9 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.5585, allocations: 15.11 kB / 403.9 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.5586, allocations: 19.23 kB / 404 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.044e-05/0.5587, allocations: 27.36 kB / 404 MB, free: 2.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.733e-05/0.5588, allocations: 75.28 kB / 404.1 MB, free: 2.059 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5588, allocations: 4 kB / 404.1 MB, free: 2.055 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006676/0.5595, allocations: 107.2 kB / 404.2 MB, free: 1.953 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.004111/0.5636, allocations: 2.407 MB / 406.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.5662, allocations: 2.134 MB / 408.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.5663, allocations: 0 / 408.7 MB, free: 14.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002442/0.5688, allocations: 2.18 MB / 410.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.5691, allocations: 20 kB / 410.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5704, allocations: 414.8 kB / 411.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.5708, allocations: 0.7359 MB / 412.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.5709, allocations: 4 kB / 412.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.571, allocations: 41.73 kB / 412.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.382e-06/0.571, allocations: 0 / 412.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.6031, allocations: 5.011 MB / 417.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003303/0.6035, allocations: 207.7 kB / 417.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.147, allocations: 0 / 417.3 MB, free: 7.273 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat