Running command: translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.783e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09081, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.458, allocations: 84.38 MB / 426.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.4583, allocations: 71.17 kB / 427 MB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1796/0.6379, allocations: 55.84 MB / 482.8 MB, free: 6.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.998e-06/0.638, allocations: 0 / 482.8 MB, free: 6.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.302e-05/0.638, allocations: 16 kB / 482.8 MB, free: 6.914 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.002005/0.64, allocations: 0.9776 MB / 483.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6401, allocations: 8.031 kB / 483.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.6404, allocations: 75.16 kB / 483.9 MB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.6415, allocations: 464.9 kB / 484.4 MB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.6416, allocations: 49.31 kB / 484.4 MB, free: 5.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/0.6418, allocations: 56 kB / 484.5 MB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.6438, allocations: 0.808 MB / 485.3 MB, free: 4.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6439, allocations: 7.938 kB / 485.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.644, allocations: 27.95 kB / 485.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.644, allocations: 16 kB / 485.3 MB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.6457, allocations: 0.6039 MB / 485.9 MB, free: 3.707 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004299/0.65, allocations: 1.686 MB / 487.6 MB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.6514, allocations: 0.5627 MB / 488.2 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007212/0.6522, allocations: 286.5 kB / 488.5 MB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.6524, allocations: 12.55 kB / 488.5 MB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001163/0.6536, allocations: 0.5444 MB / 489 MB, free: 0.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=58): time 5.027e-06/0.6536, allocations: 0 / 489 MB, free: 0.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.002414/0.656, allocations: 0.991 MB / 490 MB, free: 15.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.6562, allocations: 196.5 kB / 490.2 MB, free: 15.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006908/0.6569, allocations: 371.1 kB / 490.6 MB, free: 14.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.6571, allocations: 45.7 kB / 490.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/0.6574, allocations: 279.3 kB / 490.9 MB, free: 14.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.6577, allocations: 130.5 kB / 491 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.6578, allocations: 20 kB / 491 MB, free: 14.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.658, allocations: 334.8 kB / 491.3 MB, free: 14.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.6588, allocations: 293.5 kB / 491.6 MB, free: 13.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.6597, allocations: 364.1 kB / 492 MB, free: 13.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.6606, allocations: 448.3 kB / 492.4 MB, free: 12.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.013e-06/0.6607, allocations: 0 / 492.4 MB, free: 12.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002528/0.6632, allocations: 1.076 MB / 493.5 MB, free: 11.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.6634, allocations: 148.5 kB / 493.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.984e-06/0.6634, allocations: 4.062 kB / 493.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.6634, allocations: 4 kB / 493.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.6638, allocations: 107.8 kB / 493.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.6638, allocations: 4 kB / 493.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.6646, allocations: 87.62 kB / 493.9 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007445/0.6653, allocations: 0.5618 MB / 494.4 MB, free: 10.91 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.0005711/0.6659, allocations: 337.2 kB / 494.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.6662, allocations: 55.42 kB / 494.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.6664, allocations: 56.75 kB / 494.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6664, allocations: 4 kB / 494.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6664, allocations: 8 kB / 494.9 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6664, allocations: 3.984 kB / 494.9 MB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.6678, allocations: 0.6579 MB / 495.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.676e-06/0.6678, allocations: 0 / 495.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.6681, allocations: 91.88 kB / 495.6 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.185e-06/0.6681, allocations: 4 kB / 495.6 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.6683, allocations: 95.88 kB / 495.7 MB, free: 9.527 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-05/0.6684, allocations: 8 kB / 495.7 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.6684, allocations: 0 / 495.7 MB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.6708, allocations: 1.04 MB / 496.8 MB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.6714, allocations: 256.4 kB / 497 MB, free: 8.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.6717, allocations: 24 kB / 497 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.6723, allocations: 67.84 kB / 497.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/0.6727, allocations: 152.4 kB / 497.3 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007339/0.6734, allocations: 0.558 MB / 497.8 MB, free: 7.363 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004441/0.6739, allocations: 246.1 kB / 498 MB, free: 7.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.6739, allocations: 7.938 kB / 498.1 MB, free: 7.117 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008789/0.6748, allocations: 140 kB / 498.2 MB, free: 6.98 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.0003618/0.6752, allocations: 172.9 kB / 498.4 MB, free: 6.805 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.6773, allocations: 1.004 MB / 499.4 MB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.969e-06/0.6774, allocations: 0.5625 kB / 499.4 MB, free: 5.738 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6786, allocations: 0.6631 MB / 0.4883 GB, free: 5.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.6809, allocations: 487.5 kB / 0.4888 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.6835, allocations: 0.9576 MB / 0.4897 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.6843, allocations: 0.9064 MB / 0.4906 GB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002967/0.6873, allocations: 0.6735 MB / 0.4913 GB, free: 1.953 MB / 410.7 MB Notification: Performance of SimCode: time 1.955e-06/0.6874, allocations: 0 / 0.4913 GB, free: 1.953 MB / 410.7 MB Notification: Performance of Templates: time 0.02479/0.7122, allocations: 14.41 MB / 0.5053 GB, free: 2.82 MB / 426.7 MB