Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.649e-05, allocations: 11.98 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.09111, allocations: 50.4 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4655, allocations: 76.27 MB / 419.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.4657, allocations: 70.7 kB / 419.4 MB, free: 1.867 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002024/0.4678, allocations: 0.6786 MB / 420.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.4678, allocations: 1.156 kB / 420.1 MB, free: 1.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.4679, allocations: 7.984 kB / 420.1 MB, free: 1.234 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.0003511/0.4682, allocations: 322.5 kB / 420.4 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.4683, allocations: 8.031 kB / 420.4 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.4683, allocations: 11.86 kB / 420.4 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.4685, allocations: 170.5 kB / 420.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4686, allocations: 2.844 kB / 420.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.4686, allocations: 4 kB / 420.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.4689, allocations: 90.78 kB / 420.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.4689, allocations: 0 / 420.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.4689, allocations: 0 / 420.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-06/0.4689, allocations: 0 / 420.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.392e-05/0.469, allocations: 23.86 kB / 420.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.4692, allocations: 153.5 kB / 420.9 MB, free: 360 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.4693, allocations: 34.27 kB / 420.9 MB, free: 320 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.4693, allocations: 20.83 kB / 420.9 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.4694, allocations: 11.88 kB / 420.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.4694, allocations: 30.56 kB / 421 MB, free: 252 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.241e-06/0.4694, allocations: 3.938 kB / 421 MB, free: 248 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001474/0.4696, allocations: 45.42 kB / 421 MB, free: 200 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.4697, allocations: 59.33 kB / 421.1 MB, free: 128 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.297e-05/0.4698, allocations: 96.94 kB / 421.2 MB, free: 28 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.4698, allocations: 25.7 kB / 421.2 MB, free: 16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.4699, allocations: 87.95 kB / 421.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-06/0.4699, allocations: 0 / 421.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.62e-06/0.4699, allocations: 4 kB / 421.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4701, allocations: 322.4 kB / 421.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.4701, allocations: 0 / 421.6 MB, free: 15.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-05/0.4701, allocations: 23.44 kB / 421.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.4702, allocations: 15.94 kB / 421.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.832e-06/0.4702, allocations: 0 / 421.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001053/0.4703, allocations: 49.56 kB / 421.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4703, allocations: 8 kB / 421.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4704, allocations: 0 / 421.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.4704, allocations: 0 / 421.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.297e-05/0.4704, allocations: 7.938 kB / 421.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.558e-06/0.4705, allocations: 4.125 kB / 421.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.4705, allocations: 7.875 kB / 421.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-06/0.4705, allocations: 0 / 421.7 MB, free: 15.46 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.635e-05/0.4706, allocations: 108.9 kB / 421.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.4707, allocations: 45.56 kB / 421.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.4708, allocations: 7.5 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-06/0.4708, allocations: 0 / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.492e-06/0.4708, allocations: 7.984 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.976e-06/0.4708, allocations: 4 kB / 421.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.4709, allocations: 161.5 kB / 422 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.471, allocations: 4 kB / 422 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.471, allocations: 3.938 kB / 422 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.044e-06/0.471, allocations: 0 / 422 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-06/0.471, allocations: 0 / 422 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.257e-06/0.471, allocations: 0 / 422 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-06/0.4711, allocations: 4 kB / 422.1 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.4712, allocations: 76.67 kB / 422.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/0.4713, allocations: 85.33 kB / 422.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4713, allocations: 4 kB / 422.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.4713, allocations: 0 / 422.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-06/0.4714, allocations: 3.984 kB / 422.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.772e-06/0.4714, allocations: 4 kB / 422.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.534e-05/0.4714, allocations: 83.16 kB / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.4715, allocations: 0 / 422.3 MB, free: 14.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.4717, allocations: 7.938 kB / 422.3 MB, free: 14.78 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.0001263/0.4719, allocations: 99.25 kB / 422.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.472, allocations: 23.42 kB / 422.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.472, allocations: 4 kB / 422.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.508e-06/0.472, allocations: 0 / 422.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.4722, allocations: 19.83 kB / 422.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001905/0.4724, allocations: 68.7 kB / 422.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.4727, allocations: 0.6848 MB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.777e-05/0.4728, allocations: 4.25 kB / 423.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.4728, allocations: 11.44 kB / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.395e-06/0.4728, allocations: 0 / 423.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of Templates: time 0.002414/0.4753, allocations: 286.3 kB / 423.5 MB, free: 13.56 MB / 346.7 MB