Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 2.109/2.109, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.453e-05, allocations: 7.984 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09322/0.09328, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5525, allocations: 82.93 MB / 425.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.5527, allocations: 66.27 kB / 425.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08837/0.6411, allocations: 28.18 MB / 453.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.19e-06/0.6412, allocations: 0 / 453.7 MB, free: 3.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.6412, allocations: 4 kB / 453.7 MB, free: 3.719 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.0008244/0.642, allocations: 0.6775 MB / 454.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.6421, allocations: 8.031 kB / 454.4 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.6422, allocations: 39.53 kB / 454.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.6426, allocations: 277.3 kB / 454.7 MB, free: 2.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.6427, allocations: 8 kB / 454.7 MB, free: 2.602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.6427, allocations: 12 kB / 454.8 MB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004167/0.6432, allocations: 173.5 kB / 454.9 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.069e-06/0.6432, allocations: 0 / 454.9 MB, free: 2.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.6432, allocations: 4 kB / 454.9 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.6433, allocations: 0 / 454.9 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.6435, allocations: 91.84 kB / 455 MB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.6445, allocations: 496.6 kB / 455.5 MB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.6448, allocations: 122.5 kB / 455.6 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.6451, allocations: 108.9 kB / 455.7 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.6451, allocations: 0 / 455.7 MB, free: 1.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004382/0.6456, allocations: 254.5 kB / 456 MB, free: 1.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.795e-06/0.6456, allocations: 0 / 456 MB, free: 1.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001031/0.6466, allocations: 0.4938 MB / 456.5 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.6468, allocations: 195.8 kB / 456.7 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000903/0.6477, allocations: 0.4911 MB / 457.2 MB, free: 16 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.6478, allocations: 29.7 kB / 457.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.6479, allocations: 121 kB / 457.3 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.648, allocations: 27.7 kB / 457.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.648, allocations: 0 / 457.3 MB, free: 15.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6482, allocations: 338.9 kB / 457.7 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.6484, allocations: 83.91 kB / 457.7 MB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.6486, allocations: 79.98 kB / 457.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.6489, allocations: 208.4 kB / 458 MB, free: 15.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.751e-06/0.6489, allocations: 0 / 458 MB, free: 15.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009116/0.6499, allocations: 486.1 kB / 458.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.65, allocations: 148.5 kB / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-06/0.65, allocations: 0 / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6501, allocations: 0 / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.964e-05/0.6501, allocations: 4 kB / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.6501, allocations: 0 / 458.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6503, allocations: 31.83 kB / 458.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.6505, allocations: 105.2 kB / 458.8 MB, free: 14.27 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.00027/0.6508, allocations: 267.2 kB / 459 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.6509, allocations: 47.47 kB / 459.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.6511, allocations: 75.73 kB / 459.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-06/0.6511, allocations: 0 / 459.2 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.933e-06/0.6511, allocations: 4 kB / 459.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-06/0.6511, allocations: 0 / 459.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.6527, allocations: 0.9323 MB / 460.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-06/0.6527, allocations: 0 / 460.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.6528, allocations: 4 kB / 460.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.176e-06/0.6528, allocations: 0 / 460.1 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.136e-05/0.6528, allocations: 19.98 kB / 460.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-06/0.6529, allocations: 0 / 460.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-06/0.6529, allocations: 0 / 460.1 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.654, allocations: 0.6322 MB / 460.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.6545, allocations: 260.3 kB / 461 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.6546, allocations: 12 kB / 461 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.6549, allocations: 12 kB / 461 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.6551, allocations: 55.92 kB / 461.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.6552, allocations: 101.2 kB / 461.2 MB, free: 11.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007394/0.656, allocations: 420.9 kB / 461.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.656, allocations: 7.938 kB / 461.6 MB, free: 11.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.6565, allocations: 48 kB / 461.6 MB, free: 11.21 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.0001897/0.6567, allocations: 119.2 kB / 461.8 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007975/0.6575, allocations: 0.5282 MB / 462.3 MB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.952e-06/0.6575, allocations: 0 / 462.3 MB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005518/0.6581, allocations: 457 kB / 462.7 MB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007971/0.6589, allocations: 164.6 kB / 462.9 MB, free: 9.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.6603, allocations: 0.6059 MB / 463.5 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.661, allocations: 0.8264 MB / 464.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.6611, allocations: 8.547 kB / 464.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.6611, allocations: 11.44 kB / 464.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of SimCode: time 1.99e-06/0.6611, allocations: 0 / 464.4 MB, free: 8.324 MB / 378.7 MB Notification: Performance of Templates: time 0.014/0.6751, allocations: 6.595 MB / 470.9 MB, free: 1.621 MB / 378.7 MB