Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Mux2x1.out",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.074e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07956/0.07961, allocations: 44.49 MB / 299.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3395/0.4192, allocations: 77.56 MB / 377.4 MB, free: 22.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.4194, allocations: 66.89 kB / 377.5 MB, free: 22.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07915/0.4986, allocations: 27.78 MB / 405.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.416e-06/0.4987, allocations: 4 kB / 405.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4987, allocations: 3.969 kB / 405.3 MB, free: 18.11 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.0005478/0.4992, allocations: 0.6773 MB / 406 MB, free: 17.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4993, allocations: 11.53 kB / 406 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.677e-05/0.4994, allocations: 42.73 kB / 406 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.4997, allocations: 275.9 kB / 406.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.4998, allocations: 3.906 kB / 406.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.4998, allocations: 15.53 kB / 406.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.5002, allocations: 162.3 kB / 406.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.4e-06/0.5002, allocations: 4 kB / 406.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.5002, allocations: 7.688 kB / 406.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5002, allocations: 0 / 406.5 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.5004, allocations: 85.92 kB / 406.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.5012, allocations: 492.8 kB / 407.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.5015, allocations: 126.3 kB / 407.2 MB, free: 16.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.5017, allocations: 106.3 kB / 407.3 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.5017, allocations: 0 / 407.3 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.5021, allocations: 253.5 kB / 407.5 MB, free: 16.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.977e-06/0.5021, allocations: 0 / 407.5 MB, free: 16.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008159/0.5029, allocations: 0.4923 MB / 408 MB, free: 16.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.503, allocations: 195.4 kB / 408.2 MB, free: 16.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007547/0.5038, allocations: 0.4898 MB / 408.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.5038, allocations: 29.67 kB / 408.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.549e-05/0.5039, allocations: 130.4 kB / 408.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.442e-05/0.504, allocations: 26.36 kB / 408.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.504, allocations: 3.969 kB / 408.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.5041, allocations: 330.1 kB / 409.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5043, allocations: 79.73 kB / 409.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.5045, allocations: 88.41 kB / 409.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.5047, allocations: 204.9 kB / 409.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.874e-06/0.5047, allocations: 0 / 409.6 MB, free: 15.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007634/0.5055, allocations: 489 kB / 410.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.802e-05/0.5056, allocations: 156.2 kB / 410.2 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-06/0.5056, allocations: 3.953 kB / 410.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5056, allocations: 0 / 410.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.917e-05/0.5057, allocations: 0 / 410.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.5057, allocations: 0 / 410.2 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.5059, allocations: 23.7 kB / 410.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.506, allocations: 95.39 kB / 410.3 MB, free: 14.76 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.0001683/0.5062, allocations: 273.5 kB / 410.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.5063, allocations: 42.97 kB / 410.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.5065, allocations: 73.67 kB / 410.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-06/0.5065, allocations: 7.859 kB / 410.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.202e-06/0.5065, allocations: 0 / 410.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-06/0.5065, allocations: 0 / 410.7 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.5078, allocations: 0.9336 MB / 411.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-06/0.5078, allocations: 128 / 411.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.5078, allocations: 4 kB / 411.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.687e-06/0.5079, allocations: 3.953 kB / 411.7 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.5079, allocations: 23.39 kB / 411.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.439e-06/0.5079, allocations: 0 / 411.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.098e-06/0.5079, allocations: 0 / 411.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009006/0.5089, allocations: 0.6221 MB / 412.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.5093, allocations: 260.9 kB / 412.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/0.5094, allocations: 19.2 kB / 412.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000268/0.5097, allocations: 19.64 kB / 412.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.5099, allocations: 58.23 kB / 412.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.51, allocations: 106.7 kB / 412.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005927/0.5106, allocations: 414.2 kB / 413.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.5106, allocations: 0 / 413.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.5111, allocations: 50.03 kB / 413.2 MB, free: 13.05 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.0001507/0.5112, allocations: 117.9 kB / 413.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.5118, allocations: 0.5251 MB / 413.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.797e-06/0.5119, allocations: 0 / 413.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.5122, allocations: 465.1 kB / 414.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.513, allocations: 156.3 kB / 414.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.5142, allocations: 0.6159 MB / 415.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.5146, allocations: 0.8277 MB / 415.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.767e-05/0.5147, allocations: 16.38 kB / 415.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.5147, allocations: 11.34 kB / 415.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.744e-06/0.5147, allocations: 0 / 415.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of Templates: time 0.01227/0.527, allocations: 6.595 MB / 422.5 MB, free: 7.738 MB / 314.7 MB