Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadModel(Modelica): time 1.86/1.86, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.377e-05, allocations: 4 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07814/0.0782, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.3807, allocations: 70.99 MB / 370.9 MB, free: 70.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.3809, allocations: 68.67 kB / 370.9 MB, free: 70.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008024/0.389, allocations: 1.98 MB / 372.9 MB, free: 70.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.238e-06/0.389, allocations: 0 / 372.9 MB, free: 70.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.859e-06/0.389, allocations: 1.25 kB / 372.9 MB, free: 70.22 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.0002862/0.3893, allocations: 343 kB / 373.2 MB, free: 69.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3894, allocations: 10.34 kB / 373.2 MB, free: 69.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.3894, allocations: 6.125 kB / 373.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.672e-05/0.3895, allocations: 171.4 kB / 373.4 MB, free: 69.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.3896, allocations: 1.219 kB / 373.4 MB, free: 69.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3896, allocations: 3.688 kB / 373.4 MB, free: 69.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.704e-05/0.3897, allocations: 31.59 kB / 373.5 MB, free: 69.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.011e-06/0.3897, allocations: 0 / 373.5 MB, free: 69.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-06/0.3897, allocations: 5.125 kB / 373.5 MB, free: 69.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.726e-06/0.3897, allocations: 0 / 373.5 MB, free: 69.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.719e-05/0.3898, allocations: 8.75 kB / 373.5 MB, free: 69.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.39, allocations: 246.3 kB / 373.7 MB, free: 69.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.516e-05/0.3901, allocations: 28.2 kB / 373.7 MB, free: 69.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.105e-05/0.3901, allocations: 10.31 kB / 373.7 MB, free: 69.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-06/0.3902, allocations: 8.672 kB / 373.8 MB, free: 69.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.807e-05/0.3903, allocations: 46.17 kB / 373.8 MB, free: 69.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.509e-06/0.3903, allocations: 0 / 373.8 MB, free: 69.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001544/0.3905, allocations: 52.77 kB / 373.9 MB, free: 69.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3905, allocations: 61.44 kB / 373.9 MB, free: 69.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.05e-05/0.3906, allocations: 95.61 kB / 374 MB, free: 69.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.726e-06/0.3906, allocations: 27.39 kB / 374 MB, free: 69.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.3906, allocations: 153.9 kB / 374.2 MB, free: 68.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.3907, allocations: 9.062 kB / 374.2 MB, free: 68.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-06/0.3907, allocations: 0 / 374.2 MB, free: 68.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.3907, allocations: 317.3 kB / 374.5 MB, free: 68.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.3908, allocations: 8 kB / 374.5 MB, free: 68.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.3908, allocations: 24.16 kB / 374.5 MB, free: 68.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.333e-05/0.3909, allocations: 7.469 kB / 374.5 MB, free: 68.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.231e-06/0.3909, allocations: 0 / 374.5 MB, free: 68.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000112/0.391, allocations: 57.36 kB / 374.6 MB, free: 68.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.391, allocations: 6.938 kB / 374.6 MB, free: 68.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.808e-06/0.391, allocations: 0 / 374.6 MB, free: 68.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3911, allocations: 2.031 kB / 374.6 MB, free: 68.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.3911, allocations: 7.453 kB / 374.6 MB, free: 68.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.896e-06/0.3912, allocations: 5.531 kB / 374.6 MB, free: 68.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.567e-05/0.3912, allocations: 4.281 kB / 374.6 MB, free: 68.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3912, allocations: 7.062 kB / 374.6 MB, free: 68.5 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.029e-05/0.3913, allocations: 114.2 kB / 374.7 MB, free: 68.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.3913, allocations: 5.969 kB / 374.7 MB, free: 68.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.3913, allocations: 6.578 kB / 374.8 MB, free: 68.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-06/0.3914, allocations: 0 / 374.8 MB, free: 68.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-06/0.3914, allocations: 5.562 kB / 374.8 MB, free: 68.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-06/0.3914, allocations: 3.938 kB / 374.8 MB, free: 68.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3916, allocations: 286.5 kB / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-06/0.3916, allocations: 1.469 kB / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.964e-05/0.3917, allocations: 2.031 kB / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.114e-06/0.3917, allocations: 0 / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.078e-06/0.3917, allocations: 2.359 kB / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-06/0.3917, allocations: 0 / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-06/0.3917, allocations: 0 / 375 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3918, allocations: 156.4 kB / 375.2 MB, free: 67.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.3919, allocations: 81.53 kB / 375.3 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3919, allocations: 1.703 kB / 375.3 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.136e-05/0.392, allocations: 1.469 kB / 375.3 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.392, allocations: 2.219 kB / 375.3 MB, free: 67.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.392, allocations: 2.234 kB / 375.3 MB, free: 67.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.254e-05/0.3921, allocations: 87.48 kB / 375.4 MB, free: 67.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.3921, allocations: 0 / 375.4 MB, free: 67.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003769/0.3925, allocations: 35.06 kB / 375.4 MB, free: 67.75 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.0004469/0.3929, allocations: 189.1 kB / 375.6 MB, free: 67.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.717e-05/0.393, allocations: 28.3 kB / 375.6 MB, free: 67.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.3931, allocations: 1.031 kB / 375.6 MB, free: 67.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.3931, allocations: 5.984 kB / 375.6 MB, free: 67.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001498/0.3933, allocations: 5.766 kB / 375.6 MB, free: 67.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001873/0.3935, allocations: 96.5 kB / 375.7 MB, free: 67.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.3936, allocations: 0.6809 MB / 376.4 MB, free: 66.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.3936, allocations: 8.656 kB / 376.4 MB, free: 66.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.335e-06/0.3936, allocations: 0 / 376.4 MB, free: 66.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003679/0.3973, allocations: 1.341 MB / 377.8 MB, free: 66.65 MB / 314.7 MB