Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Distributions") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.121e-05, allocations: 4 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3053, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Distributions): time 0.002135/0.3075, allocations: 1.248 MB / 304.6 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.3107, allocations: 1.3 MB / 305.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.3108, allocations: 1.031 kB / 305.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.303e-05/0.3109, allocations: 3.938 kB / 305.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3111, allocations: 24.95 kB / 305.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3121, allocations: 254.8 kB / 306.1 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3123, allocations: 56.16 kB / 306.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.3123, allocations: 2.125 kB / 306.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.3124, allocations: 46.36 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.3125, allocations: 55.66 kB / 306.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.3136, allocations: 429.8 kB / 306.7 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3138, allocations: 24 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.3138, allocations: 31.92 kB / 306.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.3139, allocations: 8 kB / 306.8 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.3146, allocations: 279.5 kB / 307.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.3146, allocations: 0 / 307.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3146, allocations: 0 / 307.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3146, allocations: 0 / 307.1 MB, free: 9.867 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008367/0.3155, allocations: 471 kB / 307.5 MB, free: 9.359 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3155, allocations: 12.03 kB / 307.5 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.3158, allocations: 39.73 kB / 307.6 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3161, allocations: 211.5 kB / 307.8 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.3161, allocations: 8 kB / 307.8 MB, free: 9.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3162, allocations: 4 kB / 307.8 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3165, allocations: 132.2 kB / 307.9 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3166, allocations: 3.938 kB / 307.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3166, allocations: 0 / 307.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3166, allocations: 0 / 307.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003565/0.317, allocations: 71.95 kB / 308 MB, free: 8.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3181, allocations: 0.5593 MB / 308.5 MB, free: 8.215 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.3187, allocations: 171.8 kB / 308.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3187, allocations: 0 / 308.7 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.3191, allocations: 163.9 kB / 308.9 MB, free: 7.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.3192, allocations: 4 kB / 308.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.001048/0.3202, allocations: 427.8 kB / 309.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.3203, allocations: 118.9 kB / 309.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.3206, allocations: 174.3 kB / 309.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.3207, allocations: 45.69 kB / 309.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.887e-05/0.3208, allocations: 116.4 kB / 309.7 MB, free: 6.887 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.3208, allocations: 47.44 kB / 309.8 MB, free: 6.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.3209, allocations: 0 / 309.8 MB, free: 6.84 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.321, allocations: 334.8 kB / 310.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.3214, allocations: 99.95 kB / 310.2 MB, free: 6.406 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.3218, allocations: 139.4 kB / 310.3 MB, free: 6.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.3222, allocations: 120 kB / 310.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3222, allocations: 0 / 310.5 MB, free: 6.141 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009569/0.3232, allocations: 313.2 kB / 310.8 MB, free: 5.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3232, allocations: 4 kB / 310.8 MB, free: 5.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.3232, allocations: 4 kB / 310.8 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3232, allocations: 8.031 kB / 310.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/0.3235, allocations: 31.97 kB / 310.8 MB, free: 5.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.3236, allocations: 7.953 kB / 310.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.3238, allocations: 31.69 kB / 310.9 MB, free: 5.742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.3238, allocations: 15.98 kB / 310.9 MB, free: 5.727 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * 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.0002023/0.324, allocations: 149.8 kB / 311 MB, free: 5.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.3241, allocations: 15.81 kB / 311 MB, free: 5.555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.3241, allocations: 17.41 kB / 311 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3241, allocations: 0 / 311 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3242, allocations: 0 / 311 MB, free: 5.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3242, allocations: 7.953 kB / 311.1 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3245, allocations: 217.5 kB / 311.3 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3245, allocations: 3.984 kB / 311.3 MB, free: 5.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3246, allocations: 15.94 kB / 311.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.3246, allocations: 0 / 311.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.3246, allocations: 7.984 kB / 311.3 MB, free: 5.238 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3247, allocations: 4 kB / 311.3 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3247, allocations: 0 / 311.3 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.3253, allocations: 273.8 kB / 311.6 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.3254, allocations: 88.92 kB / 311.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3255, allocations: 15.98 kB / 311.7 MB, free: 4.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3256, allocations: 11.94 kB / 311.7 MB, free: 4.797 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3257, allocations: 11.98 kB / 311.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3257, allocations: 12 kB / 311.7 MB, free: 4.773 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3259, allocations: 141.1 kB / 311.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3259, allocations: 0 / 311.8 MB, free: 4.637 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006423/0.3266, allocations: 128 kB / 312 MB, free: 4.512 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001159/0.3278, allocations: 352.5 kB / 312.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.3286, allocations: 207.8 kB / 312.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.3286, allocations: 0 / 312.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002899/0.3289, allocations: 67.97 kB / 312.6 MB, free: 3.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.3291, allocations: 16.06 kB / 312.6 MB, free: 3.895 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.3298, allocations: 307.4 kB / 312.9 MB, free: 3.566 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3302, allocations: 0.7201 MB / 313.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.3303, allocations: 21.41 kB / 313.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.3304, allocations: 15.44 kB / 313.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3304, allocations: 4 kB / 313.7 MB, free: 2.777 MB / 250.7 MB Notification: Performance of Templates: time 0.01093/0.3414, allocations: 3.311 MB / 317 MB, free: 15.47 MB / 266.7 MB