Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_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.001504/0.001504, allocations: 107.4 kB / 17.16 MB, free: 6.305 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.00159/0.00159, allocations: 198 kB / 18.07 MB, free: 5.41 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.746/1.746, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001234/0.001234, allocations: 44.39 kB / 280 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1275, allocations: 46.63 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005444/0.133, allocations: 2.635 MB / 329.2 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.1369, allocations: 1.268 MB / 330.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.1372, allocations: 7.938 kB / 330.5 MB, free: 0.9609 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1376, allocations: 47.64 kB / 330.6 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.1378, allocations: 55.5 kB / 330.6 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.1387, allocations: 211.8 kB / 330.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.1405, allocations: 1.846 MB / 332.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.1418, allocations: 0.9165 MB / 333.6 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002817/0.1447, allocations: 1.886 MB / 335.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.1468, allocations: 0.9376 MB / 336.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004742/0.1473, allocations: 72 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.1477, allocations: 72 kB / 336.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006736/0.1484, allocations: 470 kB / 337 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.15, allocations: 0.7378 MB / 337.7 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004913/0.1549, allocations: 4.238 MB / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.155, allocations: 0 / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.155, allocations: 4 kB / 342 MB, free: 5.438 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.613e-05/0.1551, allocations: 0 / 342 MB, free: 5.438 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.007654/0.1628, allocations: 2.313 MB / 344.3 MB, free: 3.059 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.908e-05/0.1629, allocations: 8.031 kB / 344.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008107/0.1637, allocations: 167.1 kB / 344.5 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.166, allocations: 1.069 MB / 345.5 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.1662, allocations: 98.89 kB / 345.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/0.1666, allocations: 124.4 kB / 345.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005573/0.1722, allocations: 2.286 MB / 348 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.1723, allocations: 3.938 kB / 348 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.1725, allocations: 52 kB / 348.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.1726, allocations: 28 kB / 348.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.1771, allocations: 1.989 MB / 350.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.1874, allocations: 4.79 MB / 354.9 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004401/0.1919, allocations: 1.863 MB / 356.8 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.1934, allocations: 0.762 MB / 357.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.1937, allocations: 13.31 kB / 357.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002469/0.1962, allocations: 1.352 MB / 358.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 1.057e-05/0.1962, allocations: 0 / 358.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00571/0.2019, allocations: 2.669 MB / 361.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2021, allocations: 90.42 kB / 361.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/0.2041, allocations: 0.9369 MB / 362.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004644/0.2046, allocations: 97.66 kB / 362.7 MB, free: 472 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.2052, allocations: 469.2 kB / 363.1 MB, free: 15.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005672/0.2057, allocations: 316.1 kB / 363.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/0.207, allocations: 0.6711 MB / 364.1 MB, free: 15 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000251/0.2073, allocations: 406.7 kB / 364.5 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001834/0.2091, allocations: 0.8588 MB / 365.4 MB, free: 13.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/0.211, allocations: 1.047 MB / 366.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/0.2146, allocations: 1.95 MB / 368.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.2146, allocations: 0 / 368.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004964/0.2196, allocations: 2.404 MB / 370.8 MB, free: 8.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/0.2197, allocations: 33.7 kB / 370.8 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.2197, allocations: 0 / 370.8 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.899e-05/0.2198, allocations: 12 kB / 370.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/0.2203, allocations: 227.6 kB / 371 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.2204, allocations: 15.92 kB / 371.1 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.2218, allocations: 187.3 kB / 371.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.223, allocations: 1.1 MB / 372.3 MB, free: 6.648 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.001975/0.225, allocations: 0.8963 MB / 373.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/0.2256, allocations: 106.8 kB / 373.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.2259, allocations: 130.3 kB / 373.5 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.226, allocations: 12 kB / 373.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/0.226, allocations: 4 kB / 373.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.226, allocations: 11.91 kB / 373.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.2295, allocations: 1.747 MB / 375.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.2295, allocations: 0 / 375.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005447/0.23, allocations: 211.6 kB / 375.4 MB, free: 3.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/0.2301, allocations: 4 kB / 375.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003219/0.2304, allocations: 175.9 kB / 375.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.2304, allocations: 8 kB / 375.6 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2304, allocations: 3.938 kB / 375.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.2347, allocations: 2.034 MB / 377.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001491/0.2363, allocations: 0.6402 MB / 378.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005222/0.2368, allocations: 127.9 kB / 378.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000924/0.2377, allocations: 139.5 kB / 378.6 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3027/0.5405, allocations: 328.7 kB / 378.9 MB, free: 52.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003601/0.5442, allocations: 1.086 MB / 380 MB, free: 52.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.5458, allocations: 0.591 MB / 380.6 MB, free: 52.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5459, allocations: 0.8438 kB / 380.6 MB, free: 52.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003562/0.5494, allocations: 378.1 kB / 380.9 MB, free: 52.25 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.001036/0.5505, allocations: 362.6 kB / 381.3 MB, free: 52.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00556/0.5561, allocations: 2.04 MB / 383.3 MB, free: 51.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.5561, allocations: 1.062 kB / 383.3 MB, free: 51.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003394/0.5595, allocations: 1.102 MB / 384.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006028/0.5656, allocations: 0.9598 MB / 385.4 MB, free: 51.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00927/0.5749, allocations: 3.322 MB / 388.7 MB, free: 49.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.5771, allocations: 1.319 MB / 390 MB, free: 48.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01254/0.5896, allocations: 3.384 MB / 393.4 MB, free: 46.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006828/0.5965, allocations: 0.9274 MB / 394.3 MB, free: 46.2 MB / 318.1 MB Notification: Performance of SimCode: time 2.324e-06/0.5965, allocations: 0 / 394.3 MB, free: 46.2 MB / 318.1 MB Notification: Performance of Templates: time 0.06168/0.6582, allocations: 39.42 MB / 433.8 MB, free: 7.82 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches