Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.603e-05, allocations: 0 / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09094, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4401, allocations: 81.8 MB / 398.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.4404, allocations: 68.53 kB / 398.8 MB, free: 6.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08864/0.529, allocations: 27.79 MB / 426.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.119e-06/0.5291, allocations: 0 / 426.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.5291, allocations: 4 kB / 426.6 MB, free: 15.26 MB / 346.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.0007915/0.5299, allocations: 0.6924 MB / 427.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.53, allocations: 11.97 kB / 427.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.5301, allocations: 43.53 kB / 427.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.5305, allocations: 268.7 kB / 427.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.5305, allocations: 10.88 kB / 427.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.5306, allocations: 8 kB / 427.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004053/0.531, allocations: 165.7 kB / 427.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.029e-06/0.531, allocations: 0 / 427.8 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.5311, allocations: 7.984 kB / 427.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5311, allocations: 8 kB / 427.8 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.5313, allocations: 76.67 kB / 427.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.5323, allocations: 0.5015 MB / 428.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.5326, allocations: 120.9 kB / 428.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.5328, allocations: 112.5 kB / 428.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5329, allocations: 4 kB / 428.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004177/0.5333, allocations: 240.8 kB / 428.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.5333, allocations: 4 kB / 428.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001053/0.5344, allocations: 0.501 MB / 429.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.5345, allocations: 195.3 kB / 429.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.5355, allocations: 0.4949 MB / 430 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.318e-05/0.5355, allocations: 29.7 kB / 430.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.93e-05/0.5356, allocations: 120.4 kB / 430.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.5357, allocations: 31.27 kB / 430.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.5358, allocations: 4 kB / 430.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.536, allocations: 330.1 kB / 430.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.5362, allocations: 77.92 kB / 430.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.5364, allocations: 88.73 kB / 430.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.5367, allocations: 206.1 kB / 430.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.953e-06/0.5367, allocations: 4 kB / 430.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009169/0.5376, allocations: 480.3 kB / 431.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.5378, allocations: 151.9 kB / 431.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5378, allocations: 0 / 431.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5378, allocations: 0 / 431.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.93e-05/0.5378, allocations: 4 kB / 431.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.044e-06/0.5379, allocations: 112 / 431.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.5381, allocations: 31.36 kB / 431.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.5383, allocations: 97.3 kB / 431.7 MB, free: 10.35 MB / 346.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.0002829/0.5386, allocations: 270 kB / 431.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.5387, allocations: 43.53 kB / 432 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.5389, allocations: 74.19 kB / 432 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-06/0.5389, allocations: 0 / 432 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.4e-06/0.5389, allocations: 0 / 432 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.79e-06/0.539, allocations: 3.938 kB / 432 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.5405, allocations: 0.9325 MB / 433 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.58e-06/0.5406, allocations: 0 / 433 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.074e-05/0.5406, allocations: 7.875 kB / 433 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.405e-06/0.5406, allocations: 4 kB / 433 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.237e-05/0.5407, allocations: 23.86 kB / 433 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-06/0.5407, allocations: 0 / 433 MB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.536e-06/0.5407, allocations: 3.953 kB / 433 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.5418, allocations: 0.6232 MB / 433.6 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004729/0.5423, allocations: 257 kB / 433.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.958e-05/0.5424, allocations: 11.38 kB / 433.9 MB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.5427, allocations: 19.98 kB / 433.9 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.5429, allocations: 58.55 kB / 434 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.5431, allocations: 104.5 kB / 434.1 MB, free: 8.012 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007121/0.5438, allocations: 417.7 kB / 434.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5438, allocations: 0 / 434.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.5442, allocations: 48 kB / 434.5 MB, free: 7.625 MB / 346.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.0001951/0.5444, allocations: 127.1 kB / 434.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007534/0.5452, allocations: 0.5278 MB / 435.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.5452, allocations: 0 / 435.2 MB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.5457, allocations: 456.5 kB / 435.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.5465, allocations: 160.9 kB / 435.8 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.548, allocations: 0.6048 MB / 436.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.5486, allocations: 0.8366 MB / 437.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.877e-05/0.5487, allocations: 12.55 kB / 437.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.459e-05/0.5488, allocations: 11.44 kB / 437.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.617e-06/0.5488, allocations: 0 / 437.2 MB, free: 5.008 MB / 346.7 MB Notification: Performance of Templates: time 0.01439/0.5632, allocations: 6.594 MB / 443.8 MB, free: 14.29 MB / 362.7 MB