Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01414/0.01414, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005265/0.0005269, allocations: 16 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3817, allocations: 47.59 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002904/0.3846, allocations: 2.259 MB / 329.3 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003013/0.3877, allocations: 1.248 MB / 330.5 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.388, allocations: 11 kB / 330.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3882, allocations: 55.69 kB / 330.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3884, allocations: 50.28 kB / 330.7 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.3892, allocations: 209.1 kB / 330.9 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002242/0.3915, allocations: 1.838 MB / 332.7 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.3931, allocations: 0.9085 MB / 333.6 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002765/0.3959, allocations: 1.8 MB / 335.4 MB, free: 10.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.3971, allocations: 0.8166 MB / 336.2 MB, free: 10.15 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002313/0.3974, allocations: 40 kB / 336.3 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.3976, allocations: 40 kB / 336.3 MB, free: 10.07 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.3982, allocations: 414.1 kB / 336.7 MB, free: 9.668 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.3994, allocations: 0.6887 MB / 337.4 MB, free: 8.969 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004222/0.4036, allocations: 4.168 MB / 341.6 MB, free: 4.789 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.226e-05/0.4036, allocations: 0 / 341.6 MB, free: 4.789 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.472e-06/0.4037, allocations: 0 / 341.6 MB, free: 4.789 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001436/0.4038, allocations: 0 / 341.6 MB, free: 4.789 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.004944/0.4088, allocations: 1.689 MB / 343.2 MB, free: 3.035 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.4088, allocations: 12.03 kB / 343.3 MB, free: 3.023 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006511/0.4095, allocations: 167 kB / 343.4 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.4116, allocations: 1.066 MB / 344.5 MB, free: 1.75 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.4118, allocations: 98.91 kB / 344.6 MB, free: 1.652 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003685/0.4121, allocations: 120.4 kB / 344.7 MB, free: 1.535 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00502/0.4172, allocations: 2.305 MB / 347 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.4172, allocations: 0 / 347 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002473/0.4175, allocations: 48 kB / 347.1 MB, free: 15.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.4175, allocations: 32 kB / 347.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00456/0.4221, allocations: 2.008 MB / 349.1 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009822/0.432, allocations: 4.79 MB / 353.9 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/0.4361, allocations: 1.922 MB / 355.8 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4377, allocations: 0.7698 MB / 356.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.4379, allocations: 17.3 kB / 356.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002266/0.4401, allocations: 1.367 MB / 358 MB, free: 4.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 5.601e-06/0.4402, allocations: 0 / 358 MB, free: 4.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005515/0.4457, allocations: 2.704 MB / 360.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.4458, allocations: 94.41 kB / 360.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.4477, allocations: 0.933 MB / 361.7 MB, free: 392 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003637/0.4481, allocations: 101.7 kB / 361.8 MB, free: 284 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/0.4486, allocations: 461.3 kB / 362.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/0.4491, allocations: 308.3 kB / 362.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005095/0.4496, allocations: 237.7 kB / 362.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.4499, allocations: 406.7 kB / 363.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.4517, allocations: 0.8783 MB / 364 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.4536, allocations: 1.055 MB / 365.1 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004694/0.4583, allocations: 1.977 MB / 367.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.4584, allocations: 0 / 367.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007741/0.4662, allocations: 2.424 MB / 369.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.4663, allocations: 41.72 kB / 369.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.4664, allocations: 0 / 369.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.263e-05/0.4664, allocations: 12 kB / 369.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.4672, allocations: 227.6 kB / 369.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.649e-05/0.4673, allocations: 11.98 kB / 369.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.4693, allocations: 195.2 kB / 370 MB, free: 7.934 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/0.4711, allocations: 1.093 MB / 371.1 MB, free: 6.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,Clock.t_i,$PRE.Clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002645/0.4737, allocations: 0.9041 MB / 372 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006479/0.4744, allocations: 106.7 kB / 372.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.4749, allocations: 130.3 kB / 372.2 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.4749, allocations: 16 kB / 372.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.4749, allocations: 0 / 372.2 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.758e-05/0.475, allocations: 15.89 kB / 372.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/0.48, allocations: 1.747 MB / 374 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-05/0.48, allocations: 4 kB / 374 MB, free: 3.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.4808, allocations: 203.7 kB / 374.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.234e-05/0.4809, allocations: 8 kB / 374.2 MB, free: 3.625 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004922/0.4814, allocations: 175.9 kB / 374.4 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.531e-05/0.4814, allocations: 4 kB / 374.4 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4814, allocations: 3.938 kB / 374.4 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005886/0.4873, allocations: 2.065 MB / 376.4 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/0.4894, allocations: 0.644 MB / 377.1 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007102/0.4902, allocations: 119.9 kB / 377.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.4917, allocations: 143.5 kB / 377.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009415/0.4927, allocations: 333 kB / 377.7 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00171/0.4944, allocations: 1.092 MB / 378.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001457/0.4959, allocations: 0.5927 MB / 379.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4959, allocations: 0 / 379.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002589/0.4985, allocations: 379.1 kB / 379.7 MB, free: 14.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.4995, allocations: 363.8 kB / 380.1 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005164/0.5047, allocations: 2.053 MB / 382.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.5048, allocations: 0 / 382.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.5076, allocations: 1.119 MB / 383.2 MB, free: 10.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005612/0.5132, allocations: 0.962 MB / 384.2 MB, free: 9.531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007754/0.521, allocations: 3.326 MB / 387.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/0.5227, allocations: 1.312 MB / 388.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01039/0.5332, allocations: 3.382 MB / 392.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00587/0.5391, allocations: 0.9269 MB / 393.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of SimCode: time 2.144e-06/0.5391, allocations: 0 / 393.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of Templates: time 0.07514/0.6143, allocations: 39.15 MB / 432.3 MB, free: 8.355 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)