Running command: translateModel(Modelica.Electrical.Digital.Examples.Multiplexer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Multiplexer") Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 194.9 MB / 210.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.807e-05/2.781e-05, allocations: 0 / 258.8 MB, free: 7.879 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2964, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Multiplexer): time 0.003544/0.3, allocations: 2.144 MB / 305.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.3038, allocations: 1.173 MB / 306.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003938/0.3043, allocations: 20 kB / 306.7 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.3045, allocations: 55.59 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.3048, allocations: 51.78 kB / 306.8 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006803/0.3055, allocations: 159.8 kB / 306.9 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.3062, allocations: 328.4 kB / 307.2 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.3067, allocations: 171.6 kB / 307.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.3078, allocations: 0.6122 MB / 308 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007464/0.3086, allocations: 439.3 kB / 308.4 MB, free: 8.441 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.3089, allocations: 16 kB / 308.5 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.3091, allocations: 16 kB / 308.5 MB, free: 8.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004107/0.3096, allocations: 211.5 kB / 308.7 MB, free: 8.203 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.3099, allocations: 36 kB / 308.7 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.3115, allocations: 1.35 MB / 310.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3116, allocations: 0 / 310.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3116, allocations: 0 / 310.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.3116, allocations: 8 kB / 310.1 MB, free: 6.809 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002169/0.3138, allocations: 0.9617 MB / 311 MB, free: 5.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3139, allocations: 12.03 kB / 311.1 MB, free: 5.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004194/0.3143, allocations: 79.11 kB / 311.1 MB, free: 5.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.3154, allocations: 449.1 kB / 311.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.3155, allocations: 45.31 kB / 311.6 MB, free: 5.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.3157, allocations: 56 kB / 311.7 MB, free: 5.102 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.3181, allocations: 0.8299 MB / 312.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.3182, allocations: 0 / 312.5 MB, free: 4.262 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.3184, allocations: 28 kB / 312.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.3185, allocations: 16 kB / 312.5 MB, free: 4.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.3206, allocations: 0.6453 MB / 313.2 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005925/0.3266, allocations: 1.72 MB / 314.9 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.3297, allocations: 0.6108 MB / 315.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.3301, allocations: 4.562 kB / 315.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002378/0.3325, allocations: 0.5844 MB / 316.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 5.571e-06/0.3326, allocations: 0 / 316.1 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.006159/0.3387, allocations: 1.319 MB / 317.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001879/0.339, allocations: 192.5 kB / 317.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008904/0.3399, allocations: 372.3 kB / 318 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000374/0.3403, allocations: 45.7 kB / 318 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.3407, allocations: 236.9 kB / 318.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.3412, allocations: 134.4 kB / 318.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/0.3414, allocations: 16 kB / 318.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000312/0.3417, allocations: 358.8 kB / 318.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.3435, allocations: 313.1 kB / 319.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.3453, allocations: 392.3 kB / 319.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.3472, allocations: 484.3 kB / 319.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3473, allocations: 4 kB / 319.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004784/0.3521, allocations: 1.149 MB / 321.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.3523, allocations: 144.5 kB / 321.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3524, allocations: 7.938 kB / 321.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/0.3524, allocations: 4 kB / 321.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/0.3529, allocations: 107.8 kB / 321.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.353, allocations: 4 kB / 321.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.3543, allocations: 83.69 kB / 321.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/0.3555, allocations: 0.5658 MB / 322 MB, free: 10.48 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition1,MUX.d,$PRE.MUX.Or1.auxiliary_n,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,$PRE.MUX.And1.auxiliary_n,$PRE.MUX.And2.auxiliary_n,$PRE.MUX.And3.auxiliary_n,$PRE.MUX.And4.auxiliary_n,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,$PRE.FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,$PRE.FF.And2.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,$PRE.FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,$PRE.FF.And4.auxiliary_n,FF.RS2.Nor1.auxiliary[2],$PRE.FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor1.auxiliary_n,$PRE.FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.And1.y,$PRE.FF.And1.auxiliary_n,FF.And3.x[2],FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,$PRE.FF.Not1.auxiliary,$PRE.CLK.t_i,CLK.t_i,D0.y,D1.y,MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,$PRE.MUX.Not1.auxiliary,MUX.Not1.auxiliary,$PRE.MUX.Not2.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],$PRE.FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor1.auxiliary_n,$PRE.FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.And1.x[1],FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.y,$PRE.FF.And3.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 71 * 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.001245/0.3568, allocations: 446.1 kB / 322.4 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.3572, allocations: 51.44 kB / 322.5 MB, free: 9.953 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.3574, allocations: 56.7 kB / 322.5 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.3574, allocations: 4 kB / 322.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3574, allocations: 0 / 322.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.3575, allocations: 3.984 kB / 322.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.3596, allocations: 0.6695 MB / 323.2 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.3596, allocations: 7.953 kB / 323.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.36, allocations: 91.88 kB / 323.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/0.3601, allocations: 4 kB / 323.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003264/0.3604, allocations: 91.95 kB / 323.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.3604, allocations: 0 / 323.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.3605, allocations: 7.984 kB / 323.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.3648, allocations: 1.079 MB / 324.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.3658, allocations: 272.4 kB / 324.7 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/0.3663, allocations: 20 kB / 324.8 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.3673, allocations: 75.72 kB / 324.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006931/0.368, allocations: 156.4 kB / 325 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001145/0.3692, allocations: 0.558 MB / 325.5 MB, free: 6.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006144/0.3698, allocations: 251.2 kB / 325.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3699, allocations: 0 / 325.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001366/0.3712, allocations: 163.7 kB / 325.9 MB, free: 6.344 MB / 266.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: 56 ($whenCondition1,CLK.t_i,D0.y,D1.y,MUX.d,MUX.Or1.x[1],MUX.Or1.x[2],MUX.Or1.x[3],MUX.Or1.x[4],MUX.Or1.auxiliary[2],MUX.Or1.auxiliary[3],MUX.Or1.auxiliary_n,MUX.And1.auxiliary[2],MUX.And1.auxiliary_n,MUX.And2.x[1],MUX.And2.auxiliary[2],MUX.And2.auxiliary_n,MUX.And3.x[3],MUX.And3.auxiliary[2],MUX.And3.auxiliary_n,MUX.And4.auxiliary[2],MUX.And4.auxiliary_n,MUX.Not1.auxiliary,MUX.Not2.auxiliary,D2.y,D3.y,FF.RS1.Nor1.auxiliary[2],FF.RS1.Nor1.auxiliary_n,FF.RS1.Nor2.x[1],FF.RS1.Nor2.x[2],FF.RS1.Nor2.auxiliary[2],FF.RS1.Nor2.auxiliary_n,FF.RS1.TD1.x,FF.RS1.TD1.x_delayed,FF.RS2.Nor1.auxiliary[2],FF.RS2.Nor1.auxiliary_n,FF.RS2.Nor2.x[1],FF.RS2.Nor2.x[2],FF.RS2.Nor2.auxiliary[2],FF.RS2.Nor2.auxiliary_n,FF.RS2.TD1.x,FF.RS2.TD1.x_delayed,FF.And1.x[1],FF.And1.y,FF.And1.auxiliary[2],FF.And1.auxiliary_n,FF.And2.x[1],FF.And2.auxiliary[2],FF.And2.auxiliary_n,FF.And3.x[2],FF.And3.y,FF.And3.auxiliary_n,FF.And4.x[1],FF.And4.auxiliary_n,FF.Not1.auxiliary,Enable.y) * Number of discrete states: 23 (FF.Not1.auxiliary,FF.And4.auxiliary_n,FF.And3.auxiliary_n,FF.And2.auxiliary_n,FF.And1.auxiliary_n,FF.RS2.TD1.x,FF.RS2.Nor2.auxiliary_n,FF.RS2.Nor1.auxiliary_n,FF.RS1.TD1.x,FF.RS1.Nor2.auxiliary_n,FF.RS1.Nor1.auxiliary_n,MUX.Not2.auxiliary,MUX.Not1.auxiliary,MUX.And4.auxiliary_n,MUX.And3.auxiliary_n,MUX.And2.auxiliary_n,MUX.And1.auxiliary_n,MUX.Or1.auxiliary_n,Enable.y,D3.y,D2.y,D1.y,D0.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.0005204/0.3718, allocations: 176.9 kB / 326.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.003982/0.3758, allocations: 1.044 MB / 327.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.3758, allocations: 0 / 327.2 MB, free: 5.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.378, allocations: 0.6993 MB / 327.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/0.3828, allocations: 482.5 kB / 328.3 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.3873, allocations: 1.248 MB / 329.6 MB, free: 2.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009414/0.3883, allocations: 0.8946 MB / 330.5 MB, free: 1.645 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.006686/0.395, allocations: 1.504 MB / 332 MB, free: 140 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/0.3983, allocations: 486.2 kB / 332.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.3984, allocations: 0 / 332.5 MB, free: 15.66 MB / 282.7 MB Notification: Performance of Templates: time 0.04097/0.4393, allocations: 17.64 MB / 350.1 MB, free: 13.57 MB / 298.7 MB