Running command: translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,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.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.771/1.771, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.684e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07877/0.07882, allocations: 44.51 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/0.4143, allocations: 78.95 MB / 378.8 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4146, allocations: 69.77 kB / 378.9 MB, free: 22.2 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1581/0.5727, allocations: 55.14 MB / 434 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.5727, allocations: 0 / 434 MB, free: 6.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.126e-05/0.5728, allocations: 19.66 kB / 434.1 MB, free: 6.031 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001351/0.5742, allocations: 0.9725 MB / 435 MB, free: 5.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5742, allocations: 7.812 kB / 435 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.5744, allocations: 74.22 kB / 435.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007779/0.5752, allocations: 470.3 kB / 435.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.5753, allocations: 46.94 kB / 435.6 MB, free: 4.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/0.5755, allocations: 58.42 kB / 435.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5771, allocations: 0.809 MB / 436.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.5771, allocations: 0 / 436.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.5773, allocations: 24 kB / 436.5 MB, free: 4.016 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.5773, allocations: 12 kB / 436.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.5786, allocations: 0.6039 MB / 437.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/0.5817, allocations: 1.67 MB / 438.8 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5829, allocations: 0.5624 MB / 439.4 MB, free: 1.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/0.5835, allocations: 294.4 kB / 439.6 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.5837, allocations: 4.562 kB / 439.6 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009113/0.5846, allocations: 0.5328 MB / 440.2 MB, free: 276 kB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 4.441e-06/0.5846, allocations: 0 / 440.2 MB, free: 276 kB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.00225/0.5869, allocations: 0.9832 MB / 441.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.587, allocations: 196.5 kB / 441.4 MB, free: 15.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.5877, allocations: 367.1 kB / 441.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.5878, allocations: 45.7 kB / 441.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.5881, allocations: 232.9 kB / 442 MB, free: 14.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.5884, allocations: 134.4 kB / 442.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.5885, allocations: 16 kB / 442.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.5887, allocations: 358.8 kB / 442.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/0.5895, allocations: 285.5 kB / 442.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008098/0.5903, allocations: 360.1 kB / 443.1 MB, free: 13.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.5912, allocations: 448.2 kB / 443.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-06/0.5912, allocations: 4 kB / 443.6 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002459/0.5937, allocations: 1.094 MB / 444.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.5939, allocations: 140.6 kB / 444.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5939, allocations: 8 kB / 444.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5939, allocations: 7.984 kB / 444.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.5942, allocations: 107.8 kB / 444.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.511e-05/0.5943, allocations: 7.938 kB / 444.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.595, allocations: 79.72 kB / 445 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007387/0.5958, allocations: 0.5658 MB / 445.6 MB, free: 10.65 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,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,CLK.y,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,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,Enable.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 5 * 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.0005076/0.5963, allocations: 325.3 kB / 445.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.5965, allocations: 55.39 kB / 445.9 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.5967, allocations: 56.53 kB / 446 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5967, allocations: 4 kB / 446 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.145e-06/0.5967, allocations: 4 kB / 446 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5968, allocations: 0 / 446 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.5981, allocations: 0.654 MB / 446.6 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-06/0.5981, allocations: 0 / 446.6 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.5983, allocations: 95.89 kB / 446.7 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.5984, allocations: 7.891 kB / 446.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.5986, allocations: 95.94 kB / 446.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.115e-06/0.5986, allocations: 0 / 446.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.479e-06/0.5986, allocations: 0 / 446.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.6009, allocations: 1.036 MB / 447.9 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000574/0.6014, allocations: 252.5 kB / 448.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.6017, allocations: 23.95 kB / 448.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.6022, allocations: 63.86 kB / 448.2 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/0.6027, allocations: 152.4 kB / 448.4 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000729/0.6034, allocations: 0.5618 MB / 448.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003987/0.6038, allocations: 258.1 kB / 449.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.79e-07/0.6039, allocations: 4 kB / 449.2 MB, free: 6.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008328/0.6047, allocations: 140 kB / 449.3 MB, free: 6.738 MB / 330.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: 56 ($whenCondition1,CLK.y,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.x[1],MUX.And1.x[3],MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,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,Enable.y) * Number of discrete states: 23 (Enable.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,D3.y,D2.y,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,D1.y,D0.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * 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.0003441/0.6051, allocations: 164.9 kB / 449.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.6071, allocations: 0.9882 MB / 450.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.582e-06/0.6071, allocations: 0 / 450.5 MB, free: 5.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.6082, allocations: 0.6592 MB / 451.1 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.6105, allocations: 476.8 kB / 451.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.6128, allocations: 0.8818 MB / 452.5 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007617/0.6136, allocations: 0.9064 MB / 453.4 MB, free: 2.504 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.003954/0.6176, allocations: 1.504 MB / 454.9 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/0.6198, allocations: 478.3 kB / 455.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of SimCode: time 2.106e-06/0.6198, allocations: 0 / 455.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of Templates: time 0.03886/0.6587, allocations: 17.56 MB / 472.9 MB, free: 14.53 MB / 362.7 MB