Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 240.9 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 106.3 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 39.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3662, allocations: 49.44 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003537/0.3698, allocations: 2.638 MB / 402.1 MB, free: 30.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3727, allocations: 1.212 MB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002845/0.3731, allocations: 7.938 kB / 403.3 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3734, allocations: 43.64 kB / 403.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.3736, allocations: 55.5 kB / 403.4 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.3744, allocations: 215.8 kB / 403.6 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.3758, allocations: 1.862 MB / 405.5 MB, free: 27.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009036/0.3767, allocations: 0.9204 MB / 406.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.3786, allocations: 1.886 MB / 408.3 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3799, allocations: 0.9336 MB / 409.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.3803, allocations: 72 kB / 409.3 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003363/0.3806, allocations: 76 kB / 409.4 MB, free: 23.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.3812, allocations: 478 kB / 409.8 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.3822, allocations: 0.7416 MB / 410.6 MB, free: 22.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.385, allocations: 4.243 MB / 414.8 MB, free: 17.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.385, allocations: 0 / 414.8 MB, free: 17.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.385, allocations: 0 / 414.8 MB, free: 17.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.012e-05/0.3851, allocations: 0 / 414.8 MB, free: 17.94 MB / 298.7 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.005773/0.3909, allocations: 2.309 MB / 417.1 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.3909, allocations: 16.02 kB / 417.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/0.3915, allocations: 171 kB / 417.3 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002211/0.3937, allocations: 1.062 MB / 418.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.3938, allocations: 94.91 kB / 418.5 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.3941, allocations: 128.3 kB / 418.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004193/0.3983, allocations: 2.282 MB / 420.9 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.3984, allocations: 4 kB / 420.9 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002123/0.3986, allocations: 51.98 kB / 420.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.3986, allocations: 36 kB / 421 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.4023, allocations: 1.977 MB / 423 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009689/0.4121, allocations: 4.786 MB / 427.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.4159, allocations: 1.856 MB / 429.6 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001604/0.4175, allocations: 0.762 MB / 430.4 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.4178, allocations: 17.3 kB / 430.4 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002243/0.4201, allocations: 1.352 MB / 431.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 8.285e-06/0.4201, allocations: 4 kB / 431.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.005798/0.4259, allocations: 2.669 MB / 434.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.4261, allocations: 90.42 kB / 434.5 MB, free: 14.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.4284, allocations: 0.933 MB / 435.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005697/0.429, allocations: 105.6 kB / 435.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007306/0.4297, allocations: 469.1 kB / 436 MB, free: 12.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.4304, allocations: 304.3 kB / 436.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001364/0.4318, allocations: 0.6672 MB / 436.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002721/0.4321, allocations: 406.7 kB / 437.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.434, allocations: 0.8665 MB / 438.2 MB, free: 10.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/0.4361, allocations: 1.051 MB / 439.3 MB, free: 9.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003441/0.4395, allocations: 1.946 MB / 441.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.4396, allocations: 8 kB / 441.2 MB, free: 7.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005431/0.445, allocations: 2.393 MB / 443.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/0.4452, allocations: 33.7 kB / 443.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.4452, allocations: 7.984 kB / 443.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.59e-05/0.4453, allocations: 8 kB / 443.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005815/0.4458, allocations: 223.6 kB / 443.9 MB, free: 4.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.838e-05/0.4459, allocations: 19.92 kB / 443.9 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.4473, allocations: 187.2 kB / 444.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/0.4485, allocations: 1.089 MB / 445.2 MB, free: 3.176 MB / 314.7 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.002691/0.4512, allocations: 0.9117 MB / 446.1 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/0.4518, allocations: 102.8 kB / 446.2 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.4522, allocations: 134.3 kB / 446.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.4522, allocations: 12 kB / 446.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/0.4522, allocations: 0 / 446.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.4522, allocations: 11.91 kB / 446.3 MB, free: 1.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.4555, allocations: 1.751 MB / 448.1 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4555, allocations: 4 kB / 448.1 MB, free: 172 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.456, allocations: 203.7 kB / 448.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.4561, allocations: 7.938 kB / 448.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/0.4564, allocations: 179.9 kB / 448.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/0.4564, allocations: 4 kB / 448.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.4564, allocations: 0 / 448.5 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006613/0.463, allocations: 3.818 MB / 452.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/0.4649, allocations: 0.6479 MB / 452.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/0.4654, allocations: 119.9 kB / 453.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009815/0.4664, allocations: 139.5 kB / 453.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007732/0.4672, allocations: 329 kB / 453.5 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/0.4683, allocations: 1.085 MB / 454.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001049/0.4694, allocations: 0.5966 MB / 455.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4694, allocations: 0 / 455.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002041/0.4714, allocations: 383.2 kB / 455.6 MB, free: 8.598 MB / 330.7 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.0005851/0.472, allocations: 359.7 kB / 455.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004203/0.4762, allocations: 2.034 MB / 458 MB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4763, allocations: 0 / 458 MB, free: 6.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.4786, allocations: 1.1 MB / 459.1 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/0.483, allocations: 0.9825 MB / 460 MB, free: 4.121 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007433/0.4905, allocations: 4.205 MB / 464.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.4918, allocations: 1.35 MB / 465.6 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.009806/0.5016, allocations: 3.386 MB / 469 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005079/0.5068, allocations: 0.923 MB / 469.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of SimCode: time 2.184e-06/0.5068, allocations: 0 / 469.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of Templates: time 0.06251/0.5693, allocations: 40.06 MB / 0.498 GB, free: 1.309 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches