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.001228/0.001228, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001325/0.001325, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.44/1.44, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009746/0.0009747, allocations: 55.2 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09125, allocations: 49.44 MB / 350.7 MB, free: 4.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003601/0.0949, allocations: 2.59 MB / 353.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.09741, allocations: 1.255 MB / 354.6 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.09756, allocations: 7.938 kB / 354.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.09776, allocations: 67.38 kB / 354.6 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.09795, allocations: 59.33 kB / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.09853, allocations: 243.6 kB / 354.9 MB, free: 188 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.1002, allocations: 2.061 MB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.1012, allocations: 0.9399 MB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.1034, allocations: 2.117 MB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.1047, allocations: 1.051 MB / 361.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/0.1052, allocations: 224 kB / 361.3 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004467/0.1057, allocations: 216 kB / 361.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006803/0.1064, allocations: 0.6114 MB / 362.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.1075, allocations: 0.8941 MB / 363 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003415/0.1109, allocations: 4.351 MB / 367.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.111, allocations: 0 / 367.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.111, allocations: 0 / 367.4 MB, free: 3.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.341e-05/0.111, allocations: 0 / 367.4 MB, free: 3.68 MB / 302.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.00406/0.1151, allocations: 2.309 MB / 369.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1151, allocations: 12.03 kB / 369.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004157/0.1156, allocations: 167 kB / 369.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.1177, allocations: 1.066 MB / 370.9 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1942/0.3119, allocations: 95.11 kB / 371 MB, free: 23.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/0.3133, allocations: 127.4 kB / 371.2 MB, free: 23.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/0.3189, allocations: 2.283 MB / 373.4 MB, free: 23.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/0.319, allocations: 1.219 kB / 373.4 MB, free: 23.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.3192, allocations: 50.5 kB / 373.5 MB, free: 23.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.3193, allocations: 31.66 kB / 373.5 MB, free: 23.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004339/0.3236, allocations: 1.986 MB / 375.5 MB, free: 22.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.3337, allocations: 4.856 MB / 380.4 MB, free: 20.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/0.3381, allocations: 1.856 MB / 382.2 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.3396, allocations: 0.7643 MB / 383 MB, free: 19.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/0.3398, allocations: 21.91 kB / 383 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.3418, allocations: 1.355 MB / 384.4 MB, free: 19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.487e-06/0.3418, allocations: 0 / 384.4 MB, free: 19 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005154/0.347, allocations: 2.667 MB / 387 MB, free: 17.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.3471, allocations: 91.86 kB / 387.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.3486, allocations: 0.9507 MB / 388.1 MB, free: 17.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000281/0.3489, allocations: 94.53 kB / 388.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.3492, allocations: 464.7 kB / 388.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.3497, allocations: 308.8 kB / 388.9 MB, free: 16.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.3507, allocations: 0.6707 MB / 389.6 MB, free: 16.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3508, allocations: 400.6 kB / 390 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3522, allocations: 0.8625 MB / 390.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.3536, allocations: 1.048 MB / 391.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.3565, allocations: 1.954 MB / 393.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.3565, allocations: 0 / 393.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003642/0.3601, allocations: 2.397 MB / 396.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/0.3602, allocations: 41.62 kB / 396.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.3602, allocations: 0 / 396.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.3603, allocations: 12 kB / 396.3 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.3607, allocations: 231.5 kB / 396.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.3607, allocations: 8.625 kB / 396.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007517/0.3615, allocations: 77.77 kB / 396.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007504/0.3623, allocations: 1.093 MB / 397.7 MB, free: 8.152 MB / 302.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.001542/0.3638, allocations: 0.9105 MB / 398.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.3642, allocations: 110.7 kB / 398.7 MB, free: 7.113 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.3644, allocations: 130.3 kB / 398.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3644, allocations: 16 kB / 398.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/0.3645, allocations: 0 / 398.9 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3645, allocations: 7.969 kB / 398.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.3665, allocations: 1.749 MB / 400.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3665, allocations: 0 / 400.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.3669, allocations: 207.7 kB / 400.8 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.3669, allocations: 9.531 kB / 400.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.3672, allocations: 175.9 kB / 401 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.3672, allocations: 4 kB / 401 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3672, allocations: 0 / 401 MB, free: 4.777 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.3704, allocations: 2.038 MB / 403 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009577/0.3713, allocations: 0.65 MB / 403.7 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/0.3718, allocations: 119.9 kB / 403.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.3722, allocations: 47.97 kB / 403.8 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005486/0.3727, allocations: 317 kB / 404.2 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007244/0.3735, allocations: 1.089 MB / 405.2 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006838/0.3742, allocations: 0.5927 MB / 405.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3742, allocations: 0 / 405.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001599/0.3758, allocations: 379.1 kB / 406.2 MB, free: 15.54 MB / 318.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.0005847/0.3764, allocations: 367 kB / 406.6 MB, free: 15.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006916/0.3833, allocations: 3.288 MB / 409.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.3833, allocations: 4 kB / 409.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.3853, allocations: 1.061 MB / 410.9 MB, free: 10.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/0.3893, allocations: 1.065 MB / 412 MB, free: 9.836 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.3952, allocations: 3.019 MB / 415 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.3965, allocations: 1.312 MB / 416.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005213/0.4017, allocations: 1.324 MB / 417.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4017, allocations: 7.938 kB / 417.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of Templates: time 0.044/0.4457, allocations: 33.04 MB / 450.7 MB, free: 1.5 MB / 350.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