Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.159e-05, allocations: 6.5 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09242, allocations: 50.42 MB / 343.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4543, allocations: 79.27 MB / 422.3 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.4546, allocations: 74.2 kB / 422.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03286/0.4875, allocations: 7.564 MB / 430 MB, free: 8.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.997e-06/0.4875, allocations: 0 / 430 MB, free: 8.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.4875, allocations: 4 kB / 430 MB, free: 8.367 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009563/0.4885, allocations: 0.496 MB / 430.5 MB, free: 7.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4886, allocations: 12.03 kB / 430.5 MB, free: 7.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/0.4889, allocations: 31.78 kB / 430.5 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.4891, allocations: 203 kB / 430.7 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.4892, allocations: 7.984 kB / 430.7 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.4892, allocations: 11.25 kB / 430.7 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.4895, allocations: 114.3 kB / 430.9 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4895, allocations: 4.344 kB / 430.9 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.4896, allocations: 7.938 kB / 430.9 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.24e-06/0.4896, allocations: 0 / 430.9 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.4897, allocations: 46.48 kB / 430.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000986/0.4907, allocations: 0.5526 MB / 431.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.4911, allocations: 129.6 kB / 431.6 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4912, allocations: 56.05 kB / 431.6 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.4912, allocations: 3.953 kB / 431.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.4915, allocations: 147.2 kB / 431.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.861e-06/0.4916, allocations: 0 / 431.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004887/0.4921, allocations: 177.8 kB / 432 MB, free: 6.348 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.317e-05/0.4922, allocations: 118.4 kB / 432.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.4924, allocations: 176.3 kB / 432.3 MB, free: 6.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.077e-05/0.4925, allocations: 44.56 kB / 432.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.4926, allocations: 112.4 kB / 432.4 MB, free: 5.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.4927, allocations: 39.27 kB / 432.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.4927, allocations: 7.906 kB / 432.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4929, allocations: 333.9 kB / 432.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.4931, allocations: 75.36 kB / 432.9 MB, free: 5.504 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.4934, allocations: 112.8 kB / 433 MB, free: 5.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4936, allocations: 100.1 kB / 433.1 MB, free: 5.344 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.881e-06/0.4936, allocations: 4 kB / 433.1 MB, free: 5.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005967/0.4942, allocations: 255.7 kB / 433.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4943, allocations: 7.953 kB / 433.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.4943, allocations: 4 kB / 433.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4943, allocations: 7.938 kB / 433.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.4946, allocations: 31.91 kB / 433.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.4946, allocations: 0 / 433.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.4947, allocations: 35.59 kB / 433.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.4948, allocations: 15.86 kB / 433.4 MB, free: 5.051 MB / 346.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): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000156/0.495, allocations: 124.9 kB / 433.5 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/0.495, allocations: 19.8 kB / 433.6 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.4951, allocations: 24.41 kB / 433.6 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-06/0.4951, allocations: 0 / 433.6 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.427e-06/0.4951, allocations: 4 kB / 433.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.361e-06/0.4951, allocations: 4 kB / 433.6 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.4954, allocations: 218.2 kB / 433.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.302e-06/0.4955, allocations: 0 / 433.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.4956, allocations: 12 kB / 433.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-06/0.4956, allocations: 0 / 433.8 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4956, allocations: 7.984 kB / 433.8 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.4956, allocations: 3.953 kB / 433.8 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.37e-06/0.4957, allocations: 4 kB / 433.8 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.4961, allocations: 247.7 kB / 434.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.748e-05/0.4962, allocations: 100.8 kB / 434.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.304e-05/0.4963, allocations: 11.48 kB / 434.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4964, allocations: 11.98 kB / 434.2 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.748e-05/0.4965, allocations: 15.42 kB / 434.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.4965, allocations: 4 kB / 434.2 MB, free: 4.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001652/0.4967, allocations: 143.1 kB / 434.4 MB, free: 4.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.4967, allocations: 0 / 434.4 MB, free: 4.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007047/0.4974, allocations: 150.5 kB / 434.5 MB, free: 3.961 MB / 346.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.001344/0.4988, allocations: 406 kB / 434.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.4993, allocations: 217.3 kB / 435.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4993, allocations: 96 / 435.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4995, allocations: 62.66 kB / 435.2 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.4997, allocations: 18.89 kB / 435.2 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.5002, allocations: 195.2 kB / 435.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.5007, allocations: 0.7278 MB / 436.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.5008, allocations: 25.19 kB / 436.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.157e-05/0.5008, allocations: 18.88 kB / 436.1 MB, free: 2.367 MB / 346.7 MB Notification: Performance of SimCode: time 1.448e-06/0.5009, allocations: 0 / 436.1 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Templates: time 0.01022/0.5111, allocations: 3.506 MB / 439.7 MB, free: 14.88 MB / 362.7 MB