Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.297e-05/5.323e-05, allocations: 11.92 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09599/0.09608, allocations: 50.42 MB / 343.1 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5078, allocations: 76.21 MB / 419.3 MB, free: 1.941 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.5081, allocations: 74.08 kB / 419.4 MB, free: 1.898 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002616/0.5107, allocations: 0.7794 MB / 420.2 MB, free: 1.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.958e-06/0.5107, allocations: 2.312 kB / 420.2 MB, free: 1.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.5108, allocations: 4 kB / 420.2 MB, free: 1.188 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003763/0.5112, allocations: 330.3 kB / 420.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.5112, allocations: 8.031 kB / 420.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.5113, allocations: 11.86 kB / 420.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.5115, allocations: 175.4 kB / 420.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.5115, allocations: 0 / 420.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.5115, allocations: 4 kB / 420.7 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.5118, allocations: 100.1 kB / 420.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.716e-06/0.5118, allocations: 0 / 420.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-06/0.5118, allocations: 0 / 420.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5119, allocations: 0 / 420.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.5119, allocations: 19.45 kB / 420.8 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.5121, allocations: 157.5 kB / 420.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.5122, allocations: 37.55 kB / 421 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.23e-05/0.5123, allocations: 16.8 kB / 421 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-06/0.5123, allocations: 0 / 421 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5124, allocations: 37.69 kB / 421 MB, free: 192 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.837e-06/0.5124, allocations: 7.984 kB / 421 MB, free: 184 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000176/0.5126, allocations: 52.86 kB / 421.1 MB, free: 128 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/0.5126, allocations: 54.16 kB / 421.1 MB, free: 64 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.5128, allocations: 104.3 kB / 421.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.5128, allocations: 25.7 kB / 421.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.5129, allocations: 83.52 kB / 421.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.5129, allocations: 4 kB / 421.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-06/0.5129, allocations: 0 / 421.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5131, allocations: 322.3 kB / 421.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.952e-05/0.5131, allocations: 4 kB / 421.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.5132, allocations: 34.8 kB / 421.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/0.5132, allocations: 10.69 kB / 421.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5132, allocations: 4 kB / 421.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001274/0.5134, allocations: 60.91 kB / 421.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5134, allocations: 8 kB / 421.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-06/0.5134, allocations: 384 / 421.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5134, allocations: 0 / 421.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.308e-05/0.5135, allocations: 8 kB / 421.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5135, allocations: 4 kB / 421.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.373e-05/0.5136, allocations: 7.062 kB / 421.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.5136, allocations: 0 / 421.8 MB, free: 15.38 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.482e-05/0.5137, allocations: 117 kB / 421.9 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.5138, allocations: 48.64 kB / 422 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.455e-05/0.5139, allocations: 8.016 kB / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.984e-06/0.5139, allocations: 4 kB / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.5139, allocations: 0 / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-06/0.5139, allocations: 0 / 422 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.5141, allocations: 160.2 kB / 422.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-06/0.5141, allocations: 3.938 kB / 422.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.487e-05/0.5142, allocations: 11.98 kB / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.893e-06/0.5142, allocations: 0 / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-06/0.5142, allocations: 4 kB / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.306e-06/0.5142, allocations: 0 / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.3e-06/0.5142, allocations: 0 / 422.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.5144, allocations: 80.05 kB / 422.2 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.438e-05/0.5145, allocations: 77.11 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.5145, allocations: 11.92 kB / 422.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.828e-05/0.5145, allocations: 4 kB / 422.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-06/0.5146, allocations: 0 / 422.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-06/0.5146, allocations: 7.5 kB / 422.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.5147, allocations: 79.28 kB / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.5147, allocations: 0 / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002778/0.515, allocations: 7.062 kB / 422.4 MB, free: 14.69 MB / 346.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0001359/0.5151, allocations: 103.2 kB / 422.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.876e-05/0.5152, allocations: 19.19 kB / 422.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.266e-06/0.5152, allocations: 0 / 422.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.5153, allocations: 4.188 kB / 422.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.5155, allocations: 35.17 kB / 422.6 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.5158, allocations: 68.23 kB / 422.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.5161, allocations: 0.6848 MB / 423.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.234e-05/0.5162, allocations: 3.938 kB / 423.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.5162, allocations: 11.44 kB / 423.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5162, allocations: 0 / 423.3 MB, free: 13.72 MB / 346.7 MB Notification: Performance of Templates: time 0.002909/0.5191, allocations: 397.5 kB / 423.7 MB, free: 13.35 MB / 346.7 MB