Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_4_0_0_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.43e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.137, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.5969, allocations: 76.51 MB / 419.2 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5972, allocations: 70.2 kB / 419.2 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.6102, allocations: 2.975 MB / 422.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6103, allocations: 0 / 422.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.6103, allocations: 4 kB / 422.2 MB, free: 15.04 MB / 346.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.0006856/0.611, allocations: 0.5515 MB / 422.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.611, allocations: 12.03 kB / 422.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.6112, allocations: 61.91 kB / 422.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.6113, allocations: 25.17 kB / 422.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.6115, allocations: 178.9 kB / 423 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.6115, allocations: 4 kB / 423 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.6116, allocations: 7.75 kB / 423 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.6121, allocations: 279.8 kB / 423.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6121, allocations: 0 / 423.3 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.6121, allocations: 4 kB / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.6122, allocations: 3.953 kB / 423.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002364/0.6124, allocations: 154.6 kB / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.6128, allocations: 391.6 kB / 423.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.6134, allocations: 0.4997 MB / 424.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004843/0.6139, allocations: 481.4 kB / 424.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.6139, allocations: 0 / 424.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006352/0.6146, allocations: 487.2 kB / 425.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.6146, allocations: 0 / 425.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.0009605/0.6156, allocations: 0.5208 MB / 425.8 MB, free: 12.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.6157, allocations: 160.3 kB / 426 MB, free: 11.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.6158, allocations: 100.7 kB / 426.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.6158, allocations: 29.7 kB / 426.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/0.6159, allocations: 80.92 kB / 426.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.616, allocations: 93.12 kB / 426.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-06/0.616, allocations: 7.062 kB / 426.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6162, allocations: 332 kB / 426.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.6163, allocations: 82.98 kB / 426.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.6165, allocations: 114.2 kB / 426.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.6167, allocations: 215.9 kB / 427 MB, free: 10.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6168, allocations: 0 / 427 MB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005354/0.6173, allocations: 358.9 kB / 427.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.6174, allocations: 108.8 kB / 427.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.6175, allocations: 0 / 427.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6175, allocations: 7.984 kB / 427.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.6176, allocations: 16.05 kB / 427.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.6176, allocations: 0 / 427.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.6177, allocations: 27.69 kB / 427.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.6178, allocations: 11.94 kB / 427.5 MB, free: 10.45 MB / 346.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.0003328/0.6181, allocations: 276.8 kB / 427.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/0.6182, allocations: 24.09 kB / 427.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.869e-05/0.6182, allocations: 8.094 kB / 427.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.6182, allocations: 11.94 kB / 427.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6183, allocations: 0 / 427.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.6183, allocations: 0 / 427.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.6203, allocations: 1.45 MB / 429.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6204, allocations: 0 / 429.3 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.6204, allocations: 11.92 kB / 429.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6204, allocations: 4 kB / 429.3 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.559e-05/0.6205, allocations: 23.75 kB / 429.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.6205, allocations: 0 / 429.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6205, allocations: 0 / 429.3 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.6225, allocations: 1.315 MB / 430.6 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.544e-05/0.6226, allocations: 96.81 kB / 430.7 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002355/0.6228, allocations: 71.91 kB / 430.8 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.623, allocations: 8 kB / 430.8 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.6231, allocations: 11.25 kB / 430.8 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/0.6232, allocations: 35.22 kB / 430.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.478e-05/0.6232, allocations: 79.28 kB / 430.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.484e-06/0.6233, allocations: 0 / 430.9 MB, free: 7.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006176/0.6239, allocations: 107.5 kB / 431 MB, free: 7.262 MB / 346.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.003572/0.6275, allocations: 2.425 MB / 433.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.6298, allocations: 2.13 MB / 435.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6299, allocations: 0 / 435.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.632, allocations: 2.192 MB / 437.8 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6323, allocations: 12 kB / 437.8 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.6334, allocations: 406.1 kB / 438.2 MB, free: 2.578 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.6338, allocations: 0.7283 MB / 438.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.745e-05/0.6338, allocations: 0 / 438.9 MB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.289e-05/0.6339, allocations: 40.8 kB / 439 MB, free: 1.805 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6339, allocations: 0 / 439 MB, free: 1.805 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.6622, allocations: 5.011 MB / 444 MB, free: 12.85 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.6625, allocations: 207.4 kB / 444.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.276, allocations: 0 / 444.2 MB, free: 12.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Math.Random.Examples.GenerateRandomNumbers_res.mat does not exist to compare? outputFormat=mat