Running command: translateModel(Modelica.Electrical.Digital.Examples.MUX2x1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.MUX2x1") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.996e-05, allocations: 0 / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09328/0.09333, allocations: 50.42 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5126, allocations: 82.98 MB / 425.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.5129, allocations: 74.02 kB / 425.6 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08872/0.6016, allocations: 28.17 MB / 453.8 MB, free: 3.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.6017, allocations: 4 kB / 453.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.6017, allocations: 4 kB / 453.8 MB, free: 3.742 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.0008151/0.6025, allocations: 0.6777 MB / 454.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.6026, allocations: 8.031 kB / 454.5 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.6027, allocations: 43.53 kB / 454.5 MB, free: 2.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000419/0.6032, allocations: 275.8 kB / 454.8 MB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.6032, allocations: 4 kB / 454.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.6033, allocations: 12 kB / 454.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.6037, allocations: 164 kB / 454.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.401e-06/0.6037, allocations: 0 / 454.9 MB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.6037, allocations: 7.375 kB / 455 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-06/0.6038, allocations: 0 / 455 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.604, allocations: 88.84 kB / 455 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.605, allocations: 0.5031 MB / 455.5 MB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.6052, allocations: 121.2 kB / 455.7 MB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.6055, allocations: 110.7 kB / 455.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.6055, allocations: 0 / 455.8 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004438/0.606, allocations: 244.7 kB / 456 MB, free: 1.535 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.951e-06/0.606, allocations: 0 / 456 MB, free: 1.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001093/0.6071, allocations: 0.4938 MB / 456.5 MB, free: 1.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/0.6073, allocations: 191.9 kB / 456.7 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.6082, allocations: 0.4911 MB / 457.2 MB, free: 284 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.6083, allocations: 29.7 kB / 457.2 MB, free: 248 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.6084, allocations: 179.4 kB / 457.4 MB, free: 68 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.476e-05/0.6085, allocations: 35.7 kB / 457.4 MB, free: 32 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.6085, allocations: 4 kB / 457.4 MB, free: 28 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.6087, allocations: 326.9 kB / 457.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.609, allocations: 79.92 kB / 457.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.6092, allocations: 83.97 kB / 457.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.6095, allocations: 208.5 kB / 458.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.802e-06/0.6095, allocations: 0 / 458.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009199/0.6104, allocations: 474.1 kB / 458.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.6106, allocations: 152.5 kB / 458.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.6106, allocations: 4 kB / 458.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6106, allocations: 0 / 458.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.6107, allocations: 0 / 458.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.711e-06/0.6107, allocations: 0 / 458.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.6109, allocations: 19.94 kB / 458.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.6111, allocations: 109.2 kB / 458.9 MB, free: 14.49 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.0002907/0.6114, allocations: 271.2 kB / 459.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/0.6115, allocations: 43.53 kB / 459.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.6118, allocations: 75.75 kB / 459.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.843e-06/0.6118, allocations: 0 / 459.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.29e-06/0.6118, allocations: 0 / 459.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.035e-06/0.6118, allocations: 3.984 kB / 459.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.6135, allocations: 0.9321 MB / 460.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.16e-06/0.6135, allocations: 0 / 460.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.034e-05/0.6135, allocations: 0 / 460.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.15e-06/0.6136, allocations: 4 kB / 460.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.6136, allocations: 23.97 kB / 460.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.198e-06/0.6136, allocations: 4 kB / 460.2 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-06/0.6136, allocations: 4 kB / 460.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.6148, allocations: 0.6244 MB / 460.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.6153, allocations: 252.4 kB / 461.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.224e-05/0.6154, allocations: 15.94 kB / 461.1 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.6157, allocations: 20.11 kB / 461.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.6159, allocations: 55.92 kB / 461.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.6161, allocations: 105.2 kB / 461.3 MB, free: 11.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000783/0.6169, allocations: 412.9 kB / 461.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.6169, allocations: 0 / 461.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.6174, allocations: 52 kB / 461.7 MB, free: 11.43 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.0001935/0.6176, allocations: 123.2 kB / 461.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000809/0.6184, allocations: 0.5166 MB / 462.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.83e-06/0.6184, allocations: 4 kB / 462.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.619, allocations: 464.9 kB / 462.8 MB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.6199, allocations: 152.1 kB / 463 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.6214, allocations: 0.6583 MB / 463.6 MB, free: 9.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.6221, allocations: 0.8225 MB / 464.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.6222, allocations: 15.44 kB / 464.5 MB, free: 8.504 MB / 378.7 MB Notification: Performance of SimCode: time 1.915e-06/0.6222, allocations: 0 / 464.5 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Templates: time 0.008187/0.6304, allocations: 4.206 MB / 468.7 MB, free: 4.207 MB / 378.7 MB