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.2_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.057e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07868/0.07875, allocations: 44.5 MB / 299.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4084/0.4872, allocations: 78.26 MB / 378.1 MB, free: 22.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.4874, allocations: 71.11 kB / 378.2 MB, free: 22.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1176/0.6051, allocations: 42.8 MB / 421 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6051, allocations: 0 / 421 MB, free: 11.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.6051, allocations: 15.69 kB / 421 MB, free: 11.95 MB / 314.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.000921/0.6061, allocations: 0.676 MB / 421.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.6061, allocations: 11.81 kB / 421.7 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.6063, allocations: 50.72 kB / 421.8 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.6068, allocations: 351.8 kB / 422.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.6068, allocations: 23.19 kB / 422.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.607, allocations: 34.12 kB / 422.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009569/0.6079, allocations: 468.7 kB / 422.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.608, allocations: 0 / 422.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.6081, allocations: 15.78 kB / 422.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.6081, allocations: 7.719 kB / 422.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/0.6089, allocations: 345.2 kB / 423 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001991/0.6109, allocations: 1.06 MB / 424 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009857/0.6119, allocations: 409.4 kB / 424.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003187/0.6122, allocations: 157.9 kB / 424.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.24e-05/0.6123, allocations: 3.219 kB / 424.6 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/0.6129, allocations: 314 kB / 424.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4e-06/0.6129, allocations: 0 / 424.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001092/0.614, allocations: 0.5294 MB / 425.4 MB, free: 9.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.6141, allocations: 110.6 kB / 425.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.6144, allocations: 275 kB / 425.8 MB, free: 9.691 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.6145, allocations: 41.02 kB / 425.8 MB, free: 9.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.6146, allocations: 165.7 kB / 426 MB, free: 9.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6148, allocations: 85.14 kB / 426.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.6149, allocations: 7.5 kB / 426.1 MB, free: 9.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.6149, allocations: 333.8 kB / 426.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.6153, allocations: 162.3 kB / 426.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.6158, allocations: 209.4 kB / 426.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.6162, allocations: 241 kB / 427 MB, free: 8.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6162, allocations: 0 / 427 MB, free: 8.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00134/0.6176, allocations: 0.5879 MB / 427.6 MB, free: 8.809 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.64e-05/0.6177, allocations: 59 kB / 427.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6177, allocations: 0 / 427.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.6178, allocations: 7.812 kB / 427.7 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.6181, allocations: 57.78 kB / 427.7 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.6181, allocations: 3.984 kB / 427.7 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.6188, allocations: 55.67 kB / 427.8 MB, free: 8.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004532/0.6193, allocations: 279.8 kB / 428.1 MB, free: 8.684 MB / 314.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 (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.0004262/0.6198, allocations: 210.7 kB / 428.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/0.62, allocations: 37.19 kB / 428.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.6202, allocations: 38.27 kB / 428.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.922e-06/0.6202, allocations: 7.812 kB / 428.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.6202, allocations: 4 kB / 428.4 MB, free: 8.461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.6203, allocations: 3.984 kB / 428.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.6215, allocations: 455.8 kB / 428.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.078e-06/0.6215, allocations: 3.984 kB / 428.8 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001831/0.6217, allocations: 49.53 kB / 428.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.6217, allocations: 3.75 kB / 428.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/0.6219, allocations: 45.12 kB / 428.9 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.956e-06/0.6219, allocations: 4 kB / 428.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.924e-06/0.6219, allocations: 0 / 428.9 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.6236, allocations: 0.5534 MB / 429.5 MB, free: 7.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.6241, allocations: 196.6 kB / 429.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/0.6243, allocations: 15.94 kB / 429.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.6249, allocations: 44.25 kB / 429.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003825/0.6253, allocations: 87.5 kB / 429.8 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004349/0.6258, allocations: 276 kB / 430.1 MB, free: 7.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.6262, allocations: 196.5 kB / 430.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.6262, allocations: 0 / 430.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009454/0.6272, allocations: 84.34 kB / 430.3 MB, free: 7.664 MB / 314.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 (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.0003145/0.6275, allocations: 142.1 kB / 430.5 MB, free: 7.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.6291, allocations: 0.4997 MB / 431 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6291, allocations: 0 / 431 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007792/0.6299, allocations: 331.3 kB / 431.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.6321, allocations: 288.3 kB / 431.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.6347, allocations: 0.5247 MB / 432.1 MB, free: 6.922 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00062/0.6354, allocations: 0.8155 MB / 432.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.003887/0.6393, allocations: 0.7478 MB / 433.7 MB, free: 5.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/0.6413, allocations: 254.6 kB / 433.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of SimCode: time 2.775e-06/0.6414, allocations: 0 / 433.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of Templates: time 0.04189/0.6833, allocations: 9.9 MB / 443.8 MB, free: 11.98 MB / 330.7 MB