Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.892e-05/2.914e-05, allocations: 0 / 255.4 MB, free: 2.719 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07874/0.0788, allocations: 44.5 MB / 299.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3177/0.3965, allocations: 70.99 MB / 370.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.3968, allocations: 69.81 kB / 370.9 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007976/0.4048, allocations: 1.987 MB / 372.9 MB, free: 21.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.058e-06/0.4049, allocations: 1 kB / 372.9 MB, free: 21.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.016e-06/0.4049, allocations: 0 / 372.9 MB, free: 21.19 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003047/0.4052, allocations: 338.6 kB / 373.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4053, allocations: 9.219 kB / 373.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.4053, allocations: 2.344 kB / 373.3 MB, free: 20.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.253e-05/0.4054, allocations: 174.2 kB / 373.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4054, allocations: 4.969 kB / 373.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.4055, allocations: 2.562 kB / 373.4 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/0.4055, allocations: 30.84 kB / 373.5 MB, free: 20.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4056, allocations: 4.547 kB / 373.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.39e-06/0.4056, allocations: 4.906 kB / 373.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-06/0.4056, allocations: 0 / 373.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.61e-05/0.4056, allocations: 7.766 kB / 373.5 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.4059, allocations: 246.2 kB / 373.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.406, allocations: 25.31 kB / 373.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.406, allocations: 14.22 kB / 373.8 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.4061, allocations: 0 / 373.8 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.4062, allocations: 59.56 kB / 373.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.567e-06/0.4062, allocations: 4 kB / 373.8 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001583/0.4064, allocations: 47.27 kB / 373.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.4064, allocations: 52.06 kB / 373.9 MB, free: 20.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.824e-05/0.4065, allocations: 102 kB / 374 MB, free: 20.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.926e-06/0.4065, allocations: 25.7 kB / 374.1 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.755e-05/0.4065, allocations: 86.28 kB / 374.1 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.4066, allocations: 6.672 kB / 374.1 MB, free: 19.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-06/0.4066, allocations: 0.9688 kB / 374.1 MB, free: 19.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.4066, allocations: 320.6 kB / 374.5 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.4067, allocations: 8.922 kB / 374.5 MB, free: 19.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.808e-05/0.4067, allocations: 19.11 kB / 374.5 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.4068, allocations: 15.75 kB / 374.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-06/0.4068, allocations: 0 / 374.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.4069, allocations: 53.81 kB / 374.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.407, allocations: 6.812 kB / 374.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.185e-06/0.407, allocations: 1.953 kB / 374.6 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.407, allocations: 4.031 kB / 374.6 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.911e-05/0.4071, allocations: 7.953 kB / 374.6 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.75e-06/0.4071, allocations: 0.7969 kB / 374.6 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.4071, allocations: 5.594 kB / 374.6 MB, free: 19.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-06/0.4071, allocations: 8.75 kB / 374.6 MB, free: 19.54 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: 4 ($whenCondition1,impureRandom.y,globalSeed.seed,globalSeed.id_impure) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * 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 5.074e-05/0.4072, allocations: 111.7 kB / 374.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.4072, allocations: 3.141 kB / 374.7 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.4073, allocations: 5.094 kB / 374.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-06/0.4073, allocations: 0 / 374.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-06/0.4073, allocations: 5.922 kB / 374.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.4073, allocations: 0 / 374.7 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.4075, allocations: 284.9 kB / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-06/0.4076, allocations: 1 kB / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.4076, allocations: 1.766 kB / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.164e-06/0.4076, allocations: 0.9688 kB / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-06/0.4076, allocations: 1.891 kB / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4076, allocations: 0 / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4076, allocations: 3.938 kB / 375 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.4078, allocations: 156 kB / 375.2 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.4078, allocations: 82.88 kB / 375.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.4078, allocations: 0.7031 kB / 375.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.3e-05/0.4079, allocations: 1 kB / 375.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.4079, allocations: 2.203 kB / 375.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.408, allocations: 1.062 kB / 375.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.408, allocations: 89.69 kB / 375.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.408, allocations: 0 / 375.3 MB, free: 18.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004052/0.4084, allocations: 36.31 kB / 375.4 MB, free: 18.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004888/0.4089, allocations: 201.5 kB / 375.6 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.4091, allocations: 22.19 kB / 375.6 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.91e-06/0.4091, allocations: 0 / 375.6 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.4091, allocations: 6.297 kB / 375.6 MB, free: 18.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.4093, allocations: 10.11 kB / 375.6 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.4095, allocations: 66.81 kB / 375.7 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.4096, allocations: 0.6804 MB / 376.3 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.284e-05/0.4097, allocations: 9.984 kB / 376.3 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.4097, allocations: 10.03 kB / 376.4 MB, free: 17.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.384e-06/0.4097, allocations: 0 / 376.4 MB, free: 17.88 MB / 314.7 MB Notification: Performance of Templates: time 0.0043/0.4141, allocations: 1.119 MB / 377.5 MB, free: 17.75 MB / 314.7 MB