Running command: translateModel(Modelica.Math.Random.Examples.GenerateRandomNumbers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1024|r128|r64",fileNamePrefix="Modelica_3.2.2_Modelica.Math.Random.Examples.GenerateRandomNumbers") Notification: Performance of loadModel(Modelica): time 1.826/1.826, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.728e-05, allocations: 4 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3304, allocations: 44.49 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Math.Random.Examples.GenerateRandomNumbers): time 0.002119/0.3325, allocations: 0.957 MB / 304.3 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3338, allocations: 413.2 kB / 304.7 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.3339, allocations: 0 / 304.7 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.3339, allocations: 4.875 kB / 304.7 MB, free: 11.83 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.3343, allocations: 49.17 kB / 304.7 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.3344, allocations: 43.58 kB / 304.8 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.425e-05/0.3345, allocations: 22.19 kB / 304.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.01e-05/0.3346, allocations: 5.797 kB / 304.8 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.3346, allocations: 15.27 kB / 304.8 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.3347, allocations: 19.05 kB / 304.8 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.3349, allocations: 84.19 kB / 304.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.221e-05/0.335, allocations: 6.469 kB / 304.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.018e-05/0.335, allocations: 33.77 kB / 304.9 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.3351, allocations: 10.41 kB / 305 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3353, allocations: 109.9 kB / 305.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3354, allocations: 0 / 305.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3354, allocations: 0 / 305.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3354, allocations: 5.188 kB / 305.1 MB, free: 11.6 MB / 250.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.0006431/0.336, allocations: 0.5512 MB / 305.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3361, allocations: 8.75 kB / 305.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3363, allocations: 26.56 kB / 305.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3365, allocations: 179.7 kB / 305.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.3365, allocations: 2.188 kB / 305.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.3365, allocations: 4.344 kB / 305.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.337, allocations: 276.7 kB / 306.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/0.337, allocations: 4 kB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.337, allocations: 3.938 kB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.337, allocations: 0 / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.3373, allocations: 143.9 kB / 306.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.3375, allocations: 206.2 kB / 306.5 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.3382, allocations: 497.1 kB / 306.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.3382, allocations: 0 / 306.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006251/0.3388, allocations: 476.7 kB / 307.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of pre-optimization done (n=46): time 4.308e-06/0.3388, allocations: 0 / 307.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of matching and sorting (n=46): time 0.001375/0.3402, allocations: 0.8826 MB / 308.3 MB, free: 8.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.3404, allocations: 164.5 kB / 308.5 MB, free: 8.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.511e-05/0.3405, allocations: 96.98 kB / 308.5 MB, free: 8.047 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3405, allocations: 25.7 kB / 308.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.3406, allocations: 89.14 kB / 308.7 MB, free: 7.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.3407, allocations: 82.75 kB / 308.7 MB, free: 7.844 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/0.3407, allocations: 4 kB / 308.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3408, allocations: 326.8 kB / 309.1 MB, free: 7.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.341, allocations: 84.28 kB / 309.1 MB, free: 7.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.3411, allocations: 114.4 kB / 309.3 MB, free: 7.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3414, allocations: 191.3 kB / 309.4 MB, free: 7.113 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3414, allocations: 4 kB / 309.4 MB, free: 7.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005599/0.342, allocations: 352.6 kB / 309.8 MB, free: 6.746 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.3422, allocations: 111.3 kB / 309.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3422, allocations: 0 / 309.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3422, allocations: 0 / 309.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.3422, allocations: 0 / 309.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.3422, allocations: 4 kB / 309.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.24e-05/0.3423, allocations: 23.75 kB / 309.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.3424, allocations: 12.09 kB / 309.9 MB, free: 6.586 MB / 250.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.0003748/0.3428, allocations: 298.8 kB / 310.2 MB, free: 6.273 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.3428, allocations: 31.77 kB / 310.3 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.3429, allocations: 5.891 kB / 310.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3429, allocations: 0 / 310.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3429, allocations: 4 kB / 310.3 MB, free: 6.23 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3429, allocations: 3.984 kB / 310.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.3432, allocations: 229.3 kB / 310.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.3432, allocations: 8 kB / 310.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.3432, allocations: 0 / 310.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3432, allocations: 7.938 kB / 310.5 MB, free: 5.938 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.3433, allocations: 19.98 kB / 310.5 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3433, allocations: 3.938 kB / 310.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3433, allocations: 4 kB / 310.5 MB, free: 5.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.3452, allocations: 1.222 MB / 311.8 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3453, allocations: 100.8 kB / 311.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.3455, allocations: 71.88 kB / 311.9 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3456, allocations: 8 kB / 311.9 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.3457, allocations: 20.02 kB / 312 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.3457, allocations: 12 kB / 312 MB, free: 4.422 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.637e-05/0.3458, allocations: 83.27 kB / 312.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3458, allocations: 0 / 312.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004537/0.3463, allocations: 88 kB / 312.1 MB, free: 4.254 MB / 250.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.0007422/0.347, allocations: 314.7 kB / 312.4 MB, free: 3.965 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.3497, allocations: 2.123 MB / 314.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3498, allocations: 0 / 314.6 MB, free: 1.816 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.3524, allocations: 2.186 MB / 316.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.3526, allocations: 13.2 kB / 316.8 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.3535, allocations: 403.6 kB / 317.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.354, allocations: 0.7286 MB / 317.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.127e-05/0.354, allocations: 8 kB / 317.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.354, allocations: 11.38 kB / 317.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.354, allocations: 0 / 317.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Templates: time 0.008991/0.363, allocations: 2.757 MB / 320.7 MB, free: 11.63 MB / 266.7 MB