Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001512, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002097/0.002097, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2691, allocations: 50.54 MB / 409.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003363/0.2725, allocations: 2.607 MB / 411.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.275, allocations: 1.278 MB / 413.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.2751, allocations: 4 kB / 413.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.2754, allocations: 71.31 kB / 413.2 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.2755, allocations: 75.31 kB / 413.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.2761, allocations: 227.7 kB / 413.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.2779, allocations: 2.065 MB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.279, allocations: 0.9477 MB / 416.5 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.2811, allocations: 2.117 MB / 418.6 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.2824, allocations: 1.059 MB / 419.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004118/0.2828, allocations: 216 kB / 419.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003724/0.2832, allocations: 216 kB / 420.1 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007012/0.2839, allocations: 0.6231 MB / 420.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.2851, allocations: 0.894 MB / 421.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003638/0.2887, allocations: 4.402 MB / 426 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2887, allocations: 0 / 426 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2887, allocations: 4 kB / 426 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.706e-05/0.2888, allocations: 4 kB / 426 MB, free: 0.5938 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.00399/0.2928, allocations: 2.305 MB / 428.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.2928, allocations: 8.031 kB / 428.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.2933, allocations: 163.1 kB / 428.5 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.295, allocations: 1.066 MB / 429.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.2951, allocations: 94.91 kB / 429.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.2954, allocations: 124.4 kB / 429.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/0.2994, allocations: 2.289 MB / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.2995, allocations: 0 / 432.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.2997, allocations: 52 kB / 432.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.2997, allocations: 35.98 kB / 432.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/0.3035, allocations: 1.985 MB / 434.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00813/0.3117, allocations: 4.814 MB / 439 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003709/0.3154, allocations: 1.863 MB / 440.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.3169, allocations: 0.762 MB / 441.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.3172, allocations: 13.31 kB / 441.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/0.3193, allocations: 1.355 MB / 443 MB, free: 15.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.486e-06/0.3193, allocations: 0 / 443 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005301/0.3246, allocations: 2.661 MB / 445.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.3247, allocations: 90.42 kB / 445.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.326, allocations: 0.9446 MB / 446.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.3263, allocations: 105.6 kB / 446.8 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.3267, allocations: 461.1 kB / 447.2 MB, free: 11.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/0.3271, allocations: 320.2 kB / 447.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.3282, allocations: 0.6633 MB / 448.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3284, allocations: 410.7 kB / 448.6 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.3301, allocations: 0.8627 MB / 449.4 MB, free: 8.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3319, allocations: 1.039 MB / 450.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.3352, allocations: 1.954 MB / 452.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3352, allocations: 0 / 452.4 MB, free: 5.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00427/0.3395, allocations: 2.4 MB / 454.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/0.3395, allocations: 33.7 kB / 454.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.3395, allocations: 0 / 454.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/0.3396, allocations: 12 kB / 454.9 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.3401, allocations: 231.6 kB / 455.1 MB, free: 3.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.3402, allocations: 11.98 kB / 455.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.3408, allocations: 79.61 kB / 455.2 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/0.3419, allocations: 1.093 MB / 456.3 MB, free: 1.91 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.001453/0.3434, allocations: 0.9079 MB / 457.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.3437, allocations: 102.8 kB / 457.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.344, allocations: 134.3 kB / 457.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.344, allocations: 12 kB / 457.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.344, allocations: 0 / 457.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.344, allocations: 11.91 kB / 457.5 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.3464, allocations: 1.755 MB / 459.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3464, allocations: 0 / 459.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.3468, allocations: 215.7 kB / 459.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.3469, allocations: 4 kB / 459.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002831/0.3472, allocations: 175.9 kB / 459.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/0.3472, allocations: 4 kB / 459.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3472, allocations: 3.938 kB / 459.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003904/0.3511, allocations: 2.038 MB / 461.6 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.3523, allocations: 0.6479 MB / 462.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/0.3527, allocations: 115.9 kB / 462.4 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004577/0.3532, allocations: 47.97 kB / 462.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006758/0.3539, allocations: 333 kB / 462.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001097/0.355, allocations: 1.085 MB / 463.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000798/0.3558, allocations: 0.5927 MB / 464.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3558, allocations: 0 / 464.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001313/0.3571, allocations: 383.1 kB / 464.8 MB, free: 9.238 MB / 382.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.0005314/0.3576, allocations: 359.8 kB / 465.2 MB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00374/0.3614, allocations: 2.041 MB / 467.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3614, allocations: 0 / 467.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.3633, allocations: 1.092 MB / 468.3 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.3666, allocations: 1.064 MB / 469.4 MB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005095/0.3717, allocations: 2.858 MB / 472.2 MB, free: 1.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.3728, allocations: 1.32 MB / 473.6 MB, free: 500 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006695/0.3796, allocations: 3.37 MB / 476.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002846/0.3824, allocations: 0.9308 MB / 477.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3824, allocations: 4 kB / 477.9 MB, free: 12.17 MB / 398.1 MB Notification: Performance of Templates: time 0.05515/0.4376, allocations: 40.53 MB / 0.5062 GB, free: 2.762 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches