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.224/2.224, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.697e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.5497, allocations: 71.12 MB / 371.1 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.5501, allocations: 62.95 kB / 371.2 MB, free: 21.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01417/0.5643, allocations: 2.983 MB / 374.1 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5643, allocations: 0 / 374.1 MB, free: 20.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.5644, allocations: 2.312 kB / 374.2 MB, free: 20.84 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.0007218/0.5651, allocations: 0.5537 MB / 374.7 MB, free: 20.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.5652, allocations: 13.62 kB / 374.7 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.5653, allocations: 58.3 kB / 374.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.5655, allocations: 18.56 kB / 374.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.5656, allocations: 181.2 kB / 375 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.5657, allocations: 4 kB / 375 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.5657, allocations: 9.312 kB / 375 MB, free: 20.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.5663, allocations: 285 kB / 375.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.5663, allocations: 0 / 375.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.5663, allocations: 3.156 kB / 375.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.5663, allocations: 8.969 kB / 375.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.5666, allocations: 146.9 kB / 375.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.5671, allocations: 399.8 kB / 375.8 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005392/0.5676, allocations: 0.494 MB / 376.3 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.5681, allocations: 488.9 kB / 376.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.5682, allocations: 1.219 kB / 376.8 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007279/0.5689, allocations: 481 kB / 377.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.496e-06/0.5689, allocations: 1.281 kB / 377.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001027/0.57, allocations: 0.519 MB / 377.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.5701, allocations: 167.3 kB / 377.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.765e-05/0.5702, allocations: 95.97 kB / 378 MB, free: 19.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.5702, allocations: 26.89 kB / 378.1 MB, free: 19.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.5703, allocations: 82.27 kB / 378.1 MB, free: 18.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.5704, allocations: 96.08 kB / 378.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5704, allocations: 1.312 kB / 378.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.279e-05/0.5705, allocations: 333 kB / 378.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.5706, allocations: 86.52 kB / 378.6 MB, free: 18.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.5708, allocations: 119.5 kB / 378.8 MB, free: 18.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.5711, allocations: 203.1 kB / 379 MB, free: 18.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5711, allocations: 0 / 379 MB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005796/0.5717, allocations: 369.6 kB / 379.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.5718, allocations: 111 kB / 379.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.577e-06/0.5718, allocations: 0 / 379.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.5719, allocations: 1.922 kB / 379.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.814e-05/0.572, allocations: 5.344 kB / 379.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.572, allocations: 5.281 kB / 379.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.5721, allocations: 30 kB / 379.5 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.5722, allocations: 8.406 kB / 379.5 MB, free: 18.25 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.0003641/0.5725, allocations: 277.1 kB / 379.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.5726, allocations: 32.08 kB / 379.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.5727, allocations: 5.844 kB / 379.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.5727, allocations: 1.188 kB / 379.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5727, allocations: 1.031 kB / 379.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5727, allocations: 1.219 kB / 379.8 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.575, allocations: 1.444 MB / 381.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.575, allocations: 1.062 kB / 381.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.5751, allocations: 4.875 kB / 381.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.5751, allocations: 5.609 kB / 381.2 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.5752, allocations: 24.3 kB / 381.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.5752, allocations: 0 / 381.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.5752, allocations: 1.094 kB / 381.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.5774, allocations: 1.319 MB / 382.6 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.531e-05/0.5776, allocations: 99.86 kB / 382.7 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002198/0.5778, allocations: 74.81 kB / 382.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.578, allocations: 12.97 kB / 382.8 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.812e-05/0.5781, allocations: 18.11 kB / 382.8 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.162e-05/0.5782, allocations: 27.16 kB / 382.8 MB, free: 17.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.5782, allocations: 87.17 kB / 382.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5782, allocations: 0 / 382.9 MB, free: 17.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006939/0.5789, allocations: 111.5 kB / 383 MB, free: 17.25 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.003617/0.5826, allocations: 2.402 MB / 385.4 MB, free: 16.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002561/0.5852, allocations: 2.128 MB / 387.5 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.5853, allocations: 4.062 kB / 387.5 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.5874, allocations: 2.189 MB / 389.7 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.5878, allocations: 19.2 kB / 389.7 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.5889, allocations: 404.3 kB / 390.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000877/0.5899, allocations: 0.7361 MB / 390.9 MB, free: 31.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.099e-05/0.5899, allocations: 0 / 390.9 MB, free: 31.24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.885e-05/0.59, allocations: 38.25 kB / 390.9 MB, free: 31.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.59, allocations: 0 / 390.9 MB, free: 31.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07435/0.6644, allocations: 5.022 MB / 395.9 MB, free: 30.61 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000307/0.6648, allocations: 191.9 kB / 396.1 MB, free: 30.38 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.342, allocations: 0 / 396.1 MB, free: 30.38 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