Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.207e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09016/0.09021, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.453, allocations: 82.93 MB / 426 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4533, allocations: 72.7 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08908/0.5424, allocations: 28.18 MB / 454.2 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.5424, allocations: 0 / 454.2 MB, free: 3.738 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.5425, allocations: 4 kB / 454.3 MB, free: 3.734 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008232/0.5433, allocations: 0.6776 MB / 454.9 MB, free: 2.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5434, allocations: 12.03 kB / 454.9 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.5435, allocations: 39.53 kB / 455 MB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.5439, allocations: 277.3 kB / 455.3 MB, free: 2.621 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.544, allocations: 8 kB / 455.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.547e-05/0.544, allocations: 8 kB / 455.3 MB, free: 2.605 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.5444, allocations: 169.5 kB / 455.4 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.535e-06/0.5445, allocations: 0 / 455.4 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.5445, allocations: 8 kB / 455.4 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.353e-06/0.5445, allocations: 4 kB / 455.4 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.5448, allocations: 83.86 kB / 455.5 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.5458, allocations: 0.4888 MB / 456 MB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.5461, allocations: 122.5 kB / 456.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.5464, allocations: 108.9 kB / 456.2 MB, free: 1.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5464, allocations: 4 kB / 456.2 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.5469, allocations: 242.6 kB / 456.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.555e-06/0.5469, allocations: 0 / 456.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001055/0.5479, allocations: 0.4977 MB / 457 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.5481, allocations: 191.9 kB / 457.2 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009553/0.5491, allocations: 0.491 MB / 457.7 MB, free: 36 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.5492, allocations: 37.64 kB / 457.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.5493, allocations: 121 kB / 457.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.191e-05/0.5494, allocations: 23.72 kB / 457.8 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.5494, allocations: 8 kB / 457.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5496, allocations: 330.9 kB / 458.2 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.5498, allocations: 83.92 kB / 458.2 MB, free: 15.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.5501, allocations: 79.97 kB / 458.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.5504, allocations: 212.5 kB / 458.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.43e-06/0.5504, allocations: 0 / 458.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009447/0.5513, allocations: 486 kB / 459 MB, free: 14.6 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.5515, allocations: 152.5 kB / 459.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.142e-06/0.5515, allocations: 0 / 459.2 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5516, allocations: 4 kB / 459.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.03e-05/0.5516, allocations: 0 / 459.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.774e-06/0.5516, allocations: 0 / 459.2 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.5519, allocations: 23.83 kB / 459.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.552, allocations: 105.2 kB / 459.3 MB, free: 14.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.x,$PRE.Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 3 * 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.000293/0.5524, allocations: 283.2 kB / 459.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.5525, allocations: 39.53 kB / 459.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.5527, allocations: 71.75 kB / 459.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-06/0.5527, allocations: 0 / 459.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.94e-06/0.5527, allocations: 4 kB / 459.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.026e-06/0.5528, allocations: 3.938 kB / 459.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/0.5546, allocations: 0.9283 MB / 460.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5546, allocations: 0 / 460.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.5547, allocations: 128 / 460.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.873e-06/0.5547, allocations: 8 kB / 460.6 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.5548, allocations: 23.98 kB / 460.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.759e-06/0.5548, allocations: 0 / 460.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5548, allocations: 0 / 460.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5559, allocations: 0.6322 MB / 461.3 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/0.5565, allocations: 252.3 kB / 461.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.5566, allocations: 12 kB / 461.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.5569, allocations: 19.98 kB / 461.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.5571, allocations: 59.92 kB / 461.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.5573, allocations: 97.23 kB / 461.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008008/0.5581, allocations: 412.9 kB / 462.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.5581, allocations: 0 / 462.1 MB, free: 11.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.5586, allocations: 55.98 kB / 462.2 MB, free: 11.22 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: 14 ($whenCondition1,$whenCondition2,Mux2x1.sel,Mux2x1.nextstate,Mux2x1.yy,Mux2x1.inertialDelaySensitive.x,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.y_old,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.t_next,Input1.y,Input0.y) * Number of discrete states: 14 (Input1.y,Mux2x1.sel,Input0.y,Mux2x1.yy,Mux2x1.nextstate,Mux2x1.inertialDelaySensitive.y,Mux2x1.inertialDelaySensitive.y_auxiliary,Mux2x1.inertialDelaySensitive.t_next,Mux2x1.inertialDelaySensitive.delayTime,Mux2x1.inertialDelaySensitive.lh,Mux2x1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,Mux2x1.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.000198/0.5588, allocations: 115.2 kB / 462.3 MB, free: 11.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.5596, allocations: 0.5282 MB / 462.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.15e-06/0.5596, allocations: 0 / 462.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.5602, allocations: 461 kB / 463.3 MB, free: 9.992 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.561, allocations: 156 kB / 463.4 MB, free: 9.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5625, allocations: 0.6137 MB / 464 MB, free: 9.207 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.5632, allocations: 0.8264 MB / 464.8 MB, free: 8.355 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.873e-05/0.5633, allocations: 21.06 kB / 464.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.5634, allocations: 11.44 kB / 464.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.5634, allocations: 0 / 464.9 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Templates: time 0.01446/0.5778, allocations: 6.587 MB / 471.5 MB, free: 1.633 MB / 378.7 MB