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.00133/0.00133, allocations: 110.9 kB / 17.74 MB, free: 5.336 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.001411/0.001411, allocations: 188.5 kB / 18.67 MB, free: 4.41 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 39.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2916, allocations: 49.43 MB / 401.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003581/0.2952, allocations: 2.591 MB / 404 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.2976, allocations: 1.247 MB / 405.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.2977, allocations: 7.938 kB / 405.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.2979, allocations: 63.38 kB / 405.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2981, allocations: 75.3 kB / 405.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.2986, allocations: 231.7 kB / 405.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.3003, allocations: 2.077 MB / 407.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3013, allocations: 0.9516 MB / 408.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.3034, allocations: 2.113 MB / 410.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.3046, allocations: 1.059 MB / 411.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004432/0.3051, allocations: 220 kB / 412 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.3055, allocations: 216 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.3061, allocations: 0.627 MB / 412.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000918/0.3071, allocations: 0.8902 MB / 413.8 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.3102, allocations: 4.406 MB / 418.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3102, allocations: 0 / 418.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3102, allocations: 0 / 418.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.3103, allocations: 0 / 418.2 MB, free: 8.18 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.003426/0.3137, allocations: 2.313 MB / 420.5 MB, free: 5.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3138, allocations: 8.031 kB / 420.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.3142, allocations: 167.1 kB / 420.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.3158, allocations: 1.062 MB / 421.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.3158, allocations: 94.91 kB / 421.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.3162, allocations: 120.4 kB / 421.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003618/0.3198, allocations: 2.293 MB / 424.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.3199, allocations: 0 / 424.2 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.3201, allocations: 52 kB / 424.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.899e-05/0.3201, allocations: 32 kB / 424.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.3236, allocations: 1.977 MB / 426.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007486/0.3311, allocations: 4.802 MB / 431.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003396/0.3345, allocations: 1.867 MB / 432.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/0.3358, allocations: 0.7542 MB / 433.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.336, allocations: 13.31 kB / 433.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001947/0.338, allocations: 1.356 MB / 435.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 5.26e-06/0.338, allocations: 3.938 kB / 435.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.004881/0.3429, allocations: 2.665 MB / 437.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.343, allocations: 98.42 kB / 437.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3442, allocations: 0.9446 MB / 438.8 MB, free: 3.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002581/0.3445, allocations: 101.7 kB / 438.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.3449, allocations: 461.1 kB / 439.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.3453, allocations: 316.2 kB / 439.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.3464, allocations: 0.6633 MB / 440.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3466, allocations: 410.7 kB / 440.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.3482, allocations: 0.8666 MB / 441.6 MB, free: 476 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00167/0.3499, allocations: 1.035 MB / 442.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003136/0.3531, allocations: 1.958 MB / 444.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.3531, allocations: 4 kB / 444.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00404/0.3571, allocations: 2.396 MB / 447 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.3572, allocations: 33.7 kB / 447 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3572, allocations: 4 kB / 447 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.686e-05/0.3572, allocations: 8 kB / 447 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004767/0.3577, allocations: 227.6 kB / 447.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.3578, allocations: 11.94 kB / 447.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.3584, allocations: 83.59 kB / 447.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009699/0.3594, allocations: 1.089 MB / 448.4 MB, free: 9.508 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.001367/0.3608, allocations: 0.9041 MB / 449.3 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.3611, allocations: 102.8 kB / 449.4 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.3614, allocations: 134.3 kB / 449.5 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.3614, allocations: 12 kB / 449.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.3614, allocations: 0 / 449.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.3614, allocations: 11.86 kB / 449.6 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3638, allocations: 1.763 MB / 451.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3638, allocations: 0 / 451.3 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004173/0.3643, allocations: 203.7 kB / 451.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.3643, allocations: 8 kB / 451.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/0.3646, allocations: 175.9 kB / 451.7 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.3646, allocations: 7.984 kB / 451.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3646, allocations: 0 / 451.7 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003609/0.3682, allocations: 2.038 MB / 453.7 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.3693, allocations: 0.6401 MB / 454.4 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.3697, allocations: 119.9 kB / 454.5 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.3702, allocations: 47.97 kB / 454.6 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/0.3708, allocations: 317 kB / 454.9 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001007/0.3719, allocations: 1.085 MB / 455.9 MB, free: 1.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007821/0.3727, allocations: 0.5927 MB / 456.5 MB, free: 1.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3727, allocations: 3.938 kB / 456.5 MB, free: 1.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001317/0.374, allocations: 383.1 kB / 456.9 MB, free: 0.8555 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.0005905/0.3746, allocations: 371.7 kB / 457.3 MB, free: 496 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003624/0.3782, allocations: 2.046 MB / 459.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3782, allocations: 0 / 459.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.38, allocations: 1.065 MB / 460.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.3833, allocations: 1.067 MB / 461.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/0.3883, allocations: 2.981 MB / 464.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.3895, allocations: 1.324 MB / 465.8 MB, free: 8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004481/0.3939, allocations: 1.32 MB / 467.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.394, allocations: 0 / 467.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of Templates: time 0.04196/0.4359, allocations: 33.32 MB / 0.4887 GB, free: 3.797 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches