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.1_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/3.006e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08569, allocations: 38.76 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002892/0.08864, allocations: 1.728 MB / 268.6 MB, free: 14.75 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.0919, allocations: 1.022 MB / 269.7 MB, free: 13.72 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.09208, allocations: 12 kB / 269.7 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.09228, allocations: 27.77 kB / 269.7 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.09245, allocations: 39.86 kB / 269.7 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.09298, allocations: 115.8 kB / 269.9 MB, free: 13.53 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.0934, allocations: 200.1 kB / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.09369, allocations: 91.34 kB / 270.1 MB, free: 13.24 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009211/0.09463, allocations: 0.5108 MB / 270.6 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.09507, allocations: 239.6 kB / 270.9 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.09522, allocations: 8 kB / 270.9 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.09536, allocations: 8 kB / 270.9 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.09561, allocations: 119.7 kB / 271 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.0958, allocations: 24 kB / 271 MB, free: 12.34 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009931/0.0968, allocations: 0.7716 MB / 271.8 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.09682, allocations: 0 / 271.8 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.019e-06/0.09683, allocations: 4 kB / 271.8 MB, free: 11.56 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.09686, allocations: 0 / 271.8 MB, free: 11.56 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001393/0.09826, allocations: 0.6816 MB / 272.5 MB, free: 10.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.09832, allocations: 8.031 kB / 272.5 MB, free: 10.81 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.09851, allocations: 43.53 kB / 272.5 MB, free: 10.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/0.0992, allocations: 346.2 kB / 272.9 MB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/0.09927, allocations: 28.66 kB / 272.9 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.09941, allocations: 28 kB / 272.9 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.1009, allocations: 485.8 kB / 273.4 MB, free: 9.852 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1009, allocations: 0 / 273.4 MB, free: 9.852 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.1011, allocations: 20 kB / 273.4 MB, free: 9.832 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.1011, allocations: 4 kB / 273.4 MB, free: 9.828 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.1024, allocations: 386.3 kB / 273.8 MB, free: 9.453 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00375/0.1062, allocations: 1.093 MB / 274.9 MB, free: 8.309 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.1093, allocations: 478.7 kB / 275.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.1096, allocations: 7.984 kB / 275.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.111, allocations: 341.2 kB / 275.7 MB, free: 7.477 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 6.382e-06/0.1111, allocations: 7.938 kB / 275.7 MB, free: 7.469 MB / 234.7 MB Notification: Performance of matching and sorting (n=33): time 0.003751/0.1149, allocations: 0.7285 MB / 276.4 MB, free: 6.723 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.115, allocations: 118.8 kB / 276.6 MB, free: 6.582 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000672/0.1157, allocations: 273.6 kB / 276.8 MB, free: 6.312 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001924/0.116, allocations: 41.64 kB / 276.9 MB, free: 6.266 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.1162, allocations: 172.7 kB / 277 MB, free: 6.09 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/0.1165, allocations: 79.14 kB / 277.1 MB, free: 6.012 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1166, allocations: 8 kB / 277.1 MB, free: 6.004 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.1169, allocations: 342.8 kB / 277.5 MB, free: 5.66 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009591/0.1178, allocations: 192.6 kB / 277.6 MB, free: 5.469 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.1186, allocations: 229.4 kB / 277.9 MB, free: 5.23 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.1194, allocations: 251.3 kB / 278.1 MB, free: 4.973 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.1194, allocations: 4 kB / 278.1 MB, free: 4.969 MB / 234.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001991/0.1214, allocations: 0.6391 MB / 278.8 MB, free: 4.312 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.908e-05/0.1215, allocations: 69.27 kB / 278.8 MB, free: 4.234 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1215, allocations: 4.031 kB / 278.8 MB, free: 4.23 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.1216, allocations: 4 kB / 278.8 MB, free: 4.227 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.1218, allocations: 51.91 kB / 278.9 MB, free: 4.176 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1218, allocations: 4 kB / 278.9 MB, free: 4.172 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.1224, allocations: 55.8 kB / 278.9 MB, free: 4.117 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004278/0.1229, allocations: 279.7 kB / 279.2 MB, free: 3.844 MB / 234.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[1],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,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],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,$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[2],FF.And3.auxiliary_n,FF.And4.x[1],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.x[1],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,$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 (46): * Single equations (assignments): 44 * 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.0005575/0.1234, allocations: 289 kB / 279.5 MB, free: 3.539 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.1236, allocations: 35.62 kB / 279.5 MB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1237, allocations: 30.97 kB / 279.6 MB, free: 3.473 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1237, allocations: 4 kB / 279.6 MB, free: 3.469 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.1237, allocations: 3.984 kB / 279.6 MB, free: 3.465 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1237, allocations: 4 kB / 279.6 MB, free: 3.461 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.1247, allocations: 469.1 kB / 280 MB, free: 2.953 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.1247, allocations: 8 kB / 280 MB, free: 2.945 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1249, allocations: 51.91 kB / 280.1 MB, free: 2.895 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.1249, allocations: 4 kB / 280.1 MB, free: 2.891 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.125, allocations: 43.97 kB / 280.1 MB, free: 2.848 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.125, allocations: 4 kB / 280.1 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.125, allocations: 0 / 280.1 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.1268, allocations: 0.6025 MB / 280.7 MB, free: 2.211 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.1273, allocations: 192.7 kB / 280.9 MB, free: 2.004 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.1275, allocations: 19.98 kB / 281 MB, free: 1.984 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.1279, allocations: 39.81 kB / 281 MB, free: 1.945 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003133/0.1282, allocations: 87.84 kB / 281.1 MB, free: 1.859 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000425/0.1287, allocations: 279.7 kB / 281.4 MB, free: 1.586 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0003843/0.1291, allocations: 205.9 kB / 281.6 MB, free: 1.383 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1291, allocations: 0 / 281.6 MB, free: 1.383 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006438/0.1298, allocations: 95.84 kB / 281.6 MB, free: 1.289 MB / 234.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[1],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[1],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.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,CLK.t_i,J.y,K.y) * Number of discrete states: 13 (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,K.y,J.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.000286/0.1301, allocations: 145.8 kB / 281.8 MB, free: 1.141 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.1317, allocations: 0.5493 MB / 282.3 MB, free: 0.5664 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1317, allocations: 7.938 kB / 282.3 MB, free: 0.5586 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008428/0.1326, allocations: 362.5 kB / 282.7 MB, free: 184 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.1346, allocations: 277.9 kB / 283 MB, free: 15.92 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1366, allocations: 0.7677 MB / 283.7 MB, free: 15.12 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.1372, allocations: 0.8152 MB / 284.6 MB, free: 14.27 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.002196/0.1394, allocations: 0.7471 MB / 285.3 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.1405, allocations: 258.8 kB / 285.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1405, allocations: 4 kB / 285.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of Templates: time 0.02451/0.1651, allocations: 9.965 MB / 295.5 MB, free: 3.121 MB / 250.7 MB