Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.625e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4503/0.5555, allocations: 76.76 MB / 419.3 MB, free: 1.344 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5558, allocations: 75.86 kB / 419.4 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00506/0.5608, allocations: 1.313 MB / 420.7 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.5609, allocations: 0 / 420.7 MB, free: 148 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.5609, allocations: 4 kB / 420.7 MB, free: 144 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004058/0.5613, allocations: 347 kB / 421.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5614, allocations: 8.031 kB / 421.1 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.5614, allocations: 11.86 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.5617, allocations: 190 kB / 421.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5617, allocations: 4 kB / 421.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.5617, allocations: 7.812 kB / 421.3 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.5621, allocations: 137.7 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.351e-06/0.5621, allocations: 0 / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5621, allocations: 4 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.864e-06/0.5621, allocations: 7.891 kB / 421.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.111e-05/0.5622, allocations: 15.69 kB / 421.4 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.5624, allocations: 181.1 kB / 421.6 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.5626, allocations: 77.77 kB / 421.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.368e-05/0.5627, allocations: 40.27 kB / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5627, allocations: 4 kB / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5628, allocations: 30.56 kB / 421.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.254e-06/0.5628, allocations: 0 / 421.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002097/0.563, allocations: 81.52 kB / 421.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.5631, allocations: 59.38 kB / 421.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.5632, allocations: 134 kB / 422 MB, free: 14.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.5633, allocations: 25.7 kB / 422.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.5633, allocations: 88.08 kB / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.5634, allocations: 0 / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-06/0.5634, allocations: 3.625 kB / 422.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5635, allocations: 322.8 kB / 422.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.591e-05/0.5636, allocations: 8 kB / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.5637, allocations: 62.73 kB / 422.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.292e-05/0.5637, allocations: 19.92 kB / 422.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.859e-06/0.5638, allocations: 3.938 kB / 422.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001851/0.5639, allocations: 92.83 kB / 422.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.564, allocations: 6.656 kB / 422.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.564, allocations: 8.25 kB / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.564, allocations: 0 / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.5641, allocations: 16 kB / 422.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.743e-06/0.5642, allocations: 3.938 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.5642, allocations: 11.94 kB / 422.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.5642, allocations: 4 kB / 422.7 MB, free: 14.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001058/0.5644, allocations: 116.4 kB / 422.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5645, allocations: 77.12 kB / 422.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.5646, allocations: 16.31 kB / 422.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-06/0.5646, allocations: 0 / 422.9 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.5646, allocations: 4 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.359e-06/0.5646, allocations: 3.984 kB / 422.9 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.5648, allocations: 172.9 kB / 423.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-06/0.5648, allocations: 0 / 423.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5649, allocations: 15.98 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.552e-06/0.5649, allocations: 3.938 kB / 423.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-06/0.5649, allocations: 0 / 423.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.904e-06/0.565, allocations: 0 / 423.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.565, allocations: 4 kB / 423.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.5652, allocations: 120.2 kB / 423.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.526e-05/0.5653, allocations: 96.88 kB / 423.3 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.5653, allocations: 4 kB / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.5654, allocations: 0 / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-06/0.5654, allocations: 0 / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.5654, allocations: 0 / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.5655, allocations: 107 kB / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.5655, allocations: 0 / 423.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.5658, allocations: 15.94 kB / 423.4 MB, free: 13.29 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001381/0.566, allocations: 99.25 kB / 423.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.5661, allocations: 51.23 kB / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.704e-06/0.5661, allocations: 0 / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.471e-06/0.5662, allocations: 0 / 423.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.5665, allocations: 44.22 kB / 423.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.5668, allocations: 120.5 kB / 423.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.5672, allocations: 0.7011 MB / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.712e-05/0.5673, allocations: 8.609 kB / 424.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.5673, allocations: 15.38 kB / 424.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.565e-06/0.5673, allocations: 0 / 424.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of Templates: time 0.003491/0.5708, allocations: 0.622 MB / 425.1 MB, free: 11.62 MB / 346.7 MB