Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001503/0.001503, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001579/0.001579, allocations: 196.7 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.1 MB / 222 MB, free: 4.77 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.001423/0.001423, allocations: 67.84 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3286, allocations: 46.62 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004582/0.3333, allocations: 2.624 MB / 327.3 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.3369, allocations: 1.262 MB / 328.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.3373, allocations: 7.438 kB / 328.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.3377, allocations: 51.06 kB / 328.6 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.3379, allocations: 62.17 kB / 328.7 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007875/0.3387, allocations: 210 kB / 328.9 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002255/0.341, allocations: 1.841 MB / 330.7 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.3425, allocations: 0.9276 MB / 331.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.3454, allocations: 1.894 MB / 333.5 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.3469, allocations: 0.9337 MB / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003567/0.3473, allocations: 75.94 kB / 334.6 MB, free: 10.24 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.3477, allocations: 72 kB / 334.6 MB, free: 10.17 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007208/0.3484, allocations: 466.1 kB / 335.1 MB, free: 9.715 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.3498, allocations: 0.7378 MB / 335.8 MB, free: 8.973 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.3541, allocations: 4.239 MB / 340.1 MB, free: 4.723 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.3542, allocations: 0 / 340.1 MB, free: 4.723 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.3542, allocations: 0 / 340.1 MB, free: 4.723 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.3543, allocations: 4 kB / 340.1 MB, free: 4.719 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.006795/0.3611, allocations: 2.309 MB / 342.4 MB, free: 2.344 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.3612, allocations: 12.03 kB / 342.4 MB, free: 2.332 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.3618, allocations: 163.1 kB / 342.5 MB, free: 2.172 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.3638, allocations: 1.065 MB / 343.6 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.3639, allocations: 98.91 kB / 343.7 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.3642, allocations: 124.4 kB / 343.8 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/0.3694, allocations: 2.289 MB / 346.1 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.3694, allocations: 3.938 kB / 346.1 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000269/0.3697, allocations: 52 kB / 346.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.3698, allocations: 28 kB / 346.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004649/0.3744, allocations: 1.985 MB / 348.2 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.386, allocations: 4.794 MB / 353 MB, free: 7.598 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/0.3911, allocations: 1.859 MB / 354.8 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.3931, allocations: 0.7581 MB / 355.6 MB, free: 4.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.3934, allocations: 17.3 kB / 355.6 MB, free: 4.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00282/0.3962, allocations: 1.359 MB / 357 MB, free: 3.574 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 7.284e-06/0.3963, allocations: 0 / 357 MB, free: 3.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.006543/0.4029, allocations: 2.669 MB / 359.6 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.403, allocations: 94.41 kB / 359.7 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.405, allocations: 0.937 MB / 360.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000454/0.4055, allocations: 97.66 kB / 360.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008183/0.4063, allocations: 465.2 kB / 361.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000762/0.4071, allocations: 308.2 kB / 361.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001872/0.409, allocations: 0.6711 MB / 362.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003192/0.4093, allocations: 406.7 kB / 362.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.4113, allocations: 0.8627 MB / 363.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.4132, allocations: 1.039 MB / 364.5 MB, free: 11.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003617/0.4168, allocations: 1.958 MB / 366.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.4168, allocations: 0 / 366.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004797/0.4216, allocations: 2.4 MB / 368.8 MB, free: 7.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.609e-05/0.4218, allocations: 33.73 kB / 368.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.4218, allocations: 4 kB / 368.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.615e-05/0.4218, allocations: 12 kB / 368.9 MB, free: 7.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.4224, allocations: 227.6 kB / 369.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.4225, allocations: 11.94 kB / 369.1 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.4242, allocations: 195.2 kB / 369.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/0.4254, allocations: 1.093 MB / 370.4 MB, free: 5.938 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.002022/0.4274, allocations: 0.8963 MB / 371.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/0.428, allocations: 106.8 kB / 371.4 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.4284, allocations: 130.3 kB / 371.5 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4284, allocations: 15.94 kB / 371.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.4284, allocations: 0 / 371.6 MB, free: 4.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.4284, allocations: 19.91 kB / 371.6 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003744/0.4322, allocations: 1.759 MB / 373.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.4322, allocations: 0 / 373.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.4328, allocations: 207.7 kB / 373.5 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.4328, allocations: 4 kB / 373.5 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/0.4331, allocations: 175.9 kB / 373.7 MB, free: 2.547 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.4331, allocations: 4 kB / 373.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4331, allocations: 0 / 373.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.4373, allocations: 2.034 MB / 375.8 MB, free: 496 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.4387, allocations: 0.6402 MB / 376.4 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/0.4393, allocations: 119.9 kB / 376.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.4401, allocations: 147.3 kB / 376.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007529/0.4409, allocations: 333 kB / 377 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001174/0.442, allocations: 1.089 MB / 378.1 MB, free: 14.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009838/0.443, allocations: 0.6005 MB / 378.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4431, allocations: 0 / 378.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002406/0.4455, allocations: 375.1 kB / 379 MB, free: 13.18 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.0008023/0.4463, allocations: 363.8 kB / 379.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.4505, allocations: 2.033 MB / 381.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4505, allocations: 0 / 381.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002038/0.4526, allocations: 1.104 MB / 382.5 MB, free: 9.656 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/0.4568, allocations: 0.9674 MB / 383.5 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007112/0.464, allocations: 3.313 MB / 386.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.4657, allocations: 1.316 MB / 388.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01102/0.4768, allocations: 3.382 MB / 391.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005677/0.4825, allocations: 0.9269 MB / 392.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.123e-06/0.4825, allocations: 0 / 392.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Templates: time 0.07886/0.5614, allocations: 39.43 MB / 431.9 MB, free: 7.25 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)