Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.149e-05, allocations: 8 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.0987, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5142, allocations: 78.88 MB / 422 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5144, allocations: 79.83 kB / 422 MB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.5344, allocations: 4.779 MB / 426.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.202e-06/0.5345, allocations: 0 / 426.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.5345, allocations: 8 kB / 426.8 MB, free: 11.18 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006943/0.5352, allocations: 448.5 kB / 427.3 MB, free: 10.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5353, allocations: 8.031 kB / 427.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.5353, allocations: 23.72 kB / 427.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.5358, allocations: 231.8 kB / 427.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5358, allocations: 8 kB / 427.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.5358, allocations: 8 kB / 427.5 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006462/0.5365, allocations: 301.6 kB / 427.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.5365, allocations: 0 / 427.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.5366, allocations: 0 / 427.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.5366, allocations: 4 kB / 427.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.5368, allocations: 62.67 kB / 427.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.5374, allocations: 348.8 kB / 428.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.5378, allocations: 227 kB / 428.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.538, allocations: 92.88 kB / 428.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007623/0.5388, allocations: 0.5739 MB / 429.1 MB, free: 8.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.5389, allocations: 34.06 kB / 429.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 5.51e-06/0.5389, allocations: 4 kB / 429.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004473/0.5393, allocations: 156.5 kB / 429.3 MB, free: 8.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.5394, allocations: 110.2 kB / 429.4 MB, free: 8.469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5397, allocations: 178.3 kB / 429.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.5397, allocations: 25.7 kB / 429.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.5398, allocations: 109.4 kB / 429.7 MB, free: 8.188 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.5399, allocations: 19.72 kB / 429.8 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.5399, allocations: 0 / 429.8 MB, free: 8.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5401, allocations: 329.9 kB / 430.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.5402, allocations: 35.11 kB / 430.1 MB, free: 7.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.5404, allocations: 160.1 kB / 430.3 MB, free: 7.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.5405, allocations: 65 kB / 430.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.955e-06/0.5406, allocations: 8 kB / 430.3 MB, free: 7.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004017/0.541, allocations: 183.6 kB / 430.5 MB, free: 7.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.541, allocations: 4 kB / 430.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.541, allocations: 8.031 kB / 430.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.5411, allocations: 11.98 kB / 430.5 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.5413, allocations: 43.48 kB / 430.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.5413, allocations: 8 kB / 430.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.5415, allocations: 11.91 kB / 430.6 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.5416, allocations: 19.67 kB / 430.6 MB, free: 7.312 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001387/0.5417, allocations: 131 kB / 430.7 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.542, allocations: 145.1 kB / 430.9 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.5426, allocations: 155.8 kB / 431 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.5427, allocations: 4 kB / 431 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.926e-06/0.5427, allocations: 0 / 431 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.013e-06/0.5427, allocations: 0 / 431 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.5432, allocations: 233.1 kB / 431.3 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5433, allocations: 0 / 431.3 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.5436, allocations: 39.91 kB / 431.3 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.228e-05/0.5437, allocations: 7.984 kB / 431.3 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.5437, allocations: 7.812 kB / 431.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.118e-06/0.5437, allocations: 0 / 431.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.242e-06/0.5438, allocations: 0 / 431.3 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.5444, allocations: 267 kB / 431.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002413/0.5447, allocations: 118.2 kB / 431.7 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.5448, allocations: 22.27 kB / 431.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.5452, allocations: 11.98 kB / 431.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.5453, allocations: 0 / 431.7 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/0.5453, allocations: 11.42 kB / 431.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002975/0.5457, allocations: 143 kB / 431.9 MB, free: 6.109 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.578e-06/0.5457, allocations: 0 / 431.9 MB, free: 6.109 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009464/0.5466, allocations: 31.69 kB / 431.9 MB, free: 6.082 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.0003323/0.547, allocations: 121.4 kB / 432 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.5475, allocations: 119.7 kB / 432.2 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.084e-06/0.5475, allocations: 3.938 kB / 432.2 MB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.5476, allocations: 4 kB / 432.2 MB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008721/0.5485, allocations: 128.6 kB / 432.3 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009231/0.5494, allocations: 223.7 kB / 432.5 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.5501, allocations: 0.74 MB / 433.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001539/0.5502, allocations: 13.33 kB / 433.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.5504, allocations: 23.44 kB / 433.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of SimCode: time 6.134e-06/0.5504, allocations: 0 / 433.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of Templates: time 0.01135/0.5618, allocations: 2.095 MB / 435.4 MB, free: 2.68 MB / 346.7 MB