Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.237e-05, allocations: 7.797 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09483, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4042/0.4991, allocations: 76.22 MB / 418.8 MB, free: 1.938 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.4993, allocations: 77.39 kB / 418.9 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002627/0.502, allocations: 0.7857 MB / 419.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.502, allocations: 0 / 419.6 MB, free: 1.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.5021, allocations: 4 kB / 419.6 MB, free: 1.18 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.0003822/0.5025, allocations: 326.5 kB / 420 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.5025, allocations: 8.031 kB / 420 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.5026, allocations: 15.17 kB / 420 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.5028, allocations: 167.1 kB / 420.1 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5028, allocations: 3.188 kB / 420.2 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.5029, allocations: 8 kB / 420.2 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.5031, allocations: 95.02 kB / 420.3 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.931e-06/0.5031, allocations: 0 / 420.3 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-06/0.5032, allocations: 0 / 420.3 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5032, allocations: 4 kB / 420.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.5032, allocations: 11.27 kB / 420.3 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5034, allocations: 157 kB / 420.4 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.5036, allocations: 41.52 kB / 420.5 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.5036, allocations: 16.45 kB / 420.5 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.5037, allocations: 0 / 420.5 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5037, allocations: 38.81 kB / 420.5 MB, free: 188 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.002e-06/0.5037, allocations: 4 kB / 420.5 MB, free: 184 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001574/0.5039, allocations: 52.47 kB / 420.6 MB, free: 128 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.504, allocations: 58.97 kB / 420.6 MB, free: 60 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.5041, allocations: 104.5 kB / 420.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.5041, allocations: 25.7 kB / 420.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.5042, allocations: 84.02 kB / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.5042, allocations: 4 kB / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-06/0.5042, allocations: 3.938 kB / 420.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.5044, allocations: 314.8 kB / 421.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.5044, allocations: 7.875 kB / 421.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.5045, allocations: 39.36 kB / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.5045, allocations: 11.94 kB / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-06/0.5045, allocations: 0 / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001227/0.5047, allocations: 57.47 kB / 421.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5047, allocations: 12 kB / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.612e-06/0.5047, allocations: 0 / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5047, allocations: 0 / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.997e-05/0.5048, allocations: 8 kB / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.278e-06/0.5048, allocations: 0 / 421.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.5049, allocations: 4 kB / 421.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-06/0.5049, allocations: 3.812 kB / 421.3 MB, free: 15.37 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.118e-05/0.505, allocations: 112.9 kB / 421.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5051, allocations: 45.45 kB / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.5052, allocations: 15.89 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.13e-06/0.5052, allocations: 4 kB / 421.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.129e-06/0.5052, allocations: 0 / 421.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.475e-06/0.5052, allocations: 0 / 421.5 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.5054, allocations: 157.5 kB / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-06/0.5054, allocations: 3.938 kB / 421.6 MB, free: 14.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.5055, allocations: 11.98 kB / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.168e-06/0.5055, allocations: 0 / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-06/0.5055, allocations: 0 / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.14e-06/0.5055, allocations: 0 / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5055, allocations: 0 / 421.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.5057, allocations: 84.61 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.5057, allocations: 85.05 kB / 421.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.5058, allocations: 3.984 kB / 421.8 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.096e-05/0.5059, allocations: 7.688 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-06/0.5059, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.017e-06/0.5059, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.506, allocations: 79.28 kB / 421.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.506, allocations: 4 kB / 421.9 MB, free: 14.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002585/0.5062, allocations: 11.62 kB / 421.9 MB, free: 14.68 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.0001391/0.5064, allocations: 103.2 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.5065, allocations: 15.56 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.823e-06/0.5065, allocations: 7.875 kB / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.431e-06/0.5065, allocations: 0 / 422 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.5068, allocations: 23.42 kB / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.507, allocations: 76.17 kB / 422.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.5074, allocations: 0.6848 MB / 422.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.441e-05/0.5074, allocations: 7.938 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.5075, allocations: 7.438 kB / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.475e-06/0.5075, allocations: 0 / 422.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of Templates: time 0.002887/0.5104, allocations: 394 kB / 423.2 MB, free: 13.35 MB / 346.7 MB