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.896/1.896, allocations: 194.9 MB / 210.6 MB, free: 8.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.623e-05, allocations: 4 kB / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2982, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.MUX2x1): time 0.001972/0.3002, allocations: 1.224 MB / 304.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.3027, allocations: 0.8267 MB / 305.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.3028, allocations: 5.344 kB / 305.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.346e-05/0.3029, allocations: 5.328 kB / 305.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.303, allocations: 23.69 kB / 305.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3033, allocations: 39.55 kB / 305.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3034, allocations: 63.11 kB / 305.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.3035, allocations: 9.156 kB / 305.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008005/0.3043, allocations: 476.9 kB / 306 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3045, allocations: 95.81 kB / 306.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.21e-05/0.3046, allocations: 4 kB / 306.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.128e-05/0.3047, allocations: 8 kB / 306.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3048, allocations: 75.73 kB / 306.2 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.3049, allocations: 16 kB / 306.2 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3054, allocations: 373.5 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3054, allocations: 0 / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3054, allocations: 0 / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3054, allocations: 0 / 306.5 MB, free: 10.38 MB / 250.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.0007428/0.3062, allocations: 0.6591 MB / 307.2 MB, free: 9.637 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.3062, allocations: 8.031 kB / 307.2 MB, free: 9.629 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3064, allocations: 55.39 kB / 307.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.3068, allocations: 281.2 kB / 307.5 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3068, allocations: 8 kB / 307.5 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.3069, allocations: 12 kB / 307.6 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.3074, allocations: 161.5 kB / 307.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3074, allocations: 0 / 307.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.294e-05/0.3075, allocations: 8 kB / 307.7 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3075, allocations: 7.938 kB / 307.7 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.3078, allocations: 87.89 kB / 307.8 MB, free: 8.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009721/0.3088, allocations: 0.4926 MB / 308.3 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.3091, allocations: 130.5 kB / 308.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.3092, allocations: 0 / 308.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.3096, allocations: 238.7 kB / 308.7 MB, free: 8.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.3097, allocations: 4 kB / 308.7 MB, free: 8.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.001556/0.3112, allocations: 0.7574 MB / 309.4 MB, free: 7.199 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.3114, allocations: 195.9 kB / 309.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009769/0.3124, allocations: 0.493 MB / 310.1 MB, free: 6.465 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.3124, allocations: 33.7 kB / 310.1 MB, free: 6.426 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.3125, allocations: 113 kB / 310.3 MB, free: 6.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.3126, allocations: 31.78 kB / 310.3 MB, free: 6.281 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3127, allocations: 4 kB / 310.3 MB, free: 6.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3128, allocations: 330.8 kB / 310.6 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.3131, allocations: 83.95 kB / 310.7 MB, free: 5.863 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.3134, allocations: 97.61 kB / 310.8 MB, free: 5.762 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.3137, allocations: 220.3 kB / 311 MB, free: 5.516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3137, allocations: 0 / 311 MB, free: 5.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001054/0.3148, allocations: 483.2 kB / 311.5 MB, free: 5.008 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.3149, allocations: 152.5 kB / 311.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3149, allocations: 0 / 311.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.315, allocations: 8.031 kB / 311.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.546e-05/0.315, allocations: 7.891 kB / 311.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.315, allocations: 272 / 311.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.3153, allocations: 27.83 kB / 311.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/0.3155, allocations: 97.23 kB / 311.8 MB, free: 4.691 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.Mux2x1.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,Mux2x1.nextstate,Mux2x1.yy,$PRE.Mux2x1.inertialDelaySensitive.x,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,Select.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.0005693/0.3161, allocations: 407 kB / 312.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.3162, allocations: 39.53 kB / 312.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.3163, allocations: 75.47 kB / 312.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3164, allocations: 0 / 312.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3164, allocations: 3.953 kB / 312.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.3164, allocations: 4 kB / 312.3 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.3181, allocations: 0.9244 MB / 313.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3181, allocations: 0 / 313.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.136e-06/0.3181, allocations: 0 / 313.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3182, allocations: 0 / 313.2 MB, free: 3.117 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.3182, allocations: 28.05 kB / 313.2 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.3182, allocations: 7.953 kB / 313.2 MB, free: 3.082 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3182, allocations: 4 kB / 313.2 MB, free: 3.078 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.3195, allocations: 0.6362 MB / 313.9 MB, free: 2.395 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005335/0.32, allocations: 260.2 kB / 314.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3201, allocations: 8 kB / 314.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.3204, allocations: 19.98 kB / 314.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.3207, allocations: 67.8 kB / 314.2 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/0.3208, allocations: 97.3 kB / 314.3 MB, free: 1.934 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008092/0.3217, allocations: 422.8 kB / 314.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3217, allocations: 0 / 314.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.3221, allocations: 51.94 kB / 314.8 MB, free: 1.469 MB / 250.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.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,Select.y,Input0.y) * Number of discrete states: 14 (Input1.y,Select.y,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.0001946/0.3223, allocations: 123.2 kB / 314.9 MB, free: 1.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009429/0.3233, allocations: 0.5282 MB / 315.4 MB, free: 0.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3233, allocations: 4 kB / 315.4 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006164/0.3239, allocations: 464.9 kB / 315.9 MB, free: 236 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.325, allocations: 163.9 kB / 316.1 MB, free: 80 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3269, allocations: 0.8296 MB / 316.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006015/0.3275, allocations: 0.8263 MB / 317.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.25e-05/0.3276, allocations: 16.84 kB / 317.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.3277, allocations: 11.44 kB / 317.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3277, allocations: 0 / 317.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01508/0.3428, allocations: 6.573 MB / 324.3 MB, free: 7.609 MB / 266.7 MB