Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.408/1.408, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 59.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2485, allocations: 50.55 MB / 410.2 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003776/0.2523, allocations: 2.607 MB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.2549, allocations: 1.274 MB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.255, allocations: 7.938 kB / 414.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.2552, allocations: 71.36 kB / 414.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.2554, allocations: 75.3 kB / 414.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005696/0.2559, allocations: 227.7 kB / 414.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.2579, allocations: 2.077 MB / 416.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.2589, allocations: 0.7252 MB / 417.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.2613, allocations: 2.113 MB / 419.4 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.2626, allocations: 1.063 MB / 420.4 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.2631, allocations: 220 kB / 420.7 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.2635, allocations: 220 kB / 420.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007047/0.2642, allocations: 0.6308 MB / 421.5 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.2653, allocations: 0.8979 MB / 422.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004178/0.2695, allocations: 4.408 MB / 426.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2695, allocations: 0 / 426.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2695, allocations: 0 / 426.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.841e-05/0.2696, allocations: 0 / 426.8 MB, free: 0.7695 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.005256/0.2748, allocations: 2.351 MB / 429.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2749, allocations: 8.031 kB / 429.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.2754, allocations: 175.9 kB / 429.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.2776, allocations: 1.074 MB / 430.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2777, allocations: 94.91 kB / 430.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003946/0.2781, allocations: 120.4 kB / 430.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004414/0.2825, allocations: 2.293 MB / 432.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.2826, allocations: 0 / 432.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.2828, allocations: 56 kB / 433 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.2828, allocations: 32 kB / 433 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004065/0.2869, allocations: 1.981 MB / 435 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/0.2957, allocations: 4.807 MB / 439.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/0.2995, allocations: 1.8 MB / 441.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.3011, allocations: 0.7308 MB / 442.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.3013, allocations: 17.3 kB / 442.3 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/0.3035, allocations: 1.348 MB / 443.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.336e-06/0.3036, allocations: 0 / 443.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005647/0.3092, allocations: 2.674 MB / 446.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.3093, allocations: 94.42 kB / 446.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3107, allocations: 0.9451 MB / 447.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002962/0.311, allocations: 97.66 kB / 447.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.3115, allocations: 470.2 kB / 447.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000509/0.312, allocations: 329.7 kB / 448.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/0.3131, allocations: 0.6673 MB / 448.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002371/0.3133, allocations: 406.7 kB / 449.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.315, allocations: 0.8627 MB / 450.2 MB, free: 9.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.3169, allocations: 1.047 MB / 451.2 MB, free: 7.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.3204, allocations: 1.954 MB / 453.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3204, allocations: 0 / 453.2 MB, free: 5.973 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004648/0.3251, allocations: 2.398 MB / 455.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.354e-05/0.3251, allocations: 37.64 kB / 455.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3251, allocations: 4 kB / 455.6 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.3251, allocations: 8 kB / 455.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005418/0.3257, allocations: 227.6 kB / 455.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/0.3257, allocations: 8.078 kB / 455.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.3265, allocations: 87.72 kB / 456 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/0.3277, allocations: 1.093 MB / 457.1 MB, free: 2.098 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.001648/0.3294, allocations: 0.9041 MB / 458 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003774/0.3297, allocations: 119.3 kB / 458.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.33, allocations: 134.3 kB / 458.2 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.33, allocations: 12 kB / 458.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.33, allocations: 0 / 458.2 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.33, allocations: 11.92 kB / 458.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002611/0.3327, allocations: 1.759 MB / 460 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3327, allocations: 0 / 460 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000502/0.3332, allocations: 207.7 kB / 460.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.3332, allocations: 4 kB / 460.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.3335, allocations: 175.9 kB / 460.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.3335, allocations: 4 kB / 460.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3335, allocations: 4 kB / 460.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00405/0.3375, allocations: 2.038 MB / 462.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.339, allocations: 0.6523 MB / 463.1 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004478/0.3394, allocations: 119.9 kB / 463.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.3399, allocations: 47.98 kB / 463.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006909/0.3406, allocations: 336.9 kB / 463.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001084/0.3417, allocations: 1.085 MB / 464.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008296/0.3425, allocations: 0.5927 MB / 465.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3425, allocations: 0 / 465.2 MB, free: 9.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001396/0.3439, allocations: 383.4 kB / 465.6 MB, free: 9.406 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.0005913/0.3445, allocations: 359.8 kB / 466 MB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.3484, allocations: 1.997 MB / 468 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3484, allocations: 0 / 468 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.3504, allocations: 1.053 MB / 469 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003987/0.3544, allocations: 1.067 MB / 470.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005045/0.3595, allocations: 2.906 MB / 473 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.3606, allocations: 1.316 MB / 474.3 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.006757/0.3674, allocations: 3.37 MB / 477.7 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002987/0.3704, allocations: 0.9308 MB / 478.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3704, allocations: 0 / 478.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of Templates: time 0.05798/0.4284, allocations: 40.55 MB / 0.507 GB, free: 3.055 MB / 430.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches