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_4.0.0_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 2.185/2.185, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.068e-05, allocations: 4 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.42 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5213, allocations: 84.32 MB / 426.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.5217, allocations: 66.47 kB / 426.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.282/0.8037, allocations: 55.84 MB / 482.8 MB, free: 6.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.601e-06/0.8037, allocations: 0 / 482.8 MB, free: 6.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.876e-05/0.8038, allocations: 20 kB / 482.8 MB, free: 6.641 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.002915/0.8068, allocations: 0.9698 MB / 483.8 MB, free: 5.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.843e-05/0.8069, allocations: 8.031 kB / 483.8 MB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005229/0.8074, allocations: 75.16 kB / 483.9 MB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.8091, allocations: 465 kB / 484.3 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.8092, allocations: 49.3 kB / 484.4 MB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.8096, allocations: 56 kB / 484.4 MB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003438/0.8131, allocations: 0.808 MB / 485.2 MB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.8132, allocations: 7.938 kB / 485.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.8135, allocations: 27.95 kB / 485.3 MB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.8135, allocations: 12 kB / 485.3 MB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002923/0.8164, allocations: 0.6 MB / 485.9 MB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009727/0.8262, allocations: 1.686 MB / 487.6 MB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.8283, allocations: 0.5704 MB / 488.1 MB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007665/0.8291, allocations: 290.4 kB / 488.4 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/0.8293, allocations: 4.562 kB / 488.4 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.8305, allocations: 0.5444 MB / 489 MB, free: 288 kB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 4.952e-06/0.8306, allocations: 0 / 489 MB, free: 288 kB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.002521/0.8331, allocations: 0.9948 MB / 490 MB, free: 15.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.8333, allocations: 200.5 kB / 490.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.834, allocations: 367.1 kB / 490.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.8342, allocations: 45.7 kB / 490.6 MB, free: 14.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.8345, allocations: 236.9 kB / 490.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.8348, allocations: 122.5 kB / 490.9 MB, free: 14.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.8349, allocations: 20 kB / 490.9 MB, free: 14.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.8352, allocations: 358.7 kB / 491.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/0.836, allocations: 285.5 kB / 491.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.8369, allocations: 372.1 kB / 491.9 MB, free: 13.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.838, allocations: 448.3 kB / 492.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.838, allocations: 0 / 492.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002695/0.8407, allocations: 1.1 MB / 493.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.8409, allocations: 144.5 kB / 493.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.841, allocations: 8.062 kB / 493.6 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.841, allocations: 4 kB / 493.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.8414, allocations: 107.8 kB / 493.7 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.8414, allocations: 7.984 kB / 493.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.8421, allocations: 79.64 kB / 493.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007783/0.8429, allocations: 0.5697 MB / 494.4 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.0005578/0.8435, allocations: 337.3 kB / 494.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.8437, allocations: 51.44 kB / 494.7 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.8439, allocations: 52.77 kB / 494.8 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.714e-06/0.8439, allocations: 4 kB / 494.8 MB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.92e-06/0.844, allocations: 4 kB / 494.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.844, allocations: 3.984 kB / 494.8 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.8453, allocations: 0.6657 MB / 495.5 MB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.573e-06/0.8454, allocations: 0 / 495.5 MB, free: 9.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.8456, allocations: 95.81 kB / 495.6 MB, free: 9.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.8457, allocations: 4 kB / 495.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/0.8459, allocations: 87.95 kB / 495.7 MB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.084e-06/0.8459, allocations: 4 kB / 495.7 MB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.132e-06/0.8459, allocations: 4 kB / 495.7 MB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.8483, allocations: 1.04 MB / 496.7 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/0.8489, allocations: 256.5 kB / 497 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.8492, allocations: 24 kB / 497 MB, free: 7.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.8497, allocations: 67.8 kB / 497 MB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.8502, allocations: 156.4 kB / 497.2 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007409/0.8509, allocations: 0.558 MB / 497.8 MB, free: 7.094 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004457/0.8514, allocations: 246.2 kB / 498 MB, free: 6.855 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.005e-06/0.8514, allocations: 7.938 kB / 498 MB, free: 6.848 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009276/0.8524, allocations: 144 kB / 498.1 MB, free: 6.707 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.000366/0.8528, allocations: 172.8 kB / 498.3 MB, free: 6.531 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002148/0.8549, allocations: 0.9926 MB / 499.3 MB, free: 5.477 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.038e-06/0.855, allocations: 4 kB / 499.3 MB, free: 5.473 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.8562, allocations: 0.6669 MB / 500 MB, free: 4.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.8585, allocations: 486.1 kB / 0.4887 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.8609, allocations: 0.8896 MB / 0.4896 GB, free: 3.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.8617, allocations: 0.9026 MB / 0.4905 GB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003783/0.8654, allocations: 1.5 MB / 0.4919 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/0.8674, allocations: 486.2 kB / 0.4924 GB, free: 468 kB / 410.7 MB Notification: Performance of SimCode: time 1.879e-06/0.8674, allocations: 0 / 0.4924 GB, free: 468 kB / 410.7 MB Notification: Performance of Templates: time 0.0424/0.9098, allocations: 17.63 MB / 0.5096 GB, free: 14.49 MB / 442.7 MB