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.008266/0.008271, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001725/0.001725, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.782/1.782, allocations: 205.1 MB / 222.5 MB, free: 4.496 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.001597/0.001597, allocations: 54.95 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1422, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00464/0.1469, allocations: 2.578 MB / 375.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.1506, allocations: 1.291 MB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.1508, allocations: 7.938 kB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1511, allocations: 67.38 kB / 377.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1514, allocations: 71.3 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008229/0.1522, allocations: 231.7 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002397/0.1546, allocations: 2.077 MB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.156, allocations: 0.9515 MB / 380.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.1596, allocations: 2.117 MB / 382.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.1616, allocations: 1.059 MB / 383.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005455/0.1621, allocations: 220 kB / 383.8 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004841/0.1626, allocations: 216 kB / 384 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008034/0.1635, allocations: 0.6231 MB / 384.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001303/0.1648, allocations: 0.8902 MB / 385.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005238/0.17, allocations: 4.409 MB / 390 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.1701, allocations: 0 / 390 MB, free: 468 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1701, allocations: 0 / 390 MB, free: 468 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001104/0.1702, allocations: 0 / 390 MB, free: 468 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.005067/0.1753, allocations: 2.305 MB / 392.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1753, allocations: 8.031 kB / 392.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004703/0.1758, allocations: 171 kB / 392.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002746/0.1786, allocations: 1.054 MB / 393.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.1787, allocations: 106.8 kB / 393.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.1791, allocations: 124.4 kB / 393.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004447/0.1835, allocations: 2.289 MB / 396 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.1836, allocations: 0 / 396 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002293/0.1838, allocations: 48 kB / 396.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.684e-05/0.1839, allocations: 32 kB / 396.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.1879, allocations: 1.981 MB / 398.1 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009656/0.1976, allocations: 4.814 MB / 402.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/0.2014, allocations: 1.859 MB / 404.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.203, allocations: 0.7542 MB / 405.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002567/0.2033, allocations: 17.3 kB / 405.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/0.2058, allocations: 1.352 MB / 406.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 5.46e-06/0.2058, allocations: 4 kB / 406.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005622/0.2115, allocations: 2.669 MB / 409.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.2116, allocations: 90.42 kB / 409.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.2134, allocations: 0.9446 MB / 410.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.2137, allocations: 101.7 kB / 410.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.2141, allocations: 465.2 kB / 411.1 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004844/0.2146, allocations: 304.2 kB / 411.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001314/0.216, allocations: 0.6672 MB / 412.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.2163, allocations: 406.7 kB / 412.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.2183, allocations: 0.8704 MB / 413.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.2204, allocations: 1.039 MB / 414.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00388/0.2243, allocations: 1.958 MB / 416.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.2244, allocations: 4 kB / 416.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004969/0.2293, allocations: 2.385 MB / 418.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.2294, allocations: 34.8 kB / 418.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2294, allocations: 4 kB / 418.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.2295, allocations: 8 kB / 418.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.23, allocations: 227.6 kB / 419 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.2301, allocations: 15.97 kB / 419 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.2309, allocations: 87.5 kB / 419.1 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001309/0.2322, allocations: 1.093 MB / 420.2 MB, free: 1.781 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.00191/0.2341, allocations: 0.9079 MB / 421.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/0.2345, allocations: 102.8 kB / 421.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000252/0.2348, allocations: 130.3 kB / 421.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.2348, allocations: 12 kB / 421.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.2348, allocations: 3.984 kB / 421.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.2348, allocations: 7.922 kB / 421.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.2376, allocations: 1.751 MB / 423.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.2377, allocations: 0 / 423.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.2382, allocations: 203.7 kB / 423.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.2382, allocations: 7.938 kB / 423.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003057/0.2385, allocations: 179.9 kB / 423.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/0.2385, allocations: 8.625 kB / 423.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.2385, allocations: 11.86 kB / 423.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.2426, allocations: 2.03 MB / 425.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/0.2442, allocations: 0.6479 MB / 426.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/0.2446, allocations: 119.9 kB / 426.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.2451, allocations: 47.97 kB / 426.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007443/0.2458, allocations: 329 kB / 426.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001384/0.2472, allocations: 1.089 MB / 427.8 MB, free: 10.08 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001124/0.2483, allocations: 0.5927 MB / 428.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2484, allocations: 0 / 428.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002271/0.2506, allocations: 379.1 kB / 428.7 MB, free: 9.121 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.0007658/0.2514, allocations: 368.2 kB / 429.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004889/0.2563, allocations: 2.056 MB / 431.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.2563, allocations: 0 / 431.1 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.2585, allocations: 1.092 MB / 432.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/0.2632, allocations: 1.067 MB / 433.3 MB, free: 4.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006368/0.2696, allocations: 2.854 MB / 436.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.271, allocations: 1.32 MB / 437.5 MB, free: 284 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.009599/0.2806, allocations: 3.371 MB / 440.9 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003751/0.2845, allocations: 0.9308 MB / 441.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of SimCode: time 3.747e-06/0.2845, allocations: 0 / 441.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of Templates: time 0.3677/0.6522, allocations: 40.97 MB / 482.8 MB, free: 52.93 MB / 382.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)