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.002468/0.002468, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.003019/0.003019, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.957/1.957, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001316/0.001317, allocations: 51.92 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 46.63 MB / 326.6 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003844/0.1087, allocations: 2.585 MB / 329.2 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00266/0.1114, allocations: 1.291 MB / 330.5 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.1116, allocations: 7.938 kB / 330.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1119, allocations: 67.38 kB / 330.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.1121, allocations: 63.33 kB / 330.6 MB, free: 424 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.1128, allocations: 239.7 kB / 330.9 MB, free: 184 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.1149, allocations: 2.057 MB / 332.9 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.116, allocations: 0.9516 MB / 333.9 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002291/0.1183, allocations: 2.109 MB / 336 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.1201, allocations: 1.051 MB / 337 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005819/0.1207, allocations: 216 kB / 337.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1212, allocations: 220 kB / 337.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007128/0.1219, allocations: 0.6153 MB / 338.1 MB, free: 8.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.1232, allocations: 0.8979 MB / 339 MB, free: 8.039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.1268, allocations: 4.343 MB / 343.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1268, allocations: 0 / 343.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1269, allocations: 0 / 343.3 MB, free: 3.684 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.249e-05/0.1269, allocations: 0 / 343.3 MB, free: 3.684 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.003865/0.1308, allocations: 2.309 MB / 345.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.1308, allocations: 8.031 kB / 345.6 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.1313, allocations: 171.1 kB / 345.8 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.133, allocations: 1.062 MB / 346.9 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.1331, allocations: 102.9 kB / 347 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.1334, allocations: 120.4 kB / 347.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/0.1374, allocations: 2.286 MB / 349.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.1375, allocations: 0 / 349.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002441/0.1377, allocations: 52 kB / 349.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.1377, allocations: 32 kB / 349.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003622/0.1414, allocations: 1.985 MB / 351.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008394/0.1498, allocations: 4.88 MB / 356.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003746/0.1536, allocations: 1.859 MB / 358.2 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.1551, allocations: 0.762 MB / 358.9 MB, free: 3.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.1553, allocations: 13.31 kB / 358.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002117/0.1574, allocations: 1.348 MB / 360.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.088e-06/0.1574, allocations: 0 / 360.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005318/0.1627, allocations: 2.677 MB / 363 MB, free: 15.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.1628, allocations: 90.42 kB / 363.1 MB, free: 15.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.1642, allocations: 0.9369 MB / 364 MB, free: 14.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002633/0.1645, allocations: 101.6 kB / 364.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.1649, allocations: 461.2 kB / 364.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.1653, allocations: 316.2 kB / 364.9 MB, free: 13.85 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.1663, allocations: 0.6672 MB / 365.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/0.1666, allocations: 406.7 kB / 365.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.1682, allocations: 0.8665 MB / 366.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.1698, allocations: 1.039 MB / 367.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.173, allocations: 1.954 MB / 369.8 MB, free: 8.816 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.173, allocations: 0 / 369.8 MB, free: 8.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004446/0.1775, allocations: 2.404 MB / 372.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.1776, allocations: 33.7 kB / 372.2 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1776, allocations: 7.938 kB / 372.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.1776, allocations: 11.98 kB / 372.2 MB, free: 6.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000531/0.1781, allocations: 223.6 kB / 372.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.742e-05/0.1782, allocations: 19.92 kB / 372.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008092/0.179, allocations: 83.62 kB / 372.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/0.1802, allocations: 1.096 MB / 373.7 MB, free: 4.922 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.00208/0.1823, allocations: 0.8846 MB / 374.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005092/0.1828, allocations: 106.8 kB / 374.6 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.1831, allocations: 134.3 kB / 374.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.1831, allocations: 12 kB / 374.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/0.1832, allocations: 0 / 374.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.652e-05/0.1832, allocations: 11.91 kB / 374.8 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.186, allocations: 1.759 MB / 376.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.186, allocations: 0 / 376.6 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004872/0.1865, allocations: 203.7 kB / 376.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.1865, allocations: 11.94 kB / 376.8 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.1868, allocations: 175.9 kB / 376.9 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.1868, allocations: 4 kB / 376.9 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1868, allocations: 7.938 kB / 376.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1782/0.365, allocations: 2.028 MB / 379 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/0.3671, allocations: 0.6422 MB / 379.6 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005748/0.3677, allocations: 116.8 kB / 379.7 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.3682, allocations: 55.47 kB / 379.8 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007922/0.369, allocations: 330.9 kB / 380.1 MB, free: 51.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001168/0.3702, allocations: 1.09 MB / 381.2 MB, free: 51.27 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.371, allocations: 0.5926 MB / 381.8 MB, free: 51.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.371, allocations: 0 / 381.8 MB, free: 51.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001564/0.3726, allocations: 385.1 kB / 382.2 MB, free: 51.14 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.0004971/0.3731, allocations: 367.8 kB / 382.5 MB, free: 51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006275/0.3794, allocations: 3.279 MB / 385.8 MB, free: 50.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3794, allocations: 0 / 385.8 MB, free: 50.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.3812, allocations: 1.097 MB / 386.9 MB, free: 50.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003697/0.3849, allocations: 1.071 MB / 388 MB, free: 49.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004246/0.3891, allocations: 2.893 MB / 390.9 MB, free: 48.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.3899, allocations: 1.314 MB / 392.2 MB, free: 47.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.005423/0.3953, allocations: 3.374 MB / 395.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/0.3978, allocations: 0.9299 MB / 396.5 MB, free: 45.17 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3978, allocations: 0 / 396.5 MB, free: 45.17 MB / 318.1 MB Notification: Performance of Templates: time 0.04496/0.4428, allocations: 40.58 MB / 437.1 MB, free: 3.852 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)