Running command: translateModel(Modelica.Blocks.Examples.Noise.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Distributions") Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.204e-05, allocations: 7.984 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09198, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/0.4632, allocations: 79.28 MB / 421.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4634, allocations: 76.77 kB / 421.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.033/0.4964, allocations: 7.572 MB / 429.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.418e-06/0.4965, allocations: 0 / 429.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.774e-06/0.4965, allocations: 0 / 429.5 MB, free: 8.324 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.0008889/0.4974, allocations: 0.4939 MB / 430 MB, free: 7.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4975, allocations: 8.031 kB / 430 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002975/0.4978, allocations: 35.78 kB / 430 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.498, allocations: 196.3 kB / 430.2 MB, free: 7.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.4981, allocations: 7.938 kB / 430.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.4981, allocations: 4 kB / 430.2 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.4984, allocations: 118.3 kB / 430.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4984, allocations: 4.344 kB / 430.3 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.4984, allocations: 7.703 kB / 430.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.198e-06/0.4985, allocations: 4 kB / 430.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.4986, allocations: 42.22 kB / 430.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009754/0.4996, allocations: 0.5552 MB / 430.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4999, allocations: 128.4 kB / 431.1 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.5001, allocations: 56.36 kB / 431.1 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5001, allocations: 7.953 kB / 431.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.5004, allocations: 139.3 kB / 431.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.186e-06/0.5004, allocations: 0 / 431.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004542/0.5009, allocations: 179.2 kB / 431.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.501, allocations: 122 kB / 431.6 MB, free: 6.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.5012, allocations: 173.2 kB / 431.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.5013, allocations: 44.38 kB / 431.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.906e-05/0.5014, allocations: 111.8 kB / 431.9 MB, free: 5.883 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.5015, allocations: 40.94 kB / 431.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/0.5015, allocations: 6 kB / 431.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5017, allocations: 329.4 kB / 432.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.5019, allocations: 79.17 kB / 432.3 MB, free: 5.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.5022, allocations: 114.2 kB / 432.4 MB, free: 5.383 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.5024, allocations: 103.6 kB / 432.5 MB, free: 5.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.5024, allocations: 0 / 432.5 MB, free: 5.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006323/0.5031, allocations: 261.8 kB / 432.8 MB, free: 5.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.5031, allocations: 12.05 kB / 432.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.5031, allocations: 0 / 432.8 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.5032, allocations: 4 kB / 432.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5034, allocations: 27.97 kB / 432.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.5034, allocations: 7.938 kB / 432.9 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.5036, allocations: 27.5 kB / 432.9 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-05/0.5036, allocations: 15.98 kB / 432.9 MB, free: 5.02 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.000159/0.5038, allocations: 131.6 kB / 433 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.5038, allocations: 15.75 kB / 433 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.5039, allocations: 21.22 kB / 433.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.468e-06/0.5039, allocations: 4 kB / 433.1 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.5039, allocations: 3.938 kB / 433.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.181e-06/0.504, allocations: 0 / 433.1 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.5043, allocations: 222.2 kB / 433.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5043, allocations: 0 / 433.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.122e-05/0.5044, allocations: 12 kB / 433.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.5044, allocations: 4 kB / 433.3 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.5044, allocations: 3.984 kB / 433.3 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.656e-06/0.5044, allocations: 11.95 kB / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.29e-06/0.5045, allocations: 0 / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.5049, allocations: 244.7 kB / 433.6 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.505, allocations: 96.81 kB / 433.6 MB, free: 4.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.286e-05/0.5051, allocations: 15.23 kB / 433.7 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.5052, allocations: 7.984 kB / 433.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.5053, allocations: 15.8 kB / 433.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.5053, allocations: 4 kB / 433.7 MB, free: 4.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001642/0.5055, allocations: 142 kB / 433.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.5055, allocations: 4 kB / 433.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007024/0.5062, allocations: 146.4 kB / 434 MB, free: 3.93 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.001282/0.5075, allocations: 415 kB / 434.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004723/0.508, allocations: 224.7 kB / 434.6 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.508, allocations: 0 / 434.6 MB, free: 3.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5082, allocations: 52.44 kB / 434.7 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.5083, allocations: 13.83 kB / 434.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000528/0.5089, allocations: 204.9 kB / 434.9 MB, free: 3.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.5093, allocations: 0.72 MB / 435.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.603e-05/0.5094, allocations: 21.19 kB / 435.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.5095, allocations: 19.44 kB / 435.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.546e-06/0.5095, allocations: 0 / 435.6 MB, free: 2.34 MB / 346.7 MB Notification: Performance of Templates: time 0.01045/0.52, allocations: 3.522 MB / 439.1 MB, free: 14.84 MB / 362.7 MB