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.765/1.765, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.761e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2395, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3512, allocations: 72.98 MB / 336.8 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.3515, allocations: 67.97 kB / 336.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4041/0.7556, allocations: 42.82 MB / 379.6 MB, free: 89.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7556, allocations: 0 / 379.6 MB, free: 89.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.7557, allocations: 9.5 kB / 379.7 MB, free: 89.84 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.0009194/0.7566, allocations: 0.6876 MB / 380.3 MB, free: 89.4 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7567, allocations: 14.31 kB / 380.4 MB, free: 89.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.7568, allocations: 43.75 kB / 380.4 MB, free: 89.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.7573, allocations: 338.5 kB / 380.7 MB, free: 89.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.7574, allocations: 22.84 kB / 380.7 MB, free: 89.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.7575, allocations: 35.95 kB / 380.8 MB, free: 89.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000927/0.7585, allocations: 467.6 kB / 381.2 MB, free: 89.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.7585, allocations: 0 / 381.2 MB, free: 89.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.7586, allocations: 15.91 kB / 381.3 MB, free: 89.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.7586, allocations: 7.938 kB / 381.3 MB, free: 89.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.7594, allocations: 348.9 kB / 381.6 MB, free: 88.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.7614, allocations: 1.068 MB / 382.7 MB, free: 88.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.7625, allocations: 402.2 kB / 383.1 MB, free: 88.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.7628, allocations: 156.1 kB / 383.2 MB, free: 88.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.426e-05/0.7629, allocations: 3.812 kB / 383.2 MB, free: 88.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005179/0.7634, allocations: 318 kB / 383.5 MB, free: 88.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.115e-06/0.7634, allocations: 0 / 383.5 MB, free: 88.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001121/0.7646, allocations: 0.519 MB / 384 MB, free: 87.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.7646, allocations: 113.1 kB / 384.2 MB, free: 87.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.765, allocations: 281.2 kB / 384.4 MB, free: 87.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/0.7651, allocations: 33.7 kB / 384.5 MB, free: 87.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.694e-05/0.7652, allocations: 172.4 kB / 384.6 MB, free: 87.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.7653, allocations: 86.2 kB / 384.7 MB, free: 87.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.7654, allocations: 8 kB / 384.7 MB, free: 87.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.7655, allocations: 338.8 kB / 385.1 MB, free: 86.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.7658, allocations: 152.7 kB / 385.2 MB, free: 86.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.7662, allocations: 209.2 kB / 385.4 MB, free: 86.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.7666, allocations: 240.8 kB / 385.6 MB, free: 86.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.932e-06/0.7667, allocations: 0 / 385.6 MB, free: 86.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001089/0.7678, allocations: 0.5828 MB / 386.2 MB, free: 85.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.7678, allocations: 63.39 kB / 386.3 MB, free: 85.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.778e-06/0.7678, allocations: 3.938 kB / 386.3 MB, free: 85.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.7679, allocations: 7.844 kB / 386.3 MB, free: 85.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.768, allocations: 59.66 kB / 386.4 MB, free: 85.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.7681, allocations: 3.75 kB / 386.4 MB, free: 85.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.7685, allocations: 51.89 kB / 386.4 MB, free: 85.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.7688, allocations: 282.8 kB / 386.7 MB, free: 85.32 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.0002302/0.769, allocations: 219.5 kB / 386.9 MB, free: 85.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.7691, allocations: 23.72 kB / 386.9 MB, free: 85.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.7692, allocations: 42.92 kB / 387 MB, free: 85.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-06/0.7692, allocations: 4 kB / 387 MB, free: 85.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.329e-06/0.7692, allocations: 4 kB / 387 MB, free: 85.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.7693, allocations: 0 / 387 MB, free: 85.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/0.7699, allocations: 467.2 kB / 387.4 MB, free: 84.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7699, allocations: 0 / 387.4 MB, free: 84.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/0.77, allocations: 47.81 kB / 387.5 MB, free: 84.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.143e-06/0.77, allocations: 0 / 387.5 MB, free: 84.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/0.7701, allocations: 47.97 kB / 387.5 MB, free: 84.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.7701, allocations: 0 / 387.5 MB, free: 84.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7701, allocations: 0 / 387.5 MB, free: 84.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009781/0.7711, allocations: 0.5586 MB / 388.1 MB, free: 83.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.7714, allocations: 200.6 kB / 388.3 MB, free: 83.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.7715, allocations: 16 kB / 388.3 MB, free: 83.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.7719, allocations: 43.72 kB / 388.3 MB, free: 83.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.7721, allocations: 83.84 kB / 388.4 MB, free: 83.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/0.7723, allocations: 279.7 kB / 388.7 MB, free: 83.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001995/0.7726, allocations: 195.1 kB / 388.9 MB, free: 83.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.7726, allocations: 4 kB / 388.9 MB, free: 83.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005075/0.7731, allocations: 84 kB / 389 MB, free: 82.96 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.0002005/0.7733, allocations: 148.6 kB / 389.1 MB, free: 82.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.7742, allocations: 0.4985 MB / 389.6 MB, free: 82.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.813e-06/0.7742, allocations: 0 / 389.6 MB, free: 82.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.7747, allocations: 330.4 kB / 389.9 MB, free: 81.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.7759, allocations: 276.1 kB / 390.2 MB, free: 81.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.777, allocations: 0.5244 MB / 390.7 MB, free: 81.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.7774, allocations: 0.8191 MB / 391.6 MB, free: 80.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001537/0.7789, allocations: 0.7352 MB / 392.3 MB, free: 79.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008343/0.7798, allocations: 262.8 kB / 392.5 MB, free: 79.31 MB / 314.7 MB Notification: Performance of SimCode: time 1.842e-06/0.7798, allocations: 0 / 392.5 MB, free: 79.31 MB / 314.7 MB Notification: Performance of Templates: time 0.0179/0.7977, allocations: 9.894 MB / 402.4 MB, free: 69.29 MB / 314.7 MB