Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.132e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3517, allocations: 44.5 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1267/0.4785, allocations: 70.46 MB / 364.7 MB, free: 11.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4788, allocations: 67.97 kB / 364.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01267/0.4915, allocations: 2.973 MB / 367.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4916, allocations: 0 / 367.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.4916, allocations: 0 / 367.7 MB, free: 8.398 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.0006734/0.4923, allocations: 0.5558 MB / 368.3 MB, free: 7.785 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.4923, allocations: 12.03 kB / 368.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.4925, allocations: 23.8 kB / 368.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4927, allocations: 182.8 kB / 368.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.4928, allocations: 4 kB / 368.5 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.4928, allocations: 7.984 kB / 368.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002481/0.4931, allocations: 144.6 kB / 368.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005001/0.4936, allocations: 267.2 kB / 368.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4936, allocations: 0 / 368.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.4936, allocations: 4 kB / 368.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4936, allocations: 0 / 368.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.4939, allocations: 174.8 kB / 369.1 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.4945, allocations: 0.4893 MB / 369.5 MB, free: 6.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.4951, allocations: 469.5 kB / 370 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.4951, allocations: 0 / 370 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006518/0.4958, allocations: 476.5 kB / 370.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 1.874e-06/0.4958, allocations: 0 / 370.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.001002/0.4968, allocations: 405.2 kB / 370.9 MB, free: 5.004 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.497, allocations: 164.5 kB / 371 MB, free: 4.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4971, allocations: 93 kB / 371.1 MB, free: 4.715 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4971, allocations: 25.7 kB / 371.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.4972, allocations: 155.4 kB / 371.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-05/0.4973, allocations: 82.83 kB / 371.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-06/0.4973, allocations: 4 kB / 371.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4975, allocations: 326.8 kB / 371.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.4976, allocations: 80.28 kB / 371.8 MB, free: 4.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.4978, allocations: 110.4 kB / 371.9 MB, free: 3.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.498, allocations: 95.95 kB / 372 MB, free: 3.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4981, allocations: 0 / 372 MB, free: 3.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000485/0.4986, allocations: 257.3 kB / 372.2 MB, free: 3.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.4987, allocations: 111.3 kB / 372.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4987, allocations: 0 / 372.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4987, allocations: 0 / 372.3 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.634e-06/0.4988, allocations: 7.984 kB / 372.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.4988, allocations: 3.938 kB / 372.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4989, allocations: 23.75 kB / 372.4 MB, free: 3.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.851e-05/0.4989, allocations: 8 kB / 372.4 MB, free: 3.41 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.000353/0.4993, allocations: 275.5 kB / 372.6 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001185/0.5005, allocations: 0.5401 MB / 373.2 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.5006, allocations: 23.81 kB / 373.2 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/0.5006, allocations: 9.969 kB / 373.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5006, allocations: 0 / 373.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5007, allocations: 8 kB / 373.2 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5007, allocations: 0 / 373.2 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.5009, allocations: 209.9 kB / 373.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.501, allocations: 0 / 373.4 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-06/0.501, allocations: 4.141 kB / 373.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.501, allocations: 0 / 373.4 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/0.501, allocations: 23.98 kB / 373.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5011, allocations: 0 / 373.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5011, allocations: 3.984 kB / 373.5 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.5023, allocations: 0.5942 MB / 374.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.5024, allocations: 92.86 kB / 374.1 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.5026, allocations: 71.91 kB / 374.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5028, allocations: 15.94 kB / 374.2 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.069e-05/0.5029, allocations: 11.98 kB / 374.2 MB, free: 1.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.5029, allocations: 23.98 kB / 374.3 MB, free: 1.406 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.261e-05/0.503, allocations: 83.22 kB / 374.3 MB, free: 1.324 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.503, allocations: 4.031 kB / 374.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005851/0.5036, allocations: 107.9 kB / 374.5 MB, free: 1.215 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.002815/0.5064, allocations: 1.656 MB / 376.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.509, allocations: 2.092 MB / 378.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.5091, allocations: 0 / 378.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.5115, allocations: 2.162 MB / 380.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.5118, allocations: 16.23 kB / 380.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.5128, allocations: 415.1 kB / 380.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.5132, allocations: 0.7283 MB / 381.5 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.5133, allocations: 35.42 kB / 381.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5133, allocations: 0 / 381.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.787/3.301, allocations: 4.042 MB / 385.6 MB, free: 5.945 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat