Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.264/2.264, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.416e-05/6.461e-05, allocations: 11.8 kB / 292.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4813, allocations: 76.26 MB / 418.8 MB, free: 1.887 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4816, allocations: 77.45 kB / 418.9 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002282/0.4839, allocations: 0.7101 MB / 419.6 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.391e-06/0.4839, allocations: 4 kB / 419.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.484, allocations: 0 / 419.6 MB, free: 1.191 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.0003807/0.4844, allocations: 329.5 kB / 419.9 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4844, allocations: 8.031 kB / 419.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.4845, allocations: 11.86 kB / 420 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.4847, allocations: 171 kB / 420.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4847, allocations: 3.438 kB / 420.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.4847, allocations: 8 kB / 420.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.485, allocations: 83.97 kB / 420.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.485, allocations: 0 / 420.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-06/0.485, allocations: 0 / 420.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.529e-06/0.4851, allocations: 3.953 kB / 420.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.4851, allocations: 19.17 kB / 420.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.4853, allocations: 152.8 kB / 420.4 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4854, allocations: 37.45 kB / 420.4 MB, free: 264 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/0.4855, allocations: 23.14 kB / 420.4 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4855, allocations: 4 kB / 420.4 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4856, allocations: 30.56 kB / 420.5 MB, free: 200 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.048e-06/0.4856, allocations: 0 / 420.5 MB, free: 200 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.4858, allocations: 56.66 kB / 420.5 MB, free: 144 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.4858, allocations: 63.39 kB / 420.6 MB, free: 68 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.486, allocations: 97.77 kB / 420.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.486, allocations: 25.7 kB / 420.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.4861, allocations: 88.02 kB / 420.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.719e-06/0.4861, allocations: 0 / 420.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-06/0.4861, allocations: 0 / 420.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4863, allocations: 314.8 kB / 421.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.4863, allocations: 7.812 kB / 421.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.4864, allocations: 31.38 kB / 421.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.4864, allocations: 7.812 kB / 421.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-06/0.4864, allocations: 0 / 421.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000121/0.4866, allocations: 53.72 kB / 421.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.4866, allocations: 4 kB / 421.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.968e-06/0.4866, allocations: 8 kB / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4866, allocations: 4 kB / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.4867, allocations: 4 kB / 421.2 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.4867, allocations: 11.92 kB / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.4868, allocations: 3.688 kB / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.4868, allocations: 7.953 kB / 421.2 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: 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.649e-05/0.4869, allocations: 101 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.487, allocations: 49.45 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.487, allocations: 15.89 kB / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.4871, allocations: 0 / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.758e-06/0.4871, allocations: 0 / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4871, allocations: 3.938 kB / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.4872, allocations: 161.4 kB / 421.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-06/0.4873, allocations: 0 / 421.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.4874, allocations: 11.98 kB / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.563e-06/0.4874, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-06/0.4874, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-06/0.4874, allocations: 0 / 421.6 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.372e-06/0.4874, allocations: 8 kB / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.4876, allocations: 72.52 kB / 421.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.4876, allocations: 85.02 kB / 421.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.4877, allocations: 0 / 421.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.376e-05/0.4877, allocations: 4 kB / 421.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-06/0.4877, allocations: 0 / 421.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-06/0.4877, allocations: 0 / 421.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.514e-05/0.4878, allocations: 91.02 kB / 421.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.4878, allocations: 0 / 421.8 MB, free: 14.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.4881, allocations: 4 kB / 421.8 MB, free: 14.71 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.0001398/0.4882, allocations: 106.6 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.39e-05/0.4883, allocations: 15.81 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.872e-06/0.4884, allocations: 3.938 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.4884, allocations: 0 / 422 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.0001853/0.4886, allocations: 27.73 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.4888, allocations: 64.36 kB / 422.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.4892, allocations: 0.6887 MB / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.591e-05/0.4892, allocations: 0 / 422.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.4892, allocations: 7.438 kB / 422.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of SimCode: time 1.501e-06/0.4892, allocations: 0 / 422.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of Templates: time 0.002523/0.4918, allocations: 297 kB / 423 MB, free: 13.48 MB / 346.7 MB