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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.001574/0.001574, allocations: 175.1 kB / 18.66 MB, free: 4.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2494, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003594/0.253, allocations: 2.59 MB / 404 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.2554, allocations: 1.243 MB / 405.2 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.2556, allocations: 7.938 kB / 405.2 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.2558, allocations: 67.38 kB / 405.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.256, allocations: 71.3 kB / 405.4 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000598/0.2566, allocations: 235.7 kB / 405.6 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2587, allocations: 2.069 MB / 407.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.2598, allocations: 0.9477 MB / 408.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.2623, allocations: 2.117 MB / 410.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.2636, allocations: 1.059 MB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004896/0.2641, allocations: 216 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.2646, allocations: 220 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006272/0.2652, allocations: 0.627 MB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.2663, allocations: 0.8902 MB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003821/0.2701, allocations: 4.406 MB / 418.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2702, allocations: 0 / 418.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2702, allocations: 4 kB / 418.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-05/0.2702, allocations: 0 / 418.2 MB, free: 8.035 MB / 334.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.004003/0.2742, allocations: 2.301 MB / 420.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2743, allocations: 8.031 kB / 420.5 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.2747, allocations: 171.1 kB / 420.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.2762, allocations: 1.069 MB / 421.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.048e-05/0.2763, allocations: 98.84 kB / 421.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.2767, allocations: 124.4 kB / 421.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003996/0.2807, allocations: 2.286 MB / 424.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.2807, allocations: 0 / 424.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.281, allocations: 56 kB / 424.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.281, allocations: 31.98 kB / 424.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00386/0.2849, allocations: 1.993 MB / 426.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007877/0.2928, allocations: 4.787 MB / 431.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003578/0.2964, allocations: 1.859 MB / 432.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.2978, allocations: 0.762 MB / 433.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.298, allocations: 21.3 kB / 433.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00208/0.3001, allocations: 1.352 MB / 435.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 4.609e-06/0.3001, allocations: 0 / 435.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.00505/0.3051, allocations: 2.669 MB / 437.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3052, allocations: 94.42 kB / 437.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/0.3065, allocations: 0.9407 MB / 438.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.3068, allocations: 101.6 kB / 438.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.3072, allocations: 465 kB / 439.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.3076, allocations: 312.3 kB / 439.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009871/0.3086, allocations: 0.6672 MB / 440.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3088, allocations: 410.7 kB / 440.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/0.3104, allocations: 0.8588 MB / 441.6 MB, free: 332 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.3121, allocations: 1.039 MB / 442.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003224/0.3153, allocations: 1.958 MB / 444.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.3153, allocations: 0 / 444.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004202/0.3195, allocations: 2.401 MB / 447 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.517e-05/0.3196, allocations: 37.7 kB / 447 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3196, allocations: 0 / 447 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.3197, allocations: 12 kB / 447 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.3202, allocations: 227.5 kB / 447.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-05/0.3202, allocations: 11.98 kB / 447.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.3209, allocations: 79.61 kB / 447.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009232/0.3218, allocations: 1.085 MB / 448.4 MB, free: 9.367 MB / 366.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.001446/0.3233, allocations: 0.9079 MB / 449.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.3237, allocations: 102.8 kB / 449.4 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.3239, allocations: 134.3 kB / 449.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.324, allocations: 16 kB / 449.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.324, allocations: 0 / 449.6 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.324, allocations: 11.91 kB / 449.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.3264, allocations: 1.763 MB / 451.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.3265, allocations: 4 kB / 451.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.327, allocations: 207.7 kB / 451.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.327, allocations: 7.938 kB / 451.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/0.3273, allocations: 175.9 kB / 451.7 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.3273, allocations: 4 kB / 451.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3273, allocations: 3.984 kB / 451.7 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.331, allocations: 2.03 MB / 453.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.3321, allocations: 0.6518 MB / 454.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004673/0.3326, allocations: 115.9 kB / 454.5 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.3331, allocations: 47.97 kB / 454.6 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006588/0.3338, allocations: 324.9 kB / 454.9 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000956/0.3347, allocations: 1.089 MB / 456 MB, free: 1.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.3355, allocations: 0.5927 MB / 456.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3355, allocations: 3.938 kB / 456.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001314/0.3368, allocations: 379.1 kB / 456.9 MB, free: 0.6914 MB / 366.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.0005749/0.3374, allocations: 367.8 kB / 457.3 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003705/0.3411, allocations: 2.036 MB / 459.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3412, allocations: 64 / 459.3 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001841/0.343, allocations: 1.061 MB / 460.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004157/0.3472, allocations: 1.066 MB / 461.5 MB, free: 12.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.3524, allocations: 2.973 MB / 464.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.3535, allocations: 1.324 MB / 465.8 MB, free: 7.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004971/0.3585, allocations: 1.32 MB / 467.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3585, allocations: 0 / 467.1 MB, free: 6.535 MB / 382.1 MB Notification: Performance of Templates: time 0.04052/0.399, allocations: 33.19 MB / 0.4885 GB, free: 3.781 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches