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.001288/0.001288, allocations: 101.4 kB / 18.39 MB, free: 4.664 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.001333/0.001333, allocations: 189.1 kB / 19.33 MB, free: 3.738 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.274/1.274, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001311/0.001311, allocations: 51.92 kB / 329.2 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08448/0.0858, allocations: 46.61 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003627/0.08947, allocations: 2.602 MB / 378.4 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.09208, allocations: 1.283 MB / 379.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.09235, allocations: 4 kB / 379.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.09264, allocations: 71.31 kB / 379.8 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.09289, allocations: 67.31 kB / 379.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007014/0.0936, allocations: 231.7 kB / 380.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1775/0.2711, allocations: 2.074 MB / 382.1 MB, free: 9.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.2727, allocations: 0.9434 MB / 383.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.2751, allocations: 2.117 MB / 385.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.2768, allocations: 1.057 MB / 386.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.2776, allocations: 217.3 kB / 386.5 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007245/0.2783, allocations: 216.8 kB / 386.7 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008352/0.2792, allocations: 0.6308 MB / 387.3 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001546/0.2807, allocations: 0.8893 MB / 388.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.2854, allocations: 4.402 MB / 392.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2854, allocations: 0 / 392.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2854, allocations: 1.469 kB / 392.6 MB, free: 7.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.13e-05/0.2855, allocations: 0 / 392.6 MB, free: 7.02 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.00434/0.2898, allocations: 2.315 MB / 394.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2899, allocations: 8.219 kB / 394.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004645/0.2904, allocations: 169.9 kB / 395.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.2917, allocations: 1.062 MB / 396.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.965e-05/0.2918, allocations: 96.28 kB / 396.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.2921, allocations: 122.7 kB / 396.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.296, allocations: 2.289 MB / 398.7 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.296, allocations: 7.938 kB / 398.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/0.2963, allocations: 53 kB / 398.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.616e-05/0.2963, allocations: 30.09 kB / 398.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.2998, allocations: 1.983 MB / 400.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007234/0.307, allocations: 4.808 MB / 405.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.3105, allocations: 1.853 MB / 407.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.3119, allocations: 0.7585 MB / 408.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002/0.3121, allocations: 13.88 kB / 408.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.3142, allocations: 1.36 MB / 409.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.416e-06/0.3142, allocations: 0 / 409.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005045/0.3192, allocations: 2.665 MB / 412.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.3193, allocations: 98.41 kB / 412.3 MB, free: 10.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.3209, allocations: 0.9368 MB / 413.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003108/0.3212, allocations: 101.7 kB / 413.3 MB, free: 9.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.3217, allocations: 464.8 kB / 413.8 MB, free: 8.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005067/0.3222, allocations: 313.4 kB / 414.1 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.3235, allocations: 0.6672 MB / 414.7 MB, free: 7.887 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.3237, allocations: 414.6 kB / 415.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001585/0.3253, allocations: 0.8627 MB / 416 MB, free: 6.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001711/0.3271, allocations: 1.037 MB / 417.1 MB, free: 5.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003251/0.3303, allocations: 1.946 MB / 419 MB, free: 3.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.3303, allocations: 4 kB / 419 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004354/0.3347, allocations: 2.403 MB / 421.4 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.3348, allocations: 33.7 kB / 421.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.3348, allocations: 4 kB / 421.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.3348, allocations: 11.94 kB / 421.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.3354, allocations: 227.5 kB / 421.7 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.77e-05/0.3354, allocations: 8 kB / 421.7 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.3362, allocations: 91.53 kB / 421.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.3372, allocations: 1.096 MB / 422.9 MB, free: 15.66 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.001732/0.339, allocations: 0.897 MB / 423.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005277/0.3395, allocations: 102.8 kB / 423.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.3399, allocations: 138.3 kB / 424 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3399, allocations: 12 kB / 424 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/0.3399, allocations: 0 / 424 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.3399, allocations: 7.969 kB / 424 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.3427, allocations: 1.753 MB / 425.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.3427, allocations: 4.938 kB / 425.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.3432, allocations: 207.7 kB / 426 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.3432, allocations: 4 kB / 426 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/0.3435, allocations: 179.8 kB / 426.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.3436, allocations: 8 kB / 426.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3436, allocations: 0 / 426.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004004/0.3476, allocations: 2.03 MB / 428.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001197/0.3488, allocations: 0.6479 MB / 428.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/0.3493, allocations: 120.7 kB / 429 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005835/0.3499, allocations: 43.98 kB / 429 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006161/0.3506, allocations: 321 kB / 429.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001047/0.3516, allocations: 1.085 MB / 430.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009081/0.3525, allocations: 0.5965 MB / 431 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.906e-06/0.3525, allocations: 0 / 431 MB, free: 7.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001709/0.3543, allocations: 387.1 kB / 431.4 MB, free: 7.055 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.0006322/0.3549, allocations: 359.8 kB / 431.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003795/0.3587, allocations: 2.049 MB / 433.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3587, allocations: 0 / 433.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.3606, allocations: 1.061 MB / 434.8 MB, free: 3.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004164/0.3648, allocations: 1.067 MB / 435.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/0.3701, allocations: 2.985 MB / 438.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/0.3712, allocations: 1.32 MB / 440.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008871/0.3801, allocations: 1.316 MB / 441.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3801, allocations: 0 / 441.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of Templates: time 0.04079/0.4209, allocations: 33.17 MB / 474.7 MB, free: 10.01 MB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/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