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.3_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.919/1.919, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.975e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09216, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4178/0.51, allocations: 83.18 MB / 400.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.5103, allocations: 64.22 kB / 400.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1703/0.6806, allocations: 55.21 MB / 455.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.848e-06/0.6806, allocations: 0 / 455.4 MB, free: 5.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.333e-05/0.6807, allocations: 12 kB / 455.4 MB, free: 5.266 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001979/0.6827, allocations: 0.9698 MB / 456.4 MB, free: 4.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6828, allocations: 8.031 kB / 456.4 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.6832, allocations: 79.16 kB / 456.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.6842, allocations: 464.9 kB / 456.9 MB, free: 3.633 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.6843, allocations: 53.27 kB / 457 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.6846, allocations: 60 kB / 457 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.6866, allocations: 0.8041 MB / 457.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6866, allocations: 0 / 457.8 MB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.6868, allocations: 24 kB / 457.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.6868, allocations: 16 kB / 457.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.6885, allocations: 0.6 MB / 458.5 MB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.6927, allocations: 1.697 MB / 460.2 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.6941, allocations: 0.551 MB / 460.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006912/0.6948, allocations: 282.5 kB / 461 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.695, allocations: 8.562 kB / 461 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.6962, allocations: 0.5518 MB / 461.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 7.021e-06/0.6962, allocations: 4 kB / 461.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.002293/0.6985, allocations: 0.9949 MB / 462.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.6987, allocations: 192.5 kB / 462.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.6993, allocations: 367.1 kB / 463.1 MB, free: 13.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.6995, allocations: 41.7 kB / 463.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.6997, allocations: 236.9 kB / 463.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.7, allocations: 142.3 kB / 463.5 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.7001, allocations: 12 kB / 463.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.7004, allocations: 354.8 kB / 463.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007552/0.7011, allocations: 297.5 kB / 464.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.7019, allocations: 356.1 kB / 464.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009265/0.7029, allocations: 468.5 kB / 464.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.7029, allocations: 0 / 464.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002444/0.7054, allocations: 1.095 MB / 466 MB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.7055, allocations: 144.5 kB / 466.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.028e-06/0.7055, allocations: 0 / 466.2 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.7056, allocations: 7.953 kB / 466.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.7059, allocations: 111.8 kB / 466.3 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.7059, allocations: 4 kB / 466.3 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/0.7066, allocations: 91.56 kB / 466.4 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007071/0.7074, allocations: 0.5659 MB / 467 MB, free: 9.25 MB / 378.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 (78): * Single equations (assignments): 73 * 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.0005048/0.7079, allocations: 329.8 kB / 467.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.7081, allocations: 55.42 kB / 467.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.7083, allocations: 52.77 kB / 467.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-05/0.7083, allocations: 11.95 kB / 467.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.52e-06/0.7083, allocations: 0 / 467.4 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.7083, allocations: 3.984 kB / 467.4 MB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.7097, allocations: 0.6579 MB / 468.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.275e-06/0.7097, allocations: 0 / 468.1 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.71, allocations: 95.88 kB / 468.2 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.507e-06/0.71, allocations: 3.938 kB / 468.2 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001882/0.7102, allocations: 95.94 kB / 468.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.079e-06/0.7102, allocations: 0 / 468.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.33e-06/0.7102, allocations: 7.953 kB / 468.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.7125, allocations: 1.036 MB / 469.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.7131, allocations: 252.5 kB / 469.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.7133, allocations: 28 kB / 469.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.7139, allocations: 59.84 kB / 469.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/0.7143, allocations: 160.4 kB / 469.8 MB, free: 6.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007066/0.715, allocations: 0.5695 MB / 470.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004122/0.7155, allocations: 246.1 kB / 470.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.7155, allocations: 0 / 470.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008648/0.7164, allocations: 144 kB / 470.7 MB, free: 5.32 MB / 378.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 (58): * Single equations (assignments): 52 * 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.0003544/0.7167, allocations: 172.9 kB / 470.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.7187, allocations: 0.9964 MB / 471.9 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.7188, allocations: 0 / 471.9 MB, free: 4.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.7199, allocations: 0.667 MB / 472.6 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.722, allocations: 487.8 kB / 473 MB, free: 2.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.7243, allocations: 0.8858 MB / 473.9 MB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.7251, allocations: 0.8987 MB / 474.8 MB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003982/0.7291, allocations: 1.504 MB / 476.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/0.7311, allocations: 486.2 kB / 476.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.941e-06/0.7311, allocations: 0 / 476.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of Templates: time 0.03785/0.769, allocations: 17.63 MB / 494.4 MB, free: 13 MB / 410.7 MB