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.001294/0.001294, allocations: 101.8 kB / 16.62 MB, free: 6.809 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.001166/0.001165, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.71/1.71, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001329/0.001328, allocations: 43.94 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1377, allocations: 46.63 MB / 326.1 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00569/0.1434, allocations: 2.639 MB / 328.8 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.1465, allocations: 1.264 MB / 330 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.1469, allocations: 4 kB / 330 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1472, allocations: 55.56 kB / 330.1 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003086/0.1476, allocations: 47.56 kB / 330.1 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.1485, allocations: 219.8 kB / 330.4 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.1509, allocations: 2.057 MB / 332.4 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.1523, allocations: 0.9477 MB / 333.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002678/0.155, allocations: 2.156 MB / 335.5 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.1569, allocations: 1.082 MB / 336.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008477/0.1578, allocations: 220 kB / 336.8 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007783/0.1586, allocations: 216 kB / 337 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008854/0.1594, allocations: 0.6269 MB / 337.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.1612, allocations: 0.9018 MB / 338.6 MB, free: 8.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003636/0.1649, allocations: 4.347 MB / 342.9 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1649, allocations: 0 / 342.9 MB, free: 3.957 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1649, allocations: 0 / 342.9 MB, free: 3.957 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.17e-05/0.1649, allocations: 0 / 342.9 MB, free: 3.957 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.004436/0.1694, allocations: 2.313 MB / 345.2 MB, free: 1.578 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1694, allocations: 8.031 kB / 345.2 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.1699, allocations: 167.1 kB / 345.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.1715, allocations: 1.065 MB / 346.4 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/0.1716, allocations: 94.91 kB / 346.5 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003048/0.1719, allocations: 124.4 kB / 346.7 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.1762, allocations: 2.286 MB / 348.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.1762, allocations: 4 kB / 349 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/0.1765, allocations: 52 kB / 349 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.1765, allocations: 32 kB / 349 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.1801, allocations: 1.989 MB / 351 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008206/0.1883, allocations: 4.79 MB / 355.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.1922, allocations: 1.863 MB / 357.7 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.1936, allocations: 0.7542 MB / 358.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.1939, allocations: 13.31 kB / 358.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/0.196, allocations: 1.352 MB / 359.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.246e-06/0.196, allocations: 0 / 359.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005262/0.2013, allocations: 2.673 MB / 362.5 MB, free: 144 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.2014, allocations: 94.41 kB / 362.6 MB, free: 32 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.2033, allocations: 0.9369 MB / 363.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002673/0.2036, allocations: 101.7 kB / 363.6 MB, free: 14.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004237/0.204, allocations: 461.2 kB / 364 MB, free: 14.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.2044, allocations: 312.3 kB / 364.4 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.2056, allocations: 0.6633 MB / 365 MB, free: 13.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.2058, allocations: 414.6 kB / 365.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.2074, allocations: 0.8666 MB / 366.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.209, allocations: 1.035 MB / 367.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.2122, allocations: 1.962 MB / 369.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.2122, allocations: 0 / 369.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004538/0.2168, allocations: 2.405 MB / 371.7 MB, free: 6.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.2169, allocations: 33.7 kB / 371.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.2169, allocations: 4 kB / 371.7 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.2169, allocations: 8 kB / 371.7 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.2175, allocations: 223.6 kB / 372 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.2175, allocations: 19.97 kB / 372 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.2188, allocations: 191.2 kB / 372.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/0.2198, allocations: 1.093 MB / 373.2 MB, free: 5.176 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.001734/0.2216, allocations: 0.8963 MB / 374.1 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003481/0.2219, allocations: 102.8 kB / 374.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.2222, allocations: 134.3 kB / 374.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.2222, allocations: 12 kB / 374.4 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.2222, allocations: 0 / 374.4 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.2222, allocations: 7.922 kB / 374.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.2251, allocations: 1.759 MB / 376.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.2251, allocations: 11.92 kB / 376.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.2255, allocations: 203.7 kB / 376.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.578e-06/0.2256, allocations: 11.94 kB / 376.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002707/0.2258, allocations: 175.9 kB / 376.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/0.2258, allocations: 4 kB / 376.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2259, allocations: 0 / 376.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2099/0.4357, allocations: 2.03 MB / 378.6 MB, free: 51.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001878/0.4377, allocations: 0.6436 MB / 379.2 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/0.4382, allocations: 122.7 kB / 379.3 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.439, allocations: 140.8 kB / 379.5 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000788/0.4398, allocations: 332.5 kB / 379.8 MB, free: 51.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001261/0.441, allocations: 1.086 MB / 380.9 MB, free: 51.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008236/0.4419, allocations: 0.5927 MB / 381.5 MB, free: 50.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4419, allocations: 0.6562 kB / 381.5 MB, free: 50.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001598/0.4435, allocations: 379.8 kB / 381.9 MB, free: 50.93 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.0006478/0.4441, allocations: 371.1 kB / 382.2 MB, free: 50.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.007242/0.4514, allocations: 3.276 MB / 385.5 MB, free: 50.58 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4514, allocations: 1.062 kB / 385.5 MB, free: 50.58 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.4535, allocations: 1.101 MB / 386.6 MB, free: 50.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004397/0.4579, allocations: 1.068 MB / 387.7 MB, free: 50.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005867/0.4638, allocations: 3.321 MB / 391 MB, free: 48.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.4648, allocations: 1.312 MB / 392.3 MB, free: 47.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.006544/0.4713, allocations: 3.371 MB / 395.7 MB, free: 45.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/0.4739, allocations: 0.9331 MB / 396.6 MB, free: 44.98 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4739, allocations: 0 / 396.6 MB, free: 44.98 MB / 318.1 MB Notification: Performance of Templates: time 0.0434/0.5173, allocations: 40.31 MB / 436.9 MB, free: 3.914 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)