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.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.739/1.739, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.001454/0.001454, allocations: 59.91 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3328, allocations: 46.63 MB / 325.3 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003707/0.3366, allocations: 2.59 MB / 327.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.3396, allocations: 1.289 MB / 329.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.3398, allocations: 8.281 kB / 329.2 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.3401, allocations: 70.22 kB / 329.3 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.3403, allocations: 66.16 kB / 329.3 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.3409, allocations: 234.7 kB / 329.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.343, allocations: 2.063 MB / 331.6 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.3443, allocations: 0.9503 MB / 332.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.3468, allocations: 2.108 MB / 334.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.3482, allocations: 1.047 MB / 335.7 MB, free: 9.465 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005053/0.3487, allocations: 216 kB / 335.9 MB, free: 9.254 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.3491, allocations: 216 kB / 336.1 MB, free: 9.043 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.3499, allocations: 0.6309 MB / 336.8 MB, free: 8.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.351, allocations: 0.898 MB / 337.7 MB, free: 7.508 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.3545, allocations: 4.348 MB / 342 MB, free: 3.148 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3545, allocations: 0 / 342 MB, free: 3.148 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3545, allocations: 0 / 342 MB, free: 3.148 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.296e-05/0.3546, allocations: 0 / 342 MB, free: 3.148 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.004028/0.3586, allocations: 2.305 MB / 344.3 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3587, allocations: 12.02 kB / 344.3 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.3591, allocations: 167.1 kB / 344.5 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.3609, allocations: 1.07 MB / 345.6 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/0.3611, allocations: 94.91 kB / 345.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.3614, allocations: 120.4 kB / 345.8 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.3654, allocations: 2.286 MB / 348.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.3655, allocations: 3.984 kB / 348.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002565/0.3657, allocations: 52 kB / 348.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-05/0.3658, allocations: 32 kB / 348.2 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003852/0.3696, allocations: 1.985 MB / 350.1 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008006/0.3777, allocations: 4.865 MB / 355 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.3814, allocations: 1.859 MB / 356.9 MB, free: 4.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.3829, allocations: 0.762 MB / 357.6 MB, free: 3.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001856/0.3831, allocations: 17.3 kB / 357.6 MB, free: 3.301 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002223/0.3854, allocations: 1.352 MB / 359 MB, free: 1.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 3.587e-06/0.3854, allocations: 0 / 359 MB, free: 1.938 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005658/0.391, allocations: 2.673 MB / 361.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.3911, allocations: 90.42 kB / 361.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001664/0.3928, allocations: 0.9408 MB / 362.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/0.3931, allocations: 97.66 kB / 362.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.3936, allocations: 469.1 kB / 363.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.3941, allocations: 304.3 kB / 363.5 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.3955, allocations: 0.6633 MB / 364.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.3957, allocations: 410.7 kB / 364.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.3974, allocations: 0.8666 MB / 365.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.3991, allocations: 1.035 MB / 366.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.4023, allocations: 1.958 MB / 368.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.4024, allocations: 0 / 368.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004252/0.4066, allocations: 2.404 MB / 370.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/0.4067, allocations: 37.69 kB / 370.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.4067, allocations: 4 kB / 370.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/0.4068, allocations: 8 kB / 370.9 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.4073, allocations: 231.5 kB / 371.1 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.319e-05/0.4073, allocations: 12 kB / 371.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/0.4081, allocations: 83.56 kB / 371.2 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/0.4091, allocations: 1.096 MB / 372.3 MB, free: 4.402 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.001734/0.4109, allocations: 0.8962 MB / 373.2 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/0.4114, allocations: 106.8 kB / 373.3 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003488/0.4118, allocations: 134.3 kB / 373.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.4118, allocations: 12 kB / 373.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.4118, allocations: 0 / 373.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.4119, allocations: 11.91 kB / 373.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003138/0.415, allocations: 1.755 MB / 375.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/0.415, allocations: 0 / 375.2 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004891/0.4155, allocations: 203.7 kB / 375.4 MB, free: 1.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.4155, allocations: 7.938 kB / 375.5 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003361/0.4159, allocations: 175.9 kB / 375.6 MB, free: 1.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.185e-05/0.4159, allocations: 8 kB / 375.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4159, allocations: 4 kB / 375.6 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004194/0.4201, allocations: 2.03 MB / 377.7 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/0.4215, allocations: 0.6401 MB / 378.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005632/0.422, allocations: 119.9 kB / 378.4 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005979/0.4227, allocations: 51.97 kB / 378.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008444/0.4235, allocations: 332.9 kB / 378.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001447/0.425, allocations: 1.089 MB / 379.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001149/0.4261, allocations: 0.5927 MB / 380.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4261, allocations: 0 / 380.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001886/0.428, allocations: 383.1 kB / 380.9 MB, free: 11.75 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.0007383/0.4288, allocations: 367.7 kB / 381.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006886/0.4357, allocations: 3.287 MB / 384.5 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.4357, allocations: 4 kB / 384.5 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.4379, allocations: 1.096 MB / 385.6 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/0.4426, allocations: 1.066 MB / 386.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/0.4492, allocations: 2.895 MB / 389.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.4511, allocations: 1.316 MB / 390.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01096/0.4621, allocations: 3.37 MB / 394.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00525/0.4674, allocations: 0.9308 MB / 395.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4674, allocations: 0 / 395.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of Templates: time 0.07036/0.5377, allocations: 40.58 MB / 435.8 MB, free: 3.727 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)