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.01151/0.01151, allocations: 102 kB / 15.73 MB, free: 5.988 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.002945/0.002945, allocations: 195.2 kB / 16.67 MB, free: 5.926 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.921/1.921, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.001424/0.001424, allocations: 56.06 kB / 326.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1136, allocations: 46.61 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004453/0.1181, allocations: 2.597 MB / 375.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.1214, allocations: 1.283 MB / 377 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.1217, allocations: 8 kB / 377.1 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1221, allocations: 71.31 kB / 377.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.1224, allocations: 71.31 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.1234, allocations: 235.7 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.126, allocations: 2.069 MB / 379.5 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.1274, allocations: 0.9476 MB / 380.4 MB, free: 10 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.1299, allocations: 2.121 MB / 382.6 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.1316, allocations: 1.059 MB / 383.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007533/0.1324, allocations: 220 kB / 383.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.1332, allocations: 219.9 kB / 384 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.1343, allocations: 0.6192 MB / 384.7 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002014/0.1363, allocations: 0.8901 MB / 385.6 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.1405, allocations: 4.409 MB / 390 MB, free: 460 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1405, allocations: 4 kB / 390 MB, free: 456 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1405, allocations: 0 / 390 MB, free: 456 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.089e-05/0.1406, allocations: 0 / 390 MB, free: 456 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.005124/0.1457, allocations: 2.298 MB / 392.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1458, allocations: 11.97 kB / 392.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004488/0.1462, allocations: 171 kB / 392.4 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.1481, allocations: 1.054 MB / 393.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.1482, allocations: 102.9 kB / 393.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/0.1486, allocations: 124.4 kB / 393.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.1532, allocations: 2.285 MB / 396 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.1532, allocations: 4 kB / 396 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.1535, allocations: 48 kB / 396.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.1535, allocations: 32 kB / 396.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.1576, allocations: 1.989 MB / 398.1 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0091/0.1668, allocations: 4.814 MB / 402.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.1708, allocations: 1.855 MB / 404.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.1723, allocations: 0.7581 MB / 405.5 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/0.1725, allocations: 13.31 kB / 405.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/0.1748, allocations: 1.356 MB / 406.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 4.078e-06/0.1749, allocations: 0 / 406.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005454/0.1803, allocations: 2.669 MB / 409.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.409e-05/0.1804, allocations: 94.36 kB / 409.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.182, allocations: 0.9407 MB / 410.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002603/0.1823, allocations: 97.66 kB / 410.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.1827, allocations: 465.1 kB / 411.1 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.1832, allocations: 308.3 kB / 411.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001164/0.1844, allocations: 0.6711 MB / 412.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002472/0.1846, allocations: 410.7 kB / 412.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.1863, allocations: 0.8627 MB / 413.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.1883, allocations: 1.043 MB / 414.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/0.1921, allocations: 1.954 MB / 416.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.1921, allocations: 4 kB / 416.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004931/0.197, allocations: 2.381 MB / 418.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.1972, allocations: 37.7 kB / 418.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.1972, allocations: 4 kB / 418.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.348e-05/0.1972, allocations: 11.94 kB / 418.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.1978, allocations: 227.6 kB / 419 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-05/0.1978, allocations: 12 kB / 419 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/0.1986, allocations: 83.5 kB / 419.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/0.1998, allocations: 1.089 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.00213/0.202, allocations: 0.9156 MB / 421.1 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.2024, allocations: 102.8 kB / 421.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.2028, allocations: 134.3 kB / 421.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.2028, allocations: 12 kB / 421.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.2028, allocations: 0 / 421.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.2028, allocations: 11.92 kB / 421.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.2061, allocations: 1.759 MB / 423.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.2061, allocations: 0 / 423.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005064/0.2066, allocations: 207.7 kB / 423.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.2067, allocations: 4 kB / 423.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/0.207, allocations: 175.9 kB / 423.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.207, allocations: 7.938 kB / 423.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.207, allocations: 4.625 kB / 423.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/0.2114, allocations: 2.038 MB / 425.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.213, allocations: 0.6479 MB / 426.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005838/0.2136, allocations: 119.9 kB / 426.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.2142, allocations: 43.98 kB / 426.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/0.215, allocations: 333 kB / 426.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001223/0.2163, allocations: 1.092 MB / 427.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.2174, allocations: 0.5927 MB / 428.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2174, allocations: 0 / 428.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002365/0.2198, allocations: 379.1 kB / 428.7 MB, free: 9.102 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.0008544/0.2206, allocations: 359.8 kB / 429.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.2252, allocations: 2.05 MB / 431.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2253, allocations: 0 / 431.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002629/0.2279, allocations: 1.092 MB / 432.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004634/0.2326, allocations: 1.066 MB / 433.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006955/0.2396, allocations: 2.854 MB / 436.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001632/0.2413, allocations: 1.324 MB / 437.5 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.009619/0.2509, allocations: 3.374 MB / 440.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005013/0.256, allocations: 0.9345 MB / 441.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.744e-06/0.256, allocations: 0 / 441.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.3789/0.6349, allocations: 40.52 MB / 482.3 MB, free: 53.39 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)