Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadModel(Modelica): time 2.168/2.168, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.734e-05/2.709e-05, allocations: 4 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 50.41 MB / 343.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3767/0.4869, allocations: 77.23 MB / 420.3 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4872, allocations: 80.7 kB / 420.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008488/0.4957, allocations: 2.121 MB / 422.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.551e-06/0.4957, allocations: 0 / 422.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.4958, allocations: 4 kB / 422.5 MB, free: 15.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004275/0.4962, allocations: 345.6 kB / 422.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4962, allocations: 8.031 kB / 422.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.4963, allocations: 11.86 kB / 422.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.4966, allocations: 202 kB / 423.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.4966, allocations: 7.188 kB / 423.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.4966, allocations: 4 kB / 423.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.4969, allocations: 103.7 kB / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-06/0.4969, allocations: 0 / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4969, allocations: 3.953 kB / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.7e-06/0.4969, allocations: 0 / 423.2 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.988e-05/0.497, allocations: 15.69 kB / 423.2 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.4975, allocations: 280.5 kB / 423.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4976, allocations: 62.92 kB / 423.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.4977, allocations: 33.7 kB / 423.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4977, allocations: 7.953 kB / 423.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.4977, allocations: 30.56 kB / 423.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.299e-06/0.4977, allocations: 0 / 423.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002208/0.498, allocations: 64.22 kB / 423.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.4981, allocations: 110.8 kB / 423.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.4982, allocations: 125.8 kB / 423.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4983, allocations: 25.7 kB / 423.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.4983, allocations: 91.27 kB / 424 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.4984, allocations: 7.891 kB / 424 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-06/0.4984, allocations: 0 / 424 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4985, allocations: 318.2 kB / 424.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.4986, allocations: 11.19 kB / 424.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.607e-05/0.4986, allocations: 31.38 kB / 424.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/0.4987, allocations: 11.42 kB / 424.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4987, allocations: 4 kB / 424.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000144/0.4989, allocations: 60.86 kB / 424.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4989, allocations: 8 kB / 424.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.483e-06/0.4989, allocations: 3.938 kB / 424.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4989, allocations: 0 / 424.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.499, allocations: 12 kB / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.4991, allocations: 0 / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.4991, allocations: 11.36 kB / 424.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-06/0.4992, allocations: 4.125 kB / 424.5 MB, free: 12.95 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.2e-05/0.4993, allocations: 108.9 kB / 424.6 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.4994, allocations: 48.56 kB / 424.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.4994, allocations: 14.52 kB / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.416e-06/0.4995, allocations: 4.078 kB / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.921e-06/0.4995, allocations: 4 kB / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-06/0.4995, allocations: 0 / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.4997, allocations: 172.3 kB / 424.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.4998, allocations: 8.062 kB / 424.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.383e-05/0.4999, allocations: 11.98 kB / 424.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.446e-06/0.4999, allocations: 4 kB / 424.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.4999, allocations: 7.891 kB / 424.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4999, allocations: 4 kB / 424.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.836e-06/0.4999, allocations: 0 / 424.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.5001, allocations: 195.2 kB / 425.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.5002, allocations: 92.81 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.5003, allocations: 0 / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5004, allocations: 4 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.5004, allocations: 4 kB / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-06/0.5005, allocations: 0 / 425.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5006, allocations: 113.1 kB / 425.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.5006, allocations: 4 kB / 425.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.5009, allocations: 4 kB / 425.3 MB, free: 12.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001296/0.5011, allocations: 107.2 kB / 425.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.5012, allocations: 15.94 kB / 425.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.619e-06/0.5012, allocations: 7.938 kB / 425.4 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.539e-05/0.5012, allocations: 3.938 kB / 425.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.5016, allocations: 30.44 kB / 425.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.5019, allocations: 113.8 kB / 425.6 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.5023, allocations: 0.6926 MB / 426.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.282e-05/0.5023, allocations: 4.172 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.5024, allocations: 11.44 kB / 426.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5024, allocations: 3.938 kB / 426.3 MB, free: 11.06 MB / 346.7 MB Notification: Performance of Templates: time 0.003137/0.5056, allocations: 0.5195 MB / 426.8 MB, free: 10.56 MB / 346.7 MB