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.857/1.857, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.266e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08079/0.08084, allocations: 44.49 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3206/0.4014, allocations: 70.98 MB / 370.8 MB, free: 21.22 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4017, allocations: 70.02 kB / 370.9 MB, free: 21.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008487/0.4102, allocations: 1.983 MB / 372.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4103, allocations: 0 / 372.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.362e-06/0.4103, allocations: 1.062 kB / 372.9 MB, free: 20.8 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.000316/0.4106, allocations: 346.2 kB / 373.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4107, allocations: 10.19 kB / 373.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.4107, allocations: 1.922 kB / 373.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.4108, allocations: 170.1 kB / 373.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4109, allocations: 5.062 kB / 373.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.4109, allocations: 4.812 kB / 373.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.623e-05/0.411, allocations: 36.05 kB / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.807e-06/0.411, allocations: 5.156 kB / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-06/0.411, allocations: 0 / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-06/0.411, allocations: 0 / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/0.4111, allocations: 8.219 kB / 373.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.4114, allocations: 245.1 kB / 373.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.356e-05/0.4114, allocations: 28.89 kB / 373.7 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.4115, allocations: 9.234 kB / 373.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.4115, allocations: 1.156 kB / 373.7 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.4116, allocations: 56.56 kB / 373.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.4116, allocations: 0 / 373.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001623/0.4118, allocations: 45.38 kB / 373.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.4118, allocations: 56.5 kB / 373.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.4119, allocations: 97.72 kB / 374 MB, free: 19.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.4119, allocations: 30.39 kB / 374 MB, free: 19.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.481e-05/0.412, allocations: 155.7 kB / 374.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.412, allocations: 6.266 kB / 374.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-06/0.412, allocations: 0 / 374.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.4121, allocations: 320.3 kB / 374.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.4121, allocations: 4.594 kB / 374.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.232e-05/0.4122, allocations: 23.61 kB / 374.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.4122, allocations: 15.44 kB / 374.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.362e-06/0.4122, allocations: 0 / 374.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001161/0.4124, allocations: 49.52 kB / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4124, allocations: 6.375 kB / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.108e-06/0.4124, allocations: 0 / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4124, allocations: 2.328 kB / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.216e-05/0.4125, allocations: 6.234 kB / 374.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.229e-06/0.4125, allocations: 9.281 kB / 374.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.682e-05/0.4126, allocations: 12.62 kB / 374.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.4126, allocations: 1.875 kB / 374.6 MB, free: 19.08 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.204e-05/0.4127, allocations: 111.8 kB / 374.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.4127, allocations: 2.031 kB / 374.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.4127, allocations: 9.562 kB / 374.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4127, allocations: 0 / 374.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.868e-06/0.4128, allocations: 2.844 kB / 374.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.57e-06/0.4128, allocations: 0 / 374.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.413, allocations: 289.2 kB / 375 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-06/0.413, allocations: 0 / 375 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.4131, allocations: 7.547 kB / 375 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.141e-06/0.4131, allocations: 0 / 375 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-06/0.4131, allocations: 1.312 kB / 375 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.4131, allocations: 384 / 375 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.984e-06/0.4131, allocations: 2.594 kB / 375 MB, free: 18.65 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.4132, allocations: 149.6 kB / 375.2 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.4133, allocations: 81.86 kB / 375.2 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.4133, allocations: 5.469 kB / 375.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.232e-05/0.4134, allocations: 1.031 kB / 375.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.4134, allocations: 2.625 kB / 375.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-06/0.4134, allocations: 1.344 kB / 375.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.893e-05/0.4135, allocations: 85.61 kB / 375.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.4135, allocations: 0 / 375.3 MB, free: 18.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004313/0.4139, allocations: 35.56 kB / 375.4 MB, free: 18.33 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.0004883/0.4144, allocations: 197.7 kB / 375.6 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.4146, allocations: 22.22 kB / 375.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4146, allocations: 0 / 375.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.4146, allocations: 11.62 kB / 375.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4148, allocations: 9.875 kB / 375.6 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.415, allocations: 97.09 kB / 375.7 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4152, allocations: 0.6805 MB / 376.4 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.4152, allocations: 8.625 kB / 376.4 MB, free: 17.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.651e-06/0.4152, allocations: 1 kB / 376.4 MB, free: 17.39 MB / 314.7 MB Notification: Performance of Templates: time 0.003821/0.4191, allocations: 1.338 MB / 377.7 MB, free: 17.23 MB / 314.7 MB