Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.768e-05/2.778e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2259, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.3681, allocations: 72.24 MB / 336 MB, free: 1.488 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003643/0.3686, allocations: 63.97 kB / 336.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1585/0.5271, allocations: 28.27 MB / 364.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 4e-06/0.5272, allocations: 0 / 364.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.445e-05/0.5273, allocations: 4 kB / 364.4 MB, free: 5.195 MB / 314.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.001466/0.5288, allocations: 0.6659 MB / 365 MB, free: 4.453 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.226e-05/0.5289, allocations: 12.03 kB / 365 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.5291, allocations: 47.42 kB / 365.1 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007774/0.5299, allocations: 273.3 kB / 365.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.53, allocations: 4 kB / 365.4 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.956e-05/0.5301, allocations: 19.94 kB / 365.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007863/0.5309, allocations: 165.6 kB / 365.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.531, allocations: 0 / 365.5 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/0.531, allocations: 4 kB / 365.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.008e-06/0.5311, allocations: 0 / 365.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004736/0.5316, allocations: 83.91 kB / 365.6 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.5327, allocations: 0.5005 MB / 366.1 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.533, allocations: 114.5 kB / 366.2 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.5332, allocations: 108.9 kB / 366.3 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.5333, allocations: 4 kB / 366.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004475/0.5337, allocations: 240.5 kB / 366.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.842e-06/0.5338, allocations: 4 kB / 366.6 MB, free: 2.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001055/0.5348, allocations: 0.4977 MB / 367.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/0.535, allocations: 191.9 kB / 367.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009429/0.5359, allocations: 0.4987 MB / 367.8 MB, free: 1.492 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.536, allocations: 33.7 kB / 367.8 MB, free: 1.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.5361, allocations: 117.1 kB / 367.9 MB, free: 1.336 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.5362, allocations: 35.73 kB / 368 MB, free: 1.301 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.5363, allocations: 4 kB / 368 MB, free: 1.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5364, allocations: 330.8 kB / 368.3 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.5367, allocations: 87.91 kB / 368.4 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.5369, allocations: 75.98 kB / 368.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.5372, allocations: 212.5 kB / 368.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.998e-06/0.5372, allocations: 0 / 368.6 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009064/0.5381, allocations: 481.7 kB / 369.1 MB, free: 60 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1792/0.7173, allocations: 151.8 kB / 369.3 MB, free: 89.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7173, allocations: 3.438 kB / 369.3 MB, free: 89.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.7174, allocations: 0.7812 kB / 369.3 MB, free: 89.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.553e-05/0.7174, allocations: 2.922 kB / 369.3 MB, free: 89.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.041e-06/0.7174, allocations: 4.922 kB / 369.3 MB, free: 89.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.7177, allocations: 16.22 kB / 369.3 MB, free: 89.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.7179, allocations: 98.66 kB / 369.4 MB, free: 89.77 MB / 314.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.0002159/0.7181, allocations: 270.4 kB / 369.7 MB, free: 89.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.7183, allocations: 42.69 kB / 369.7 MB, free: 89.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.7185, allocations: 73.48 kB / 369.8 MB, free: 89.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.537e-06/0.7185, allocations: 5.781 kB / 369.8 MB, free: 89.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.665e-06/0.7185, allocations: 0 / 369.8 MB, free: 89.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.97e-06/0.7186, allocations: 4.375 kB / 369.8 MB, free: 89.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001634/0.7202, allocations: 0.9191 MB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.181e-06/0.7202, allocations: 2.578 kB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.7202, allocations: 0.5312 kB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.87e-06/0.7203, allocations: 2.656 kB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.853e-05/0.7203, allocations: 21.2 kB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.7204, allocations: 2.25 kB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.671e-06/0.7204, allocations: 3.031 kB / 370.7 MB, free: 89 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.7214, allocations: 0.6336 MB / 371.4 MB, free: 88.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.7219, allocations: 261.5 kB / 371.6 MB, free: 88.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.722, allocations: 13.53 kB / 371.6 MB, free: 88.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.7223, allocations: 18.12 kB / 371.6 MB, free: 88.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.7225, allocations: 60.11 kB / 371.7 MB, free: 88.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.7226, allocations: 100.6 kB / 371.8 MB, free: 88.56 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006541/0.7233, allocations: 416.7 kB / 372.2 MB, free: 88.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.7233, allocations: 2.078 kB / 372.2 MB, free: 88.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000442/0.7237, allocations: 48.34 kB / 372.3 MB, free: 88.41 MB / 314.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.0001503/0.7239, allocations: 125.9 kB / 372.4 MB, free: 88.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005901/0.7245, allocations: 0.529 MB / 372.9 MB, free: 88.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.082e-06/0.7245, allocations: 3.781 kB / 372.9 MB, free: 88.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.7249, allocations: 459 kB / 373.4 MB, free: 87.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007356/0.7256, allocations: 170.2 kB / 373.5 MB, free: 87.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.7269, allocations: 0.5994 MB / 374.1 MB, free: 87.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.7273, allocations: 0.8298 MB / 375 MB, free: 86.74 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.417e-05/0.7273, allocations: 12.3 kB / 375 MB, free: 86.74 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.7274, allocations: 11.31 kB / 375 MB, free: 86.73 MB / 314.7 MB Notification: Performance of SimCode: time 1.575e-06/0.7274, allocations: 0 / 375 MB, free: 86.73 MB / 314.7 MB Notification: Performance of Templates: time 0.0123/0.7397, allocations: 6.583 MB / 381.6 MB, free: 86.02 MB / 314.7 MB