Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise2_y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Noise.UniformNoise") Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.582e-05, allocations: 0 / 292.7 MB, free: 8.379 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09208, allocations: 50.42 MB / 343.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5052, allocations: 77.28 MB / 420.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5055, allocations: 67.84 kB / 420.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01717/0.5227, allocations: 4.189 MB / 424.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5227, allocations: 0 / 424.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.5227, allocations: 0 / 424.6 MB, free: 13.2 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000697/0.5234, allocations: 434.3 kB / 425 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.5235, allocations: 12.03 kB / 425 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.5239, allocations: 43.59 kB / 425.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.5242, allocations: 183.4 kB / 425.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.5242, allocations: 11.8 kB / 425.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.5242, allocations: 7.984 kB / 425.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.5245, allocations: 103.5 kB / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.237e-06/0.5245, allocations: 0 / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.5245, allocations: 3.938 kB / 425.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5246, allocations: 7.953 kB / 425.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.5247, allocations: 39.23 kB / 425.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.5255, allocations: 386.3 kB / 425.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.5258, allocations: 97.52 kB / 425.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5259, allocations: 49.11 kB / 426 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.25e-06/0.5259, allocations: 0 / 426 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.5262, allocations: 133.8 kB / 426.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.867e-06/0.5262, allocations: 0 / 426.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004284/0.5267, allocations: 173.9 kB / 426.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.43e-05/0.5268, allocations: 92.41 kB / 426.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.527, allocations: 157.1 kB / 426.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.5271, allocations: 44.33 kB / 426.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.5272, allocations: 116.9 kB / 426.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.5273, allocations: 45.98 kB / 426.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.5273, allocations: 7.359 kB / 426.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.5275, allocations: 332.8 kB / 427 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.5277, allocations: 70.06 kB / 427.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.528, allocations: 107.7 kB / 427.2 MB, free: 10.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.5282, allocations: 104.4 kB / 427.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.433e-06/0.5282, allocations: 0 / 427.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005624/0.5288, allocations: 243.5 kB / 427.6 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5288, allocations: 4 kB / 427.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.5289, allocations: 7.953 kB / 427.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5289, allocations: 0 / 427.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.5291, allocations: 31.91 kB / 427.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5291, allocations: 4 kB / 427.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.5293, allocations: 27.69 kB / 427.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.5293, allocations: 15.81 kB / 427.6 MB, free: 10.29 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,$PRE.uniformNoise2.state[1],uniformNoise2.state[1],$PRE.uniformNoise2.state[2],uniformNoise2.state[2],$PRE.uniformNoise2.state[3],uniformNoise2.state[3],$PRE.uniformNoise2.state[4],uniformNoise2.state[4],$PRE.uniformNoise2.r,uniformNoise2.r,$PRE.uniformNoise2.r_raw,uniformNoise2.r_raw,$PRE.uniformNoise1.state[1],uniformNoise1.state[1],$PRE.uniformNoise1.state[2],uniformNoise1.state[2],$PRE.uniformNoise1.state[3],uniformNoise1.state[3],$PRE.uniformNoise1.state[4],uniformNoise1.state[4],$PRE.uniformNoise1.r,uniformNoise1.r,$PRE.uniformNoise1.r_raw,uniformNoise1.r_raw,globalSeed.id_impure,uniformNoise1.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise2.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0001589/0.5295, allocations: 134.5 kB / 427.8 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.731e-05/0.5296, allocations: 7.906 kB / 427.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.5296, allocations: 13.41 kB / 427.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.5296, allocations: 11.94 kB / 427.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5296, allocations: 0 / 427.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.5297, allocations: 4 kB / 427.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/0.53, allocations: 210.7 kB / 428 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-06/0.53, allocations: 0 / 428 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.5301, allocations: 11.98 kB / 428 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.936e-06/0.5301, allocations: 3.938 kB / 428 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5301, allocations: 0 / 428 MB, free: 9.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.975e-06/0.5301, allocations: 7.984 kB / 428 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.5301, allocations: 7.891 kB / 428 MB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.5305, allocations: 214.6 kB / 428.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.5306, allocations: 95.78 kB / 428.3 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.5307, allocations: 4 kB / 428.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.5308, allocations: 15 kB / 428.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.5309, allocations: 11.98 kB / 428.4 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.5309, allocations: 4 kB / 428.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001385/0.5311, allocations: 132.6 kB / 428.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.5311, allocations: 0 / 428.5 MB, free: 9.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.5315, allocations: 58.81 kB / 428.6 MB, free: 9.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw,$whenCondition1,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw) * Number of discrete states: 8 (uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * 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.0006746/0.5322, allocations: 244.9 kB / 428.8 MB, free: 9.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004495/0.5327, allocations: 223.8 kB / 429 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.12e-06/0.5327, allocations: 0 / 429 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.5329, allocations: 47.88 kB / 429.1 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.533, allocations: 7.188 kB / 429.1 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.5335, allocations: 179.6 kB / 429.3 MB, free: 8.727 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.5339, allocations: 0.7162 MB / 430 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.448e-05/0.534, allocations: 20.86 kB / 430 MB, free: 7.961 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.5341, allocations: 15.44 kB / 430 MB, free: 7.945 MB / 346.7 MB Notification: Performance of SimCode: time 1.5e-06/0.5341, allocations: 0 / 430 MB, free: 7.945 MB / 346.7 MB Notification: Performance of Templates: time 0.007361/0.5415, allocations: 2.166 MB / 432.2 MB, free: 5.793 MB / 346.7 MB