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_trunk_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.103e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3793/0.4795, allocations: 84.31 MB / 427.4 MB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.4798, allocations: 71.7 kB / 427.5 MB, free: 9.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1765/0.6563, allocations: 55.84 MB / 483.3 MB, free: 6.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.412e-06/0.6564, allocations: 4 kB / 483.3 MB, free: 6.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.181e-05/0.6564, allocations: 16 kB / 483.3 MB, free: 6.637 MB / 394.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.001903/0.6584, allocations: 0.9737 MB / 484.3 MB, free: 5.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.6584, allocations: 8.031 kB / 484.3 MB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000371/0.6588, allocations: 75.16 kB / 484.4 MB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.6599, allocations: 465 kB / 484.8 MB, free: 5.004 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.276e-05/0.66, allocations: 49.31 kB / 484.9 MB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.6602, allocations: 60 kB / 484.9 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.6622, allocations: 0.808 MB / 485.7 MB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6623, allocations: 0 / 485.7 MB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.6624, allocations: 27.95 kB / 485.8 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.4e-05/0.6625, allocations: 16 kB / 485.8 MB, free: 4.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/0.6642, allocations: 0.6038 MB / 486.4 MB, free: 3.438 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004438/0.6686, allocations: 1.69 MB / 488.1 MB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.6702, allocations: 0.5704 MB / 488.6 MB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007816/0.671, allocations: 282.5 kB / 488.9 MB, free: 0.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.6712, allocations: 8.562 kB / 488.9 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/0.6724, allocations: 0.5445 MB / 489.5 MB, free: 276 kB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 5.162e-06/0.6724, allocations: 0 / 489.5 MB, free: 276 kB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.002507/0.6749, allocations: 0.9987 MB / 490.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.6751, allocations: 196.5 kB / 490.7 MB, free: 15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.6758, allocations: 363.1 kB / 491 MB, free: 14.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.676, allocations: 49.69 kB / 491.1 MB, free: 14.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.6763, allocations: 228.9 kB / 491.3 MB, free: 14.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.6766, allocations: 130.5 kB / 491.4 MB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.6767, allocations: 20 kB / 491.4 MB, free: 14.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.677, allocations: 358.7 kB / 491.8 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.6778, allocations: 285.5 kB / 492.1 MB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009025/0.6787, allocations: 372.1 kB / 492.4 MB, free: 13.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.6797, allocations: 448.3 kB / 492.9 MB, free: 12.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.225e-06/0.6798, allocations: 0 / 492.9 MB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002695/0.6825, allocations: 1.104 MB / 494 MB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.6827, allocations: 144.5 kB / 494.1 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.6827, allocations: 4 kB / 494.1 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.6827, allocations: 4 kB / 494.1 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.6831, allocations: 103.8 kB / 494.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.6831, allocations: 8 kB / 494.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.6838, allocations: 87.56 kB / 494.3 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007416/0.6846, allocations: 0.5619 MB / 494.9 MB, free: 10.64 MB / 410.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.0005333/0.6851, allocations: 337.3 kB / 495.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.6853, allocations: 51.44 kB / 495.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001463/0.6855, allocations: 56.77 kB / 495.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.772e-06/0.6855, allocations: 8 kB / 495.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.322e-06/0.6855, allocations: 0 / 495.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.6856, allocations: 7.969 kB / 495.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.6869, allocations: 0.6618 MB / 496 MB, free: 9.438 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.687, allocations: 3.984 kB / 496 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.6872, allocations: 91.83 kB / 496.1 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.6873, allocations: 4 kB / 496.1 MB, free: 9.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/0.6875, allocations: 91.94 kB / 496.2 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.484e-06/0.6875, allocations: 0 / 496.2 MB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.6875, allocations: 4 kB / 496.2 MB, free: 9.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002319/0.6898, allocations: 1.04 MB / 497.2 MB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006085/0.6905, allocations: 252.5 kB / 497.5 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.6907, allocations: 27.98 kB / 497.5 MB, free: 7.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.6913, allocations: 67.8 kB / 497.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007209/0.6921, allocations: 160.3 kB / 497.7 MB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001146/0.6933, allocations: 0.558 MB / 498.3 MB, free: 7.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007557/0.6941, allocations: 250.1 kB / 498.5 MB, free: 6.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.329e-06/0.6941, allocations: 0 / 498.5 MB, free: 6.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001656/0.6958, allocations: 140 kB / 498.7 MB, free: 6.703 MB / 410.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.0005338/0.6963, allocations: 172.8 kB / 498.8 MB, free: 6.527 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003352/0.6997, allocations: 0.9966 MB / 499.8 MB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.6998, allocations: 0 / 499.8 MB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.7017, allocations: 0.6708 MB / 0.4888 GB, free: 4.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003758/0.7055, allocations: 482.9 kB / 0.4892 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003914/0.7094, allocations: 0.8896 MB / 0.4901 GB, free: 3.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.7106, allocations: 0.9026 MB / 0.491 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007251/0.7179, allocations: 1.504 MB / 0.4924 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00356/0.7215, allocations: 478.3 kB / 0.4929 GB, free: 464 kB / 410.7 MB Notification: Performance of SimCode: time 3.161e-06/0.7216, allocations: 0 / 0.4929 GB, free: 464 kB / 410.7 MB Notification: Performance of Templates: time 0.04687/0.7685, allocations: 17.63 MB / 0.5101 GB, free: 14.48 MB / 442.7 MB