Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadModel(Modelica_Synchronous): time 2.26/2.26, allocations: 218.4 MB / 234.2 MB, free: 4.617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.198e-05, allocations: 4 kB / 287.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 50.37 MB / 338 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise): time 0.001667/0.4007, allocations: 0.5759 MB / 338.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.4015, allocations: 231.3 kB / 338.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.4016, allocations: 4 kB / 338.8 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.149e-05/0.4016, allocations: 11.92 kB / 338.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.4018, allocations: 4 kB / 338.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.4022, allocations: 71.8 kB / 338.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.4023, allocations: 27.91 kB / 338.9 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.4024, allocations: 7.984 kB / 338.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.4025, allocations: 8 kB / 338.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.4025, allocations: 15.91 kB / 338.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.4027, allocations: 43.91 kB / 339 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.4027, allocations: 4 kB / 339 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.4028, allocations: 11.98 kB / 339 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.4028, allocations: 7.938 kB / 339 MB, free: 14.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.403, allocations: 59.89 kB / 339 MB, free: 14.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.403, allocations: 0 / 339 MB, free: 14.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.009e-06/0.403, allocations: 3.984 kB / 339.1 MB, free: 14.76 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.403, allocations: 0 / 339.1 MB, free: 14.76 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005389/0.4036, allocations: 365 kB / 339.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4036, allocations: 12.03 kB / 339.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.508e-05/0.4037, allocations: 15.75 kB / 339.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.404, allocations: 194 kB / 339.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.404, allocations: 0 / 339.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.404, allocations: 8 kB / 339.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.4044, allocations: 153 kB / 339.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4045, allocations: 0 / 339.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4045, allocations: 4 kB / 339.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.4045, allocations: 0 / 339.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.139e-05/0.4046, allocations: 19.98 kB / 339.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.405, allocations: 277.6 kB / 340.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.4051, allocations: 42.58 kB / 340.1 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009014/0.406, allocations: 0.5818 MB / 340.7 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4061, allocations: 38.55 kB / 340.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.4061, allocations: 0 / 340.7 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003462/0.4065, allocations: 174.7 kB / 340.9 MB, free: 12.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4065, allocations: 55.31 kB / 341 MB, free: 12.51 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.4067, allocations: 145.5 kB / 341.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4068, allocations: 25.7 kB / 341.1 MB, free: 12.33 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.4069, allocations: 154.8 kB / 341.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.4069, allocations: 11.94 kB / 341.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.4069, allocations: 0 / 341.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4071, allocations: 322.8 kB / 341.6 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.191e-05/0.4071, allocations: 16 kB / 341.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.832e-05/0.4072, allocations: 65.98 kB / 341.7 MB, free: 11.74 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.742e-05/0.4073, allocations: 31.92 kB / 341.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4073, allocations: 0 / 341.7 MB, free: 11.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002449/0.4076, allocations: 109.5 kB / 341.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4076, allocations: 4 kB / 341.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4076, allocations: 4 kB / 341.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4077, allocations: 0 / 341.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4078, allocations: 24.11 kB / 341.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4078, allocations: 0 / 341.9 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.4079, allocations: 7.938 kB / 341.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.4079, allocations: 8 kB / 341.9 MB, free: 11.55 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001436/0.4081, allocations: 133.9 kB / 342 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.4082, allocations: 73.53 kB / 342.1 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.4085, allocations: 82.3 kB / 342.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4085, allocations: 0 / 342.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4085, allocations: 0 / 342.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.4085, allocations: 4 kB / 342.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.4087, allocations: 173.5 kB / 342.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4087, allocations: 0 / 342.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.4088, allocations: 11.98 kB / 342.3 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.4088, allocations: 4 kB / 342.3 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4088, allocations: 3.938 kB / 342.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4088, allocations: 0 / 342.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4089, allocations: 0 / 342.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.409, allocations: 101.2 kB / 342.4 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.643e-05/0.4091, allocations: 93 kB / 342.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.4092, allocations: 7.984 kB / 342.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.4092, allocations: 4 kB / 342.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-06/0.4093, allocations: 0 / 342.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.4093, allocations: 0 / 342.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.4094, allocations: 119.4 kB / 342.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4094, allocations: 0 / 342.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.4097, allocations: 16 kB / 342.7 MB, free: 10.62 MB / 282.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002092/0.4099, allocations: 103.2 kB / 342.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.4101, allocations: 60.16 kB / 342.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4101, allocations: 0 / 342.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4102, allocations: 0 / 342.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.4106, allocations: 81.64 kB / 342.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.4111, allocations: 224.9 kB / 343.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4114, allocations: 0.7044 MB / 343.8 MB, free: 9.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/0.4114, allocations: 15.38 kB / 343.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4114, allocations: 0 / 343.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of Templates: time 0.004046/0.4155, allocations: 1.243 MB / 345.1 MB, free: 8.129 MB / 282.7 MB