Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.181e-05/5.203e-05, allocations: 5.562 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0963/0.0964, allocations: 50.41 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.458, allocations: 76.26 MB / 419.3 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4583, allocations: 73.59 kB / 419.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002177/0.4605, allocations: 0.7126 MB / 420.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4606, allocations: 0 / 420.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.4606, allocations: 0 / 420.1 MB, free: 1.203 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.0003566/0.4609, allocations: 325.9 kB / 420.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.461, allocations: 12.03 kB / 420.5 MB, free: 0.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.4611, allocations: 7.859 kB / 420.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.4613, allocations: 171 kB / 420.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-06/0.4613, allocations: 6.688 kB / 420.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.4613, allocations: 0 / 420.6 MB, free: 0.6133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002804/0.4616, allocations: 96.44 kB / 420.7 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4616, allocations: 4.938 kB / 420.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-06/0.4617, allocations: 0 / 420.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.102e-06/0.4617, allocations: 3.953 kB / 420.7 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.4617, allocations: 11.25 kB / 420.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.4619, allocations: 153.5 kB / 420.9 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.462, allocations: 41.44 kB / 420.9 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.709e-05/0.4621, allocations: 23.08 kB / 421 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.4621, allocations: 0 / 421 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4622, allocations: 34.56 kB / 421 MB, free: 208 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.423e-06/0.4622, allocations: 0 / 421 MB, free: 208 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001517/0.4624, allocations: 53.17 kB / 421.1 MB, free: 152 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.4624, allocations: 54.97 kB / 421.1 MB, free: 88 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4626, allocations: 105.7 kB / 421.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4626, allocations: 29.7 kB / 421.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.894e-05/0.4627, allocations: 80.14 kB / 421.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.4627, allocations: 11.86 kB / 421.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-06/0.4627, allocations: 0 / 421.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4628, allocations: 310.8 kB / 421.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.4629, allocations: 7.875 kB / 421.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-05/0.4629, allocations: 23.44 kB / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.463, allocations: 8 kB / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-06/0.463, allocations: 0 / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001084/0.4631, allocations: 53.44 kB / 421.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4631, allocations: 4 kB / 421.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.4631, allocations: 0 / 421.7 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.4632, allocations: 12.06 kB / 421.7 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.4632, allocations: 8.234 kB / 421.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.086e-06/0.4633, allocations: 3.938 kB / 421.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.015e-05/0.4633, allocations: 8 kB / 421.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-06/0.4633, allocations: 3.953 kB / 421.8 MB, free: 15.4 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.533e-05/0.4634, allocations: 108.6 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.4635, allocations: 49.41 kB / 421.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.4636, allocations: 8.156 kB / 421.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.4636, allocations: 4 kB / 421.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.4636, allocations: 7.984 kB / 421.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-06/0.4636, allocations: 0 / 421.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4638, allocations: 165.3 kB / 422.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4638, allocations: 0 / 422.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.034e-05/0.4639, allocations: 11.98 kB / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.43e-06/0.4639, allocations: 0 / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4639, allocations: 0 / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.22e-06/0.4639, allocations: 0 / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-06/0.4639, allocations: 0 / 422.1 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.4641, allocations: 80.45 kB / 422.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.4642, allocations: 81.02 kB / 422.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.4642, allocations: 4 kB / 422.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.528e-05/0.4642, allocations: 3.984 kB / 422.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-06/0.4643, allocations: 0 / 422.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.4643, allocations: 4 kB / 422.3 MB, free: 14.81 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.772e-05/0.4643, allocations: 83.03 kB / 422.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.4644, allocations: 0 / 422.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002558/0.4646, allocations: 4 kB / 422.4 MB, free: 14.73 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001324/0.4648, allocations: 107.2 kB / 422.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.835e-05/0.4649, allocations: 15.31 kB / 422.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.4649, allocations: 7.875 kB / 422.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.57e-06/0.4649, allocations: 0 / 422.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.4651, allocations: 23.56 kB / 422.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.4653, allocations: 68.08 kB / 422.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.4657, allocations: 0.6851 MB / 423.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.823e-05/0.4658, allocations: 4 kB / 423.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.4658, allocations: 7.438 kB / 423.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.441e-06/0.4658, allocations: 0 / 423.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of Templates: time 0.00251/0.4683, allocations: 296.8 kB / 423.6 MB, free: 13.49 MB / 346.7 MB