Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001473/0.001473, allocations: 108.6 kB / 16.51 MB, free: 6.691 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.001709/0.001709, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.867/1.867, allocations: 205.1 MB / 223.3 MB, free: 12.51 MB / 190.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.002145/0.002145, allocations: 52.2 kB / 279.3 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.138, allocations: 46.64 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004629/0.1427, allocations: 2.634 MB / 328.6 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1455, allocations: 1.268 MB / 329.9 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.1457, allocations: 4 kB / 329.9 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.146, allocations: 55.58 kB / 329.9 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.1462, allocations: 47.56 kB / 330 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.1469, allocations: 215.8 kB / 330.2 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1486, allocations: 1.842 MB / 332 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.1498, allocations: 0.9243 MB / 332.9 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.152, allocations: 1.894 MB / 334.8 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.153, allocations: 0.9298 MB / 335.8 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003184/0.1534, allocations: 72 kB / 335.8 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003353/0.1537, allocations: 72 kB / 335.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.1543, allocations: 470 kB / 336.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.1556, allocations: 0.7377 MB / 337.1 MB, free: 9.688 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00423/0.1599, allocations: 4.246 MB / 341.4 MB, free: 5.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.1599, allocations: 4 kB / 341.4 MB, free: 5.426 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1599, allocations: 0 / 341.4 MB, free: 5.426 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.138e-05/0.16, allocations: 0 / 341.4 MB, free: 5.426 MB / 286.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.005252/0.1653, allocations: 2.301 MB / 343.7 MB, free: 3.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.1653, allocations: 12.03 kB / 343.7 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004497/0.1658, allocations: 163.1 kB / 343.8 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.1676, allocations: 1.066 MB / 344.9 MB, free: 1.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.1677, allocations: 102.9 kB / 345 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.168, allocations: 124.4 kB / 345.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.1726, allocations: 2.286 MB / 347.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.1727, allocations: 0 / 347.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002468/0.1729, allocations: 52 kB / 347.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.173, allocations: 28 kB / 347.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003988/0.1769, allocations: 1.989 MB / 349.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008634/0.1856, allocations: 4.79 MB / 354.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.1893, allocations: 1.859 MB / 356.1 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.1908, allocations: 0.762 MB / 356.9 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.191, allocations: 17.31 kB / 356.9 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002446/0.1935, allocations: 1.352 MB / 358.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.077e-06/0.1935, allocations: 0 / 358.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00583/0.1993, allocations: 2.665 MB / 360.9 MB, free: 1.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.1994, allocations: 94.42 kB / 361 MB, free: 1.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.2017, allocations: 0.9369 MB / 361.9 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003454/0.202, allocations: 97.66 kB / 362 MB, free: 476 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008098/0.2029, allocations: 469.2 kB / 362.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005844/0.2035, allocations: 316.3 kB / 362.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/0.2052, allocations: 0.6672 MB / 363.5 MB, free: 15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003306/0.2055, allocations: 414.7 kB / 363.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.2077, allocations: 0.8588 MB / 364.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.2098, allocations: 1.043 MB / 365.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/0.2137, allocations: 1.95 MB / 367.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.2137, allocations: 0 / 367.7 MB, free: 10.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005232/0.2189, allocations: 2.404 MB / 370.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.219, allocations: 33.7 kB / 370.2 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.2191, allocations: 4 kB / 370.2 MB, free: 8.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/0.2191, allocations: 8 kB / 370.2 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.2197, allocations: 235.5 kB / 370.4 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-05/0.2198, allocations: 11.98 kB / 370.4 MB, free: 7.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.2214, allocations: 191.2 kB / 370.6 MB, free: 7.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/0.2227, allocations: 1.089 MB / 371.7 MB, free: 6.652 MB / 318.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.002133/0.2248, allocations: 0.8963 MB / 372.6 MB, free: 5.727 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.2255, allocations: 110.8 kB / 372.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.2258, allocations: 126.3 kB / 372.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.2259, allocations: 12 kB / 372.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.2259, allocations: 4 kB / 372.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.831e-05/0.2259, allocations: 11.91 kB / 372.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.2297, allocations: 1.759 MB / 374.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.2297, allocations: 3.938 kB / 374.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.2303, allocations: 203.7 kB / 374.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.642e-05/0.2303, allocations: 8 kB / 374.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003852/0.2307, allocations: 179.9 kB / 375 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.2307, allocations: 4 kB / 375 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2307, allocations: 0 / 375 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.2359, allocations: 2.034 MB / 377 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.2375, allocations: 0.6479 MB / 377.7 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006398/0.2382, allocations: 119.9 kB / 377.8 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.2395, allocations: 135.5 kB / 377.9 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3272/0.5667, allocations: 330.5 kB / 378.3 MB, free: 52.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003232/0.57, allocations: 1.089 MB / 379.3 MB, free: 52.56 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001522/0.5715, allocations: 0.5913 MB / 379.9 MB, free: 52.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5715, allocations: 0 / 379.9 MB, free: 52.47 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00432/0.5759, allocations: 380.4 kB / 380.3 MB, free: 52.47 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.0009708/0.5769, allocations: 361.4 kB / 380.7 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006778/0.5837, allocations: 2.034 MB / 382.7 MB, free: 51.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.5837, allocations: 0 / 382.7 MB, free: 51.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003632/0.5874, allocations: 1.102 MB / 383.8 MB, free: 51.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006117/0.5935, allocations: 0.9664 MB / 384.8 MB, free: 51.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008196/0.6018, allocations: 3.314 MB / 388.1 MB, free: 49.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/0.6036, allocations: 1.316 MB / 389.4 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0112/0.6148, allocations: 3.382 MB / 392.8 MB, free: 47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003727/0.6186, allocations: 0.9271 MB / 393.7 MB, free: 46.42 MB / 318.1 MB Notification: Performance of SimCode: time 1.964e-06/0.6186, allocations: 3.938 kB / 393.7 MB, free: 46.42 MB / 318.1 MB Notification: Performance of Templates: time 0.0603/0.6789, allocations: 39.43 MB / 433.1 MB, free: 8.094 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)