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.001998/0.001998, 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.002048/0.002047, allocations: 194.5 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.735/1.735, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001602/0.001602, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.398, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005397/0.4035, allocations: 2.588 MB / 327.9 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.4084, allocations: 1.293 MB / 329.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005335/0.409, allocations: 8.375 kB / 329.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.4094, allocations: 62.69 kB / 329.3 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004103/0.4098, allocations: 69.42 kB / 329.3 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009857/0.4108, allocations: 242.9 kB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00291/0.4138, allocations: 2.059 MB / 331.6 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.4156, allocations: 0.9475 MB / 332.6 MB, free: 12.64 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/0.4183, allocations: 2.109 MB / 334.7 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.4204, allocations: 1.047 MB / 335.7 MB, free: 9.473 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008843/0.4213, allocations: 223.9 kB / 335.9 MB, free: 9.254 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000931/0.4222, allocations: 216 kB / 336.2 MB, free: 9.043 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009378/0.4232, allocations: 0.6192 MB / 336.8 MB, free: 8.422 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.425, allocations: 0.8941 MB / 337.7 MB, free: 7.523 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.4289, allocations: 4.348 MB / 342 MB, free: 3.164 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4289, allocations: 4 kB / 342 MB, free: 3.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4289, allocations: 0 / 342 MB, free: 3.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.398e-05/0.429, allocations: 0 / 342 MB, free: 3.16 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.005448/0.4345, allocations: 2.305 MB / 344.3 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4345, allocations: 8.031 kB / 344.3 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004934/0.435, allocations: 167.1 kB / 344.5 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.4372, allocations: 1.069 MB / 345.6 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.4374, allocations: 98.89 kB / 345.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.4377, allocations: 128.4 kB / 345.8 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005067/0.4428, allocations: 2.286 MB / 348.1 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.4428, allocations: 0 / 348.1 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.4431, allocations: 48 kB / 348.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.4431, allocations: 32 kB / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.4472, allocations: 1.993 MB / 350.1 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008771/0.456, allocations: 4.861 MB / 355 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/0.4598, allocations: 1.859 MB / 356.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/0.4614, allocations: 0.762 MB / 357.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.4616, allocations: 17.31 kB / 357.6 MB, free: 3.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002381/0.4639, allocations: 1.355 MB / 359 MB, free: 1.941 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 6.011e-06/0.464, allocations: 0 / 359 MB, free: 1.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005798/0.4698, allocations: 2.665 MB / 361.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.4699, allocations: 90.42 kB / 361.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/0.4715, allocations: 0.9447 MB / 362.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.4718, allocations: 93.66 kB / 362.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004525/0.4723, allocations: 465.1 kB / 363.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.4728, allocations: 312.3 kB / 363.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.4739, allocations: 0.6672 MB / 364.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000256/0.4742, allocations: 410.7 kB / 364.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4759, allocations: 0.8666 MB / 365.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.4777, allocations: 1.039 MB / 366.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003427/0.4812, allocations: 1.954 MB / 368.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.4812, allocations: 3.938 kB / 368.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00494/0.4861, allocations: 2.397 MB / 370.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.4863, allocations: 29.7 kB / 370.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.4863, allocations: 7.984 kB / 370.9 MB, free: 5.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.774e-05/0.4864, allocations: 8 kB / 370.9 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.4869, allocations: 231.6 kB / 371.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.634e-05/0.487, allocations: 16.55 kB / 371.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.4878, allocations: 83.55 kB / 371.2 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/0.4891, allocations: 1.093 MB / 372.3 MB, free: 4.414 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.001882/0.491, allocations: 0.9002 MB / 373.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003582/0.4913, allocations: 102.8 kB / 373.3 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.4916, allocations: 130.3 kB / 373.5 MB, free: 3.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4916, allocations: 12 kB / 373.5 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.611e-05/0.4916, allocations: 8 kB / 373.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/0.4916, allocations: 11.91 kB / 373.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.4941, allocations: 1.751 MB / 375.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4941, allocations: 0 / 375.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.4945, allocations: 207.7 kB / 375.4 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4945, allocations: 4 kB / 375.5 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/0.4948, allocations: 179.8 kB / 375.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4948, allocations: 4 kB / 375.6 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.4948, allocations: 4 kB / 375.6 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003884/0.4987, allocations: 2.034 MB / 377.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.4999, allocations: 0.644 MB / 378.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/0.5004, allocations: 119.9 kB / 378.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/0.5008, allocations: 51.91 kB / 378.5 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/0.5015, allocations: 337 kB / 378.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001155/0.5027, allocations: 1.085 MB / 379.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000905/0.5036, allocations: 0.5927 MB / 380.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5036, allocations: 0 / 380.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001602/0.5052, allocations: 379.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.0008185/0.5061, allocations: 367.7 kB / 381.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.01113/0.5172, allocations: 3.283 MB / 384.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5173, allocations: 0 / 384.5 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003027/0.5203, allocations: 1.1 MB / 385.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005856/0.5262, allocations: 1.057 MB / 386.7 MB, free: 5.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007908/0.5341, allocations: 2.895 MB / 389.6 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001708/0.5359, allocations: 1.316 MB / 390.9 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01191/0.5478, allocations: 3.378 MB / 394.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005521/0.5534, allocations: 0.9308 MB / 395.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of SimCode: time 2.074e-06/0.5534, allocations: 0 / 395.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of Templates: time 0.08685/0.6403, allocations: 40.59 MB / 435.8 MB, free: 3.73 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)