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.001382/0.001382, allocations: 110.6 kB / 17.73 MB, free: 5.344 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.001235/0.001236, allocations: 190.9 kB / 18.66 MB, free: 4.418 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.811/1.811, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001431/0.001431, allocations: 47.92 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1514, allocations: 46.62 MB / 375.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004838/0.1564, allocations: 2.601 MB / 377.7 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.1601, allocations: 1.287 MB / 379 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1604, allocations: 4 kB / 379 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.1608, allocations: 71.31 kB / 379.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1611, allocations: 67.33 kB / 379.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.1622, allocations: 235.7 kB / 379.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3717/0.5339, allocations: 2.069 MB / 381.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/0.5356, allocations: 0.9459 MB / 382.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003359/0.539, allocations: 2.112 MB / 384.5 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00259/0.5416, allocations: 1.056 MB / 385.6 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.5429, allocations: 216.5 kB / 385.8 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008544/0.5437, allocations: 218.2 kB / 386 MB, free: 9.109 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009727/0.5447, allocations: 0.6323 MB / 386.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.5467, allocations: 0.8971 MB / 387.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008622/0.5553, allocations: 4.396 MB / 391.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.5554, allocations: 1.375 kB / 391.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.5554, allocations: 0 / 391.9 MB, free: 7.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002052/0.5556, allocations: 0 / 391.9 MB, free: 7.023 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.0108/0.5664, allocations: 2.31 MB / 394.2 MB, free: 5.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.433e-05/0.5665, allocations: 8.719 kB / 394.3 MB, free: 5.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.5676, allocations: 169.5 kB / 394.4 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002602/0.5702, allocations: 1.062 MB / 395.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.5704, allocations: 99.22 kB / 395.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004943/0.5709, allocations: 125.3 kB / 395.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006728/0.5777, allocations: 2.282 MB / 398 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.5777, allocations: 7.938 kB / 398 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002957/0.578, allocations: 51.12 kB / 398 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-05/0.5781, allocations: 30.53 kB / 398.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005325/0.5834, allocations: 1.99 MB / 400.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/0.5946, allocations: 4.806 MB / 404.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.5989, allocations: 1.845 MB / 406.7 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.6007, allocations: 0.7659 MB / 407.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.6009, allocations: 17.12 kB / 407.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002795/0.6037, allocations: 1.35 MB / 408.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 5.28e-06/0.6038, allocations: 4 kB / 408.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.006005/0.6098, allocations: 2.673 MB / 411.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.762e-05/0.6099, allocations: 90.42 kB / 411.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.6122, allocations: 0.9407 MB / 412.6 MB, free: 9.441 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003602/0.6126, allocations: 97.66 kB / 412.6 MB, free: 9.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006723/0.6133, allocations: 473.1 kB / 413.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006345/0.6139, allocations: 303 kB / 413.4 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/0.6157, allocations: 0.6711 MB / 414.1 MB, free: 7.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002577/0.616, allocations: 410.6 kB / 414.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.6179, allocations: 0.8627 MB / 415.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.62, allocations: 1.035 MB / 416.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.6238, allocations: 1.952 MB / 418.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.6238, allocations: 3.938 kB / 418.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005142/0.6289, allocations: 2.396 MB / 420.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.467e-05/0.629, allocations: 35.48 kB / 420.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.6291, allocations: 4 kB / 420.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.366e-05/0.6291, allocations: 11.94 kB / 420.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006269/0.6297, allocations: 231.5 kB / 421 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-05/0.6298, allocations: 15.98 kB / 421 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6309, allocations: 83.55 kB / 421.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001403/0.6323, allocations: 1.096 MB / 422.2 MB, free: 15.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,Clock.t_i,$PRE.Clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002405/0.6348, allocations: 0.898 MB / 423.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008313/0.6356, allocations: 106.8 kB / 423.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005138/0.6361, allocations: 130.3 kB / 423.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.6361, allocations: 12 kB / 423.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.6362, allocations: 0 / 423.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.6362, allocations: 11.97 kB / 423.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003942/0.6401, allocations: 1.756 MB / 425.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.186e-05/0.6402, allocations: 0 / 425.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006253/0.6408, allocations: 207.7 kB / 425.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.331e-05/0.6409, allocations: 4.875 kB / 425.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003759/0.6412, allocations: 175.9 kB / 425.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/0.6413, allocations: 8 kB / 425.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.6413, allocations: 3.938 kB / 425.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004672/0.646, allocations: 2.03 MB / 427.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.6475, allocations: 0.644 MB / 428.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006492/0.6482, allocations: 123.9 kB / 428.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000734/0.6489, allocations: 51.92 kB / 428.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008187/0.6498, allocations: 333 kB / 428.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001483/0.6513, allocations: 1.085 MB / 429.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.6525, allocations: 0.5965 MB / 430.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.52e-07/0.6526, allocations: 0 / 430.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002413/0.655, allocations: 383.1 kB / 430.7 MB, free: 7.059 MB / 350.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.000955/0.6559, allocations: 359.8 kB / 431.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004607/0.6606, allocations: 2.049 MB / 433.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6606, allocations: 0 / 433.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.6629, allocations: 1.088 MB / 434.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/0.6682, allocations: 1.079 MB / 435.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007363/0.6756, allocations: 2.851 MB / 438.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.6774, allocations: 1.32 MB / 439.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.01773/0.6952, allocations: 3.37 MB / 442.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01172/0.707, allocations: 0.9308 MB / 443.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.358e-06/0.7071, allocations: 0 / 443.8 MB, free: 9.91 MB / 366.1 MB Notification: Performance of Templates: time 0.07938/0.7864, allocations: 40.54 MB / 484.3 MB, free: 372 kB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches