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.1_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.738/1.738, allocations: 171.2 MB / 185.7 MB, free: 1.375 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.675e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08492/0.08497, allocations: 38.76 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003545/0.08862, allocations: 2.153 MB / 269.1 MB, free: 14.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004125/0.09279, allocations: 1.155 MB / 270.2 MB, free: 13.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.09332, allocations: 19.94 kB / 270.2 MB, free: 13.14 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.09366, allocations: 55.59 kB / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.094, allocations: 55.83 kB / 270.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009349/0.09496, allocations: 163.7 kB / 270.5 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001024/0.096, allocations: 328.4 kB / 270.8 MB, free: 12.55 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.09659, allocations: 171.6 kB / 271 MB, free: 12.38 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.09828, allocations: 0.6161 MB / 271.6 MB, free: 11.76 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.09942, allocations: 435.3 kB / 272 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.09978, allocations: 16 kB / 272 MB, free: 11.32 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.1001, allocations: 16 kB / 272.1 MB, free: 11.3 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005696/0.1007, allocations: 207.5 kB / 272.3 MB, free: 11.1 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.1012, allocations: 36 kB / 272.3 MB, free: 11.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.1034, allocations: 1.348 MB / 273.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1034, allocations: 4 kB / 273.7 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1034, allocations: 3.938 kB / 273.7 MB, free: 9.707 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.469e-05/0.1035, allocations: 0 / 273.7 MB, free: 9.707 MB / 234.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.002949/0.1065, allocations: 0.9618 MB / 274.6 MB, free: 8.668 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.1065, allocations: 8.031 kB / 274.6 MB, free: 8.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006611/0.1072, allocations: 75.16 kB / 274.7 MB, free: 8.586 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.1088, allocations: 472.8 kB / 275.2 MB, free: 8.082 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.109, allocations: 41.31 kB / 275.2 MB, free: 8.039 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/0.1094, allocations: 60 kB / 275.3 MB, free: 7.98 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.1134, allocations: 0.826 MB / 276.1 MB, free: 7.148 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.1135, allocations: 0 / 276.1 MB, free: 7.148 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.1137, allocations: 24 kB / 276.1 MB, free: 7.125 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.1138, allocations: 12 kB / 276.1 MB, free: 7.113 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.1168, allocations: 0.6415 MB / 276.8 MB, free: 6.473 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007226/0.1241, allocations: 1.72 MB / 278.5 MB, free: 4.699 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002837/0.127, allocations: 0.6203 MB / 279.1 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.1273, allocations: 4.562 kB / 279.1 MB, free: 4.07 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002094/0.1294, allocations: 0.5767 MB / 279.7 MB, free: 3.48 MB / 234.7 MB Notification: Performance of pre-optimization done (n=56): time 5.3e-06/0.1295, allocations: 0 / 279.7 MB, free: 3.48 MB / 234.7 MB Notification: Performance of matching and sorting (n=56): time 0.00513/0.1346, allocations: 1.323 MB / 281 MB, free: 2.121 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.1348, allocations: 204.4 kB / 281.2 MB, free: 1.879 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.1355, allocations: 368.3 kB / 281.6 MB, free: 1.512 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.1358, allocations: 57.62 kB / 281.6 MB, free: 1.449 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.1361, allocations: 236.8 kB / 281.9 MB, free: 1.215 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003122/0.1364, allocations: 122.6 kB / 282 MB, free: 1.094 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.1366, allocations: 16 kB / 282 MB, free: 1.078 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1368, allocations: 350.8 kB / 282.3 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.138, allocations: 317.1 kB / 282.6 MB, free: 428 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.1392, allocations: 396.3 kB / 283 MB, free: 8 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.1405, allocations: 476.4 kB / 283.5 MB, free: 15.51 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1405, allocations: 0 / 283.5 MB, free: 15.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003477/0.144, allocations: 1.149 MB / 284.6 MB, free: 14.32 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.1442, allocations: 148.5 kB / 284.8 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.1442, allocations: 4.109 kB / 284.8 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.1443, allocations: 4 kB / 284.8 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1446, allocations: 103.8 kB / 284.9 MB, free: 14.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-05/0.1447, allocations: 15.92 kB / 284.9 MB, free: 14.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000883/0.1456, allocations: 83.69 kB / 285 MB, free: 13.94 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009149/0.1465, allocations: 0.5658 MB / 285.6 MB, free: 13.38 MB / 250.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[1],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,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],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,$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[2],FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],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.x[1],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.0009954/0.1475, allocations: 446 kB / 286 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.1478, allocations: 51.44 kB / 286 MB, free: 12.85 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.148, allocations: 52.77 kB / 286.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.148, allocations: 11.95 kB / 286.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.148, allocations: 0 / 286.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.148, allocations: 7.969 kB / 286.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.1497, allocations: 0.6656 MB / 286.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.1498, allocations: 3.938 kB / 286.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.1501, allocations: 91.89 kB / 286.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.1502, allocations: 3.938 kB / 286.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.1504, allocations: 91.94 kB / 287 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.1505, allocations: 4 kB / 287 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1505, allocations: 3.953 kB / 287 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003458/0.1539, allocations: 1.075 MB / 288.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.1549, allocations: 256.5 kB / 288.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/0.1552, allocations: 36 kB / 288.3 MB, free: 10.44 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.156, allocations: 63.7 kB / 288.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005434/0.1565, allocations: 168.3 kB / 288.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009173/0.1575, allocations: 0.5579 MB / 289.1 MB, free: 9.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004738/0.1579, allocations: 255.1 kB / 289.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.158, allocations: 0 / 289.4 MB, free: 9.402 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00128/0.1593, allocations: 163.7 kB / 289.5 MB, free: 9.242 MB / 250.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.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.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],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[1],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[1],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.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (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,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,Enable.y,D3.y,D2.y,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.0006636/0.16, allocations: 168.9 kB / 289.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003351/0.1634, allocations: 1.059 MB / 290.8 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.1634, allocations: 0 / 290.8 MB, free: 7.945 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.1651, allocations: 0.6916 MB / 291.4 MB, free: 7.195 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003381/0.1685, allocations: 483.8 kB / 291.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.1718, allocations: 1.252 MB / 293.2 MB, free: 5.457 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007445/0.1726, allocations: 0.9024 MB / 294.1 MB, free: 4.527 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.004957/0.1776, allocations: 1.5 MB / 295.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/0.1802, allocations: 486.2 kB / 296.1 MB, free: 2.547 MB / 250.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1803, allocations: 4 kB / 296.1 MB, free: 2.543 MB / 250.7 MB Notification: Performance of Templates: time 0.2483/0.4286, allocations: 17.65 MB / 313.7 MB, free: 23.53 MB / 250.7 MB