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.01009/0.01009, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001846/0.001846, allocations: 193 kB / 16.67 MB, free: 5.969 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.732/1.732, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001224/0.001224, allocations: 54.23 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1491, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005563/0.1547, allocations: 2.582 MB / 375.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.1582, allocations: 1.283 MB / 377 MB, free: 13.4 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1584, allocations: 7.938 kB / 377 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002474/0.1587, allocations: 71.38 kB / 377.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.1589, allocations: 71.3 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.1596, allocations: 235.6 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.1622, allocations: 2.069 MB / 379.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001273/0.1635, allocations: 0.9516 MB / 380.4 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.1664, allocations: 2.117 MB / 382.6 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.1688, allocations: 1.059 MB / 383.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008324/0.1696, allocations: 220 kB / 383.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006328/0.1703, allocations: 216 kB / 384 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009272/0.1712, allocations: 0.6076 MB / 384.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001619/0.1728, allocations: 0.9056 MB / 385.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005155/0.178, allocations: 4.408 MB / 390 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.1781, allocations: 0 / 390 MB, free: 436 kB / 318.1 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1781, allocations: 0 / 390 MB, free: 436 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.1782, allocations: 0 / 390 MB, free: 436 kB / 318.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.005799/0.184, allocations: 2.351 MB / 392.3 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.1841, allocations: 12.03 kB / 392.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005219/0.1846, allocations: 171.9 kB / 392.5 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.1864, allocations: 1.066 MB / 393.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1866, allocations: 106.9 kB / 393.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.1869, allocations: 120.4 kB / 393.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004939/0.1918, allocations: 2.289 MB / 396.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.1919, allocations: 0 / 396.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/0.1921, allocations: 52 kB / 396.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.1922, allocations: 28 kB / 396.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.1963, allocations: 1.985 MB / 398.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009294/0.2056, allocations: 4.811 MB / 402.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.2096, allocations: 1.859 MB / 404.8 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.2112, allocations: 0.7581 MB / 405.6 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000254/0.2115, allocations: 17.3 kB / 405.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002324/0.2138, allocations: 1.359 MB / 406.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/0.2138, allocations: 0 / 406.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005618/0.2194, allocations: 2.674 MB / 409.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.972e-05/0.2196, allocations: 94.41 kB / 409.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.2213, allocations: 0.9412 MB / 410.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003653/0.2217, allocations: 97.66 kB / 410.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006214/0.2223, allocations: 474.2 kB / 411.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005365/0.2228, allocations: 313.7 kB / 411.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.2241, allocations: 0.6712 MB / 412.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.2244, allocations: 402.7 kB / 412.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.2263, allocations: 0.8705 MB / 413.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.2281, allocations: 1.051 MB / 414.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.2318, allocations: 1.958 MB / 416.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.2318, allocations: 0 / 416.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004822/0.2366, allocations: 2.402 MB / 418.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.798e-05/0.2368, allocations: 34.83 kB / 418.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.2368, allocations: 4 kB / 418.9 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.2368, allocations: 8 kB / 418.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.2374, allocations: 231.6 kB / 419.1 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.2375, allocations: 8 kB / 419.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008937/0.2384, allocations: 87.58 kB / 419.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001271/0.2396, allocations: 1.096 MB / 420.3 MB, free: 1.645 MB / 350.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.002139/0.2418, allocations: 0.904 MB / 421.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.2422, allocations: 111.3 kB / 421.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.2426, allocations: 134.3 kB / 421.5 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.2426, allocations: 12 kB / 421.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/0.2426, allocations: 0 / 421.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.2426, allocations: 15.92 kB / 421.5 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.2455, allocations: 1.743 MB / 423.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2455, allocations: 0 / 423.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.2461, allocations: 211.6 kB / 423.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.2461, allocations: 4 kB / 423.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/0.2464, allocations: 179.9 kB / 423.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.2464, allocations: 4 kB / 423.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2464, allocations: 0 / 423.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.2511, allocations: 2.042 MB / 425.7 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.2527, allocations: 0.6446 MB / 426.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005806/0.2533, allocations: 123.9 kB / 426.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.2539, allocations: 47.97 kB / 426.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008712/0.2547, allocations: 333 kB / 426.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001605/0.2564, allocations: 1.089 MB / 427.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001157/0.2575, allocations: 0.5966 MB / 428.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2575, allocations: 0 / 428.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002584/0.2601, allocations: 387.3 kB / 428.9 MB, free: 8.965 MB / 366.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.0006132/0.2608, allocations: 367.8 kB / 429.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004692/0.2655, allocations: 2.044 MB / 431.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2655, allocations: 0 / 431.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.2678, allocations: 1.092 MB / 432.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005019/0.2728, allocations: 1.068 MB / 433.4 MB, free: 4.367 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005867/0.2787, allocations: 2.895 MB / 436.3 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.2801, allocations: 1.32 MB / 437.6 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.009354/0.2895, allocations: 3.37 MB / 441 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003478/0.293, allocations: 0.9308 MB / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 4.077e-06/0.293, allocations: 0 / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.3666/0.6596, allocations: 40.53 MB / 482.5 MB, free: 53.14 MB / 382.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)