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.001076/0.001076, allocations: 103.2 kB / 17.06 MB, free: 5.742 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.001085/0.001085, allocations: 194.9 kB / 18 MB, free: 4.91 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 39.94 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3095, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004077/0.3136, allocations: 2.585 MB / 403.3 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.3163, allocations: 1.247 MB / 404.6 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.3164, allocations: 7.938 kB / 404.6 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.3166, allocations: 63.38 kB / 404.6 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3169, allocations: 75.31 kB / 404.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006353/0.3175, allocations: 235.6 kB / 404.9 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.3194, allocations: 2.077 MB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.3205, allocations: 0.9477 MB / 408 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00222/0.3228, allocations: 2.117 MB / 410.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.324, allocations: 1.063 MB / 411.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004297/0.3245, allocations: 216 kB / 411.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003771/0.3249, allocations: 216 kB / 411.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007467/0.3256, allocations: 0.6192 MB / 412.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00123/0.3269, allocations: 0.8979 MB / 413.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.331, allocations: 4.406 MB / 417.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.331, allocations: 0 / 417.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3311, allocations: 0 / 417.5 MB, free: 8.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.675e-05/0.3311, allocations: 4 kB / 417.5 MB, free: 8.039 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.004398/0.3355, allocations: 2.301 MB / 419.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.3356, allocations: 8.031 kB / 419.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.3361, allocations: 171.1 kB / 420 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.3378, allocations: 1.065 MB / 421 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.338, allocations: 98.84 kB / 421.1 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.3383, allocations: 124.4 kB / 421.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004369/0.3427, allocations: 2.293 MB / 423.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.3427, allocations: 0 / 423.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/0.343, allocations: 48 kB / 423.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.343, allocations: 32 kB / 423.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003821/0.3469, allocations: 1.989 MB / 425.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008793/0.3557, allocations: 4.791 MB / 430.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003674/0.3594, allocations: 1.867 MB / 432.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.3609, allocations: 0.7542 MB / 433 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.3611, allocations: 13.31 kB / 433 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/0.3633, allocations: 1.359 MB / 434.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.527e-06/0.3633, allocations: 0 / 434.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005481/0.3688, allocations: 2.661 MB / 437 MB, free: 4.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.3689, allocations: 98.41 kB / 437.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.3709, allocations: 0.9446 MB / 438.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002977/0.3712, allocations: 97.66 kB / 438.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006006/0.3718, allocations: 469 kB / 438.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005576/0.3724, allocations: 308.3 kB / 438.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.3738, allocations: 0.6633 MB / 439.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002338/0.374, allocations: 414.7 kB / 440 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.3759, allocations: 0.8666 MB / 440.9 MB, free: 336 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.3778, allocations: 1.031 MB / 441.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.3814, allocations: 1.958 MB / 443.9 MB, free: 13.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.3814, allocations: 3.938 kB / 443.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00478/0.3862, allocations: 2.393 MB / 446.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.3863, allocations: 40.2 kB / 446.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.3863, allocations: 4 kB / 446.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/0.3863, allocations: 12.03 kB / 446.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.387, allocations: 231.5 kB / 446.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.007e-05/0.387, allocations: 12 kB / 446.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009833/0.388, allocations: 83.59 kB / 446.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001323/0.3893, allocations: 1.085 MB / 447.7 MB, free: 9.371 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.001916/0.3913, allocations: 0.904 MB / 448.6 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/0.3918, allocations: 110.8 kB / 448.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.3921, allocations: 130.3 kB / 448.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3921, allocations: 12 kB / 448.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.3921, allocations: 0 / 448.9 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.3922, allocations: 7.922 kB / 448.9 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/0.3951, allocations: 1.766 MB / 450.6 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.3952, allocations: 4 kB / 450.7 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.3957, allocations: 207.7 kB / 450.9 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.048e-05/0.3958, allocations: 11.94 kB / 450.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/0.3961, allocations: 179.8 kB / 451 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.3961, allocations: 4 kB / 451 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3961, allocations: 0 / 451 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/0.4003, allocations: 2.034 MB / 453.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.4015, allocations: 0.6401 MB / 453.7 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/0.402, allocations: 119.9 kB / 453.8 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006108/0.4026, allocations: 51.91 kB / 453.9 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/0.4034, allocations: 329 kB / 454.2 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001159/0.4045, allocations: 1.089 MB / 455.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001026/0.4056, allocations: 0.5966 MB / 455.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4056, allocations: 0 / 455.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001593/0.4072, allocations: 387.1 kB / 456.3 MB, free: 0.6836 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.0006849/0.4079, allocations: 355.8 kB / 456.6 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004098/0.412, allocations: 2.041 MB / 458.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.412, allocations: 0 / 458.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002034/0.414, allocations: 1.088 MB / 459.7 MB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/0.4182, allocations: 1.077 MB / 460.8 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005559/0.4238, allocations: 2.862 MB / 463.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.4252, allocations: 1.316 MB / 465 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.007974/0.4332, allocations: 3.37 MB / 468.4 MB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003951/0.4371, allocations: 0.9347 MB / 469.3 MB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4372, allocations: 4 kB / 469.3 MB, free: 3.625 MB / 382.1 MB Notification: Performance of Templates: time 0.06018/0.4973, allocations: 40.54 MB / 0.4979 GB, free: 10.3 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/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