Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.143e-05, allocations: 7.938 kB / 292.7 MB, free: 8.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09252, allocations: 50.41 MB / 343.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3776/0.4701, allocations: 76.23 MB / 419.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4704, allocations: 72.52 kB / 419.4 MB, free: 1.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002647/0.4731, allocations: 0.789 MB / 420.2 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.478e-06/0.4731, allocations: 0 / 420.2 MB, free: 1.195 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4731, allocations: 0 / 420.2 MB, free: 1.195 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.000367/0.4735, allocations: 327.6 kB / 420.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.4736, allocations: 12.03 kB / 420.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.4736, allocations: 9.422 kB / 420.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4738, allocations: 171.1 kB / 420.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4739, allocations: 7.438 kB / 420.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.4739, allocations: 0 / 420.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.4741, allocations: 97.14 kB / 420.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.867e-06/0.4742, allocations: 0 / 420.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4742, allocations: 3.438 kB / 420.8 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-06/0.4742, allocations: 3.984 kB / 420.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.4743, allocations: 11.95 kB / 420.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.4745, allocations: 160.2 kB / 421 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.4746, allocations: 37.52 kB / 421 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.4746, allocations: 16.27 kB / 421 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.4747, allocations: 4 kB / 421 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4747, allocations: 30.56 kB / 421 MB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.106e-06/0.4747, allocations: 4 kB / 421 MB, free: 200 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001608/0.4749, allocations: 56.8 kB / 421.1 MB, free: 144 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.475, allocations: 55.41 kB / 421.2 MB, free: 76 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4751, allocations: 97.05 kB / 421.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4751, allocations: 25.7 kB / 421.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.144e-05/0.4752, allocations: 87.45 kB / 421.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.163e-05/0.4752, allocations: 3.062 kB / 421.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.4752, allocations: 3.375 kB / 421.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4754, allocations: 318.8 kB / 421.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.4754, allocations: 7.375 kB / 421.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.228e-05/0.4755, allocations: 31.42 kB / 421.7 MB, free: 15.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.4755, allocations: 11.38 kB / 421.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4755, allocations: 0 / 421.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001278/0.4757, allocations: 60.69 kB / 421.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4757, allocations: 4 kB / 421.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4757, allocations: 384 / 421.8 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4758, allocations: 4 kB / 421.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.4758, allocations: 4 kB / 421.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.4759, allocations: 8 kB / 421.8 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.4759, allocations: 10.59 kB / 421.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-06/0.4759, allocations: 4 kB / 421.8 MB, free: 15.39 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: 2 (step.counter,$CLKPRE.step.counter) * 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.557e-05/0.476, allocations: 117 kB / 421.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/0.4761, allocations: 48.58 kB / 422 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.4762, allocations: 15.83 kB / 422 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-06/0.4762, allocations: 0 / 422 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4762, allocations: 0 / 422 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.679e-06/0.4762, allocations: 0 / 422 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.4764, allocations: 157.6 kB / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.669e-06/0.4764, allocations: 0 / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.4765, allocations: 15.92 kB / 422.2 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.542e-06/0.4765, allocations: 0 / 422.2 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.4765, allocations: 4 kB / 422.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.571e-06/0.4765, allocations: 4 kB / 422.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4765, allocations: 0 / 422.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.4767, allocations: 79.73 kB / 422.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.4767, allocations: 77.25 kB / 422.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.4768, allocations: 3.984 kB / 422.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.79e-05/0.4768, allocations: 4 kB / 422.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-06/0.4769, allocations: 3.984 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-06/0.4769, allocations: 7.938 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.056e-05/0.4769, allocations: 87.16 kB / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.477, allocations: 0 / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000258/0.4772, allocations: 4 kB / 422.4 MB, free: 14.7 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: 1 (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.0001355/0.4774, allocations: 106.6 kB / 422.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.525e-05/0.4775, allocations: 15.69 kB / 422.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.546e-06/0.4775, allocations: 0 / 422.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.447e-06/0.4775, allocations: 256 / 422.6 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.4778, allocations: 35.67 kB / 422.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.478, allocations: 64.86 kB / 422.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4784, allocations: 0.6848 MB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.437e-05/0.4784, allocations: 4 kB / 423.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.4784, allocations: 7.438 kB / 423.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.494e-06/0.4784, allocations: 0 / 423.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of Templates: time 0.00274/0.4812, allocations: 396.3 kB / 423.7 MB, free: 13.37 MB / 346.7 MB