Running command: "" <> buildModelFMU(Modelica.Math.Random.Examples.GenerateRandomNumbers,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Math_Random_Examples_GenerateRandomNumbers",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.672/2.672, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.443e-05, allocations: 4.344 kB / 249.7 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5352/0.6414, allocations: 70.46 MB / 364.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.6417, allocations: 62.91 kB / 364.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.6567, allocations: 2.974 MB / 367.8 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6567, allocations: 0 / 367.8 MB, free: 22.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.6568, allocations: 0 / 367.8 MB, free: 22.75 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.0006075/0.6574, allocations: 0.5596 MB / 368.3 MB, free: 22.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.6575, allocations: 11.59 kB / 368.3 MB, free: 22.28 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.948e-05/0.6576, allocations: 55.75 kB / 368.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.6578, allocations: 19.34 kB / 368.4 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.6579, allocations: 185 kB / 368.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.658, allocations: 1.375 kB / 368.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.213e-05/0.658, allocations: 11.53 kB / 368.6 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002329/0.6583, allocations: 152.3 kB / 368.7 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004543/0.6587, allocations: 272.7 kB / 369 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6588, allocations: 0 / 369 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.6588, allocations: 3.875 kB / 369 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.6588, allocations: 2.625 kB / 369 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.6592, allocations: 354.6 kB / 369.4 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005103/0.6597, allocations: 0.4931 MB / 369.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/0.6602, allocations: 477.7 kB / 370.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.6602, allocations: 3.844 kB / 370.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006131/0.6609, allocations: 480.7 kB / 370.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.745e-06/0.6609, allocations: 0 / 370.8 MB, free: 21.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001145/0.6621, allocations: 418 kB / 371.2 MB, free: 21.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.559e-05/0.6622, allocations: 159 kB / 371.4 MB, free: 21.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.6623, allocations: 99.97 kB / 371.5 MB, free: 21.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.6623, allocations: 27.14 kB / 371.5 MB, free: 21.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.6623, allocations: 82.27 kB / 371.6 MB, free: 20.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6624, allocations: 95.95 kB / 371.7 MB, free: 20.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.926e-06/0.6625, allocations: 9.438 kB / 371.7 MB, free: 20.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.6627, allocations: 332.1 kB / 372 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6628, allocations: 79.3 kB / 372.1 MB, free: 20.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.663, allocations: 108.7 kB / 372.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.6633, allocations: 111.1 kB / 372.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6633, allocations: 0 / 372.3 MB, free: 20.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007991/0.6641, allocations: 268.5 kB / 372.5 MB, free: 20.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.6644, allocations: 111.3 kB / 372.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6644, allocations: 5.406 kB / 372.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.6644, allocations: 0 / 372.7 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.6645, allocations: 12.59 kB / 372.7 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.6646, allocations: 0 / 372.7 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.6647, allocations: 29.97 kB / 372.7 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.6648, allocations: 9.375 kB / 372.7 MB, free: 20.39 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.000448/0.6652, allocations: 278.8 kB / 373 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.6654, allocations: 29.38 kB / 373 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.6654, allocations: 10.39 kB / 373 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6654, allocations: 1.312 kB / 373 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6654, allocations: 0 / 373 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6655, allocations: 1.312 kB / 373 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.667, allocations: 0.7813 MB / 373.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.667, allocations: 4.062 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.776e-05/0.6671, allocations: 3.969 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.6671, allocations: 3.906 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.6672, allocations: 29.11 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.6672, allocations: 0 / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.6672, allocations: 3.875 kB / 373.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.6687, allocations: 0.6716 MB / 374.5 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.51e-05/0.6688, allocations: 92.83 kB / 374.6 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.669, allocations: 73.73 kB / 374.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.6692, allocations: 11.69 kB / 374.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.138e-05/0.6693, allocations: 18.14 kB / 374.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/0.6694, allocations: 29.62 kB / 374.7 MB, free: 19.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.321e-05/0.6695, allocations: 78.66 kB / 374.8 MB, free: 19.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.6695, allocations: 4 kB / 374.8 MB, free: 19.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007468/0.6703, allocations: 108.5 kB / 374.9 MB, free: 19.51 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.003409/0.6737, allocations: 1.761 MB / 376.7 MB, free: 18.67 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.6765, allocations: 2.1 MB / 378.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.6766, allocations: 0 / 378.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.6789, allocations: 2.182 MB / 381 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.6792, allocations: 11.59 kB / 381 MB, free: 18.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.6804, allocations: 392.1 kB / 381.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.6808, allocations: 0.7323 MB / 382.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.6809, allocations: 0 / 382.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.681, allocations: 37.23 kB / 382.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.681, allocations: 3.938 kB / 382.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06364/0.7446, allocations: 4.791 MB / 386.9 MB, free: 16.37 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003362/0.745, allocations: 185.4 kB / 387.1 MB, free: 16.17 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.505/4.25, allocations: 0 / 387.1 MB, free: 16.17 MB / 314.7 MB "" Variables in the reference:time,r1024,r128,r64 Variables in the result:_D_outputAlias_r1024,_D_outputAlias_r128,_D_outputAlias_r64,_D_whenCondition1,_D_whenCondition2,globalSeed,iImpure,id,localSeed,r1024,r128,r64,rImpure,samplePeriod,state1024[10],state1024[11],state1024[12],state1024[13],state1024[14],state1024[15],state1024[16],state1024[17],state1024[18],state1024[19],state1024[1],state1024[20],state1024[21],state1024[22],state1024[23],state1024[24],state1024[25],state1024[26],state1024[27],state1024[28],state1024[29],state1024[2],state1024[30],state1024[31],state1024[32],state1024[33],state1024[3],state1024[4],state1024[5],state1024[6],state1024[7],state1024[8],state1024[9],state128[1],state128[2],state128[3],state128[4],state64[1],state64[2],time