Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.976e-05, allocations: 4 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09251, allocations: 50.4 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.4913, allocations: 78.88 MB / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.4916, allocations: 81.2 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02002/0.5117, allocations: 4.779 MB / 426.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5117, allocations: 0 / 426.3 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.5117, allocations: 4 kB / 426.3 MB, free: 11.14 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.0007028/0.5125, allocations: 447.6 kB / 426.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5125, allocations: 12.02 kB / 426.7 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.5126, allocations: 23.72 kB / 426.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.5131, allocations: 226.2 kB / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.5131, allocations: 8.062 kB / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.5131, allocations: 4 kB / 427 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.5138, allocations: 306.4 kB / 427.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.904e-06/0.5139, allocations: 0 / 427.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.5139, allocations: 7.5 kB / 427.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.67e-06/0.5139, allocations: 0 / 427.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.5141, allocations: 61.19 kB / 427.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006187/0.5147, allocations: 351.1 kB / 427.7 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.5152, allocations: 231.8 kB / 427.9 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.5154, allocations: 88.14 kB / 428 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/0.5162, allocations: 0.5772 MB / 428.6 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5162, allocations: 34.56 kB / 428.6 MB, free: 8.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 3.634e-06/0.5162, allocations: 4 kB / 428.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004474/0.5167, allocations: 151.3 kB / 428.8 MB, free: 8.555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.5168, allocations: 113.8 kB / 428.9 MB, free: 8.422 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.5172, allocations: 179.7 kB / 429.1 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.5173, allocations: 29.64 kB / 429.1 MB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/0.5174, allocations: 98.14 kB / 429.2 MB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.5174, allocations: 22.91 kB / 429.2 MB, free: 8.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/0.5175, allocations: 3.5 kB / 429.2 MB, free: 8.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5176, allocations: 330.6 kB / 429.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.5177, allocations: 30.44 kB / 429.6 MB, free: 7.781 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.518, allocations: 170.5 kB / 429.7 MB, free: 7.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.5181, allocations: 60.45 kB / 429.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.125e-06/0.5181, allocations: 4 kB / 429.8 MB, free: 7.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004288/0.5186, allocations: 188 kB / 430 MB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.5186, allocations: 12.06 kB / 430 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.5186, allocations: 8 kB / 430 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.5187, allocations: 8 kB / 430 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.5189, allocations: 43.67 kB / 430.1 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.5189, allocations: 7.984 kB / 430.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.5192, allocations: 15.91 kB / 430.1 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.5192, allocations: 15.19 kB / 430.1 MB, free: 7.262 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.0001543/0.5194, allocations: 131.9 kB / 430.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.5198, allocations: 141.9 kB / 430.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003879/0.5202, allocations: 165.6 kB / 430.5 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.049e-06/0.5202, allocations: 3.984 kB / 430.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.867e-06/0.5202, allocations: 0 / 430.5 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.304e-06/0.5202, allocations: 4 kB / 430.5 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.5206, allocations: 224.8 kB / 430.8 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.865e-06/0.5206, allocations: 4 kB / 430.8 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.5208, allocations: 35.36 kB / 430.8 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.5209, allocations: 8 kB / 430.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.5209, allocations: 3.984 kB / 430.8 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.9e-06/0.5209, allocations: 4 kB / 430.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5209, allocations: 0 / 430.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.5213, allocations: 265.9 kB / 431.1 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5215, allocations: 119.9 kB / 431.2 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.5216, allocations: 15.14 kB / 431.2 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.5218, allocations: 19.42 kB / 431.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.5218, allocations: 0 / 431.2 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5219, allocations: 7.938 kB / 431.2 MB, free: 6.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.5221, allocations: 138.7 kB / 431.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5221, allocations: 0 / 431.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004775/0.5226, allocations: 34.69 kB / 431.4 MB, free: 6.031 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.0002269/0.5228, allocations: 119.2 kB / 431.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003456/0.5232, allocations: 114.2 kB / 431.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.608e-06/0.5232, allocations: 0 / 431.6 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.436e-05/0.5232, allocations: 7.938 kB / 431.6 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/0.5238, allocations: 133.8 kB / 431.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006326/0.5245, allocations: 230.1 kB / 432 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.5249, allocations: 0.7357 MB / 432.7 MB, free: 4.727 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.5251, allocations: 17.33 kB / 432.7 MB, free: 4.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.315e-05/0.5252, allocations: 19.42 kB / 432.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of SimCode: time 3.814e-06/0.5252, allocations: 0 / 432.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of Templates: time 0.009657/0.5348, allocations: 2.097 MB / 434.9 MB, free: 2.625 MB / 346.7 MB