Running command: translateModel(Modelica.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.351e-05, allocations: 4 kB / 292.1 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09202, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5259, allocations: 83.62 MB / 426.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/0.5261, allocations: 73.94 kB / 426.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1358/0.662, allocations: 43.39 MB / 469.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.662, allocations: 0 / 469.6 MB, free: 3.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.662, allocations: 8 kB / 469.6 MB, free: 3.801 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001211/0.6633, allocations: 0.6897 MB / 470.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.6633, allocations: 12.03 kB / 470.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.6635, allocations: 47.44 kB / 470.4 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.6642, allocations: 343.2 kB / 470.7 MB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.6642, allocations: 28.78 kB / 470.8 MB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/0.6644, allocations: 32 kB / 470.8 MB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.6655, allocations: 465.9 kB / 471.2 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.6655, allocations: 4 kB / 471.2 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.284e-05/0.6656, allocations: 27.88 kB / 471.3 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.6656, allocations: 8 kB / 471.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.6666, allocations: 349.4 kB / 471.6 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.669, allocations: 1.074 MB / 472.7 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.6702, allocations: 407.3 kB / 473.1 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.6706, allocations: 153.4 kB / 473.2 MB, free: 28 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.608e-05/0.6707, allocations: 12.23 kB / 473.3 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000688/0.6714, allocations: 319.3 kB / 473.6 MB, free: 15.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.809e-06/0.6715, allocations: 0 / 473.6 MB, free: 15.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.00133/0.6728, allocations: 0.5276 MB / 474.1 MB, free: 15.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6729, allocations: 114.8 kB / 474.2 MB, free: 15.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.6734, allocations: 270.8 kB / 474.5 MB, free: 14.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.6735, allocations: 37.7 kB / 474.5 MB, free: 14.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.6737, allocations: 176.7 kB / 474.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.6739, allocations: 86.98 kB / 474.8 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.6739, allocations: 4 kB / 474.8 MB, free: 14.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.6741, allocations: 338.8 kB / 475.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.6746, allocations: 160.8 kB / 475.3 MB, free: 13.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.6751, allocations: 211.7 kB / 475.5 MB, free: 13.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.6756, allocations: 240.6 kB / 475.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.102e-06/0.6757, allocations: 0 / 475.7 MB, free: 13.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001432/0.6771, allocations: 0.6005 MB / 476.3 MB, free: 12.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.6772, allocations: 67.39 kB / 476.4 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.351e-06/0.6772, allocations: 0 / 476.4 MB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6772, allocations: 7.938 kB / 476.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.6775, allocations: 55.91 kB / 476.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.6775, allocations: 4 kB / 476.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.678, allocations: 55.84 kB / 476.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003694/0.6783, allocations: 283.7 kB / 476.8 MB, free: 12.38 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition1,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And2.y,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.And4.y,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,CLK.y,$PRE.CLK.t_i,CLK.t_i,J.y,K.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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.0003206/0.6787, allocations: 208.2 kB / 477 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6788, allocations: 35.58 kB / 477 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.6789, allocations: 39.08 kB / 477 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.681e-06/0.679, allocations: 8 kB / 477 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.16e-06/0.679, allocations: 0 / 477 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-06/0.679, allocations: 0 / 477 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000849/0.6799, allocations: 461.3 kB / 477.5 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.98e-06/0.6799, allocations: 3.984 kB / 477.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.68, allocations: 51.91 kB / 477.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.515e-06/0.6801, allocations: 4 kB / 477.6 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.6802, allocations: 43.94 kB / 477.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.564e-06/0.6802, allocations: 7.984 kB / 477.6 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6802, allocations: 0 / 477.6 MB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6815, allocations: 0.5636 MB / 478.2 MB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.6819, allocations: 200.7 kB / 478.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.6821, allocations: 15.98 kB / 478.4 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.6824, allocations: 43.83 kB / 478.4 MB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002642/0.6827, allocations: 83.91 kB / 478.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003645/0.6831, allocations: 279.7 kB / 478.8 MB, free: 10.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002945/0.6834, allocations: 207 kB / 479 MB, free: 10.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.6834, allocations: 0 / 479 MB, free: 10.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005891/0.684, allocations: 88 kB / 479.1 MB, free: 9.953 MB / 394.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: 33 ($whenCondition1,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.y,FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[1],FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.y,FF.And4.auxiliary_n,FF.Not1.auxiliary,CLK.y,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (K.y,J.y,FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 1 * 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.0002657/0.6843, allocations: 141.4 kB / 479.2 MB, free: 9.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.6855, allocations: 0.5063 MB / 479.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.877e-06/0.6855, allocations: 0 / 479.7 MB, free: 9.277 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.6861, allocations: 338.6 kB / 480 MB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.6874, allocations: 279.8 kB / 480.3 MB, free: 8.656 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.6888, allocations: 0.5264 MB / 480.8 MB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.6894, allocations: 0.8199 MB / 481.7 MB, free: 7.258 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00184/0.6913, allocations: 0.747 MB / 482.4 MB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009597/0.6923, allocations: 262.8 kB / 482.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.731e-06/0.6923, allocations: 0 / 482.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of Templates: time 0.02388/0.7162, allocations: 9.942 MB / 492.6 MB, free: 12.16 MB / 410.7 MB