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_3.2.3_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.981e-05/3e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08372/0.08377, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3396/0.4234, allocations: 82.49 MB / 399.4 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4236, allocations: 70.33 kB / 399.5 MB, free: 5.566 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1364/0.5601, allocations: 42.86 MB / 442.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.237e-06/0.5601, allocations: 0 / 442.3 MB, free: 2.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.5602, allocations: 12 kB / 442.3 MB, free: 2.32 MB / 346.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.001179/0.5614, allocations: 0.6818 MB / 443 MB, free: 1.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.5614, allocations: 12.03 kB / 443 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.5616, allocations: 47.44 kB / 443.1 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006251/0.5622, allocations: 347.2 kB / 443.4 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.444e-05/0.5623, allocations: 32.73 kB / 443.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.5624, allocations: 35.98 kB / 443.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.5635, allocations: 473.8 kB / 444 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5636, allocations: 4 kB / 444 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.5637, allocations: 12 kB / 444 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.5637, allocations: 11.94 kB / 444 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.5646, allocations: 349.4 kB / 444.3 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.567, allocations: 1.078 MB / 445.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.5682, allocations: 407.3 kB / 445.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.5686, allocations: 153.4 kB / 445.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.5687, allocations: 4.281 kB / 446 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006919/0.5694, allocations: 319.2 kB / 446.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.965e-06/0.5694, allocations: 0 / 446.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.001315/0.5707, allocations: 0.5315 MB / 446.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.908e-05/0.5708, allocations: 122.7 kB / 446.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.5713, allocations: 274.8 kB / 447.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.142e-05/0.5714, allocations: 33.7 kB / 447.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.5716, allocations: 172.7 kB / 447.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.5717, allocations: 86.62 kB / 447.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.101e-05/0.5718, allocations: 8 kB / 447.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.572, allocations: 338.8 kB / 447.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.5725, allocations: 160.8 kB / 448 MB, free: 12.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.573, allocations: 223.7 kB / 448.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005384/0.5735, allocations: 233.9 kB / 448.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.295e-06/0.5735, allocations: 0 / 448.4 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001407/0.575, allocations: 0.5903 MB / 449 MB, free: 11.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.57e-05/0.5751, allocations: 71.33 kB / 449.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.922e-06/0.5751, allocations: 0 / 449.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5751, allocations: 8.031 kB / 449.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.5753, allocations: 59.84 kB / 449.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5754, allocations: 4 kB / 449.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.5758, allocations: 47.88 kB / 449.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/0.5762, allocations: 279.7 kB / 449.5 MB, free: 10.89 MB / 362.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.0003153/0.5765, allocations: 220.2 kB / 449.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5767, allocations: 35.62 kB / 449.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.5768, allocations: 35.08 kB / 449.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.475e-06/0.5768, allocations: 4 kB / 449.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-06/0.5768, allocations: 0 / 449.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.5768, allocations: 0 / 449.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008323/0.5777, allocations: 469.3 kB / 450.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.665e-06/0.5777, allocations: 3.984 kB / 450.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.5779, allocations: 47.91 kB / 450.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.08e-06/0.5779, allocations: 8 kB / 450.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.721e-05/0.578, allocations: 39.98 kB / 450.3 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.799e-06/0.578, allocations: 7.984 kB / 450.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-06/0.578, allocations: 0 / 450.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.5793, allocations: 0.57 MB / 450.9 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.5797, allocations: 196.6 kB / 451.1 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.5798, allocations: 19.97 kB / 451.1 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.5802, allocations: 47.81 kB / 451.1 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.5805, allocations: 87.91 kB / 451.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003566/0.5809, allocations: 275.7 kB / 451.5 MB, free: 8.742 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003039/0.5812, allocations: 199.1 kB / 451.7 MB, free: 8.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5812, allocations: 0 / 451.7 MB, free: 8.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.5818, allocations: 88 kB / 451.8 MB, free: 8.457 MB / 362.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.000272/0.5821, allocations: 145.4 kB / 451.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.5832, allocations: 0.5008 MB / 452.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.568e-06/0.5833, allocations: 0 / 452.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005952/0.5839, allocations: 338.4 kB / 452.8 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.5852, allocations: 288.2 kB / 453 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5866, allocations: 0.5265 MB / 453.6 MB, free: 6.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.5872, allocations: 0.8195 MB / 454.4 MB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002062/0.5893, allocations: 0.747 MB / 455.1 MB, free: 5.004 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/0.5904, allocations: 262.8 kB / 455.4 MB, free: 4.746 MB / 362.7 MB Notification: Performance of SimCode: time 2.101e-06/0.5904, allocations: 4 kB / 455.4 MB, free: 4.742 MB / 362.7 MB Notification: Performance of Templates: time 0.02247/0.6128, allocations: 9.948 MB / 465.3 MB, free: 10.61 MB / 378.7 MB