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.0009416/0.0009421, allocations: 96.06 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 8 kB / 306.6 MB, free: 1.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00261/0.1367, allocations: 2.151 MB / 360.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.1391, allocations: 1.225 MB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.1392, allocations: 11.94 kB / 361.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.1394, allocations: 47.62 kB / 361.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.1396, allocations: 63.8 kB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1401, allocations: 139.7 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.1412, allocations: 1.079 MB / 362.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008601/0.142, allocations: 0.7155 MB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.1433, allocations: 0.9236 MB / 364.4 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009738/0.1443, allocations: 0.9588 MB / 365.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.1445, allocations: 40 kB / 365.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.1447, allocations: 40 kB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005153/0.1452, allocations: 450.9 kB / 365.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.1455, allocations: 277 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.1483, allocations: 3.772 MB / 369.9 MB, free: 2.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1484, allocations: 4 kB / 369.9 MB, free: 2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1484, allocations: 0 / 369.9 MB, free: 2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.103e-05/0.1484, allocations: 4 kB / 369.9 MB, free: 1.996 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.003256/0.1517, allocations: 1.696 MB / 371.6 MB, free: 244 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1517, allocations: 16.03 kB / 371.7 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.1522, allocations: 166 kB / 371.8 MB, free: 60 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2598/0.4119, allocations: 1.027 MB / 372.8 MB, free: 17.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.4123, allocations: 96.86 kB / 372.9 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.4137, allocations: 123.1 kB / 373.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006008/0.4197, allocations: 2.279 MB / 375.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.4197, allocations: 0 / 375.3 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.42, allocations: 55.8 kB / 375.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-05/0.42, allocations: 30.25 kB / 375.4 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004858/0.4249, allocations: 1.999 MB / 377.4 MB, free: 16.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/0.4354, allocations: 4.785 MB / 382.2 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004151/0.4396, allocations: 1.917 MB / 384.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.4398, allocations: 13.34 kB / 384.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/0.4421, allocations: 1.359 MB / 385.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.717e-06/0.4421, allocations: 0 / 385.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005334/0.4474, allocations: 2.692 MB / 388.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.4475, allocations: 96.17 kB / 388.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.4491, allocations: 0.9365 MB / 389.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002633/0.4493, allocations: 99.19 kB / 389.3 MB, free: 11.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.4497, allocations: 411.8 kB / 389.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003838/0.4501, allocations: 313.1 kB / 390 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.4502, allocations: 31.42 kB / 390.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4504, allocations: 406.6 kB / 390.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.4519, allocations: 0.8698 MB / 391.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.4535, allocations: 1.045 MB / 392.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.455, allocations: 1.033 MB / 393.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.455, allocations: 3.938 kB / 393.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003451/0.4585, allocations: 2.403 MB / 395.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.4586, allocations: 37.69 kB / 395.8 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.4586, allocations: 4 kB / 395.8 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.4586, allocations: 12 kB / 395.9 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.459, allocations: 231.5 kB / 396.1 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.4591, allocations: 11.98 kB / 396.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4604, allocations: 199.1 kB / 396.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006962/0.4611, allocations: 1.085 MB / 397.4 MB, free: 4.227 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,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.clock.t_i,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,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,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,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,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,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,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,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,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001323/0.4625, allocations: 0.9105 MB / 398.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/0.4628, allocations: 102.8 kB / 398.4 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.463, allocations: 134.3 kB / 398.5 MB, free: 3.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.463, allocations: 16 kB / 398.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.463, allocations: 0 / 398.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.4631, allocations: 7.969 kB / 398.5 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.4655, allocations: 1.749 MB / 400.3 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4655, allocations: 4 kB / 400.3 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.4659, allocations: 203.7 kB / 400.5 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.4659, allocations: 10.58 kB / 400.5 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002124/0.4661, allocations: 175.9 kB / 400.7 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.4661, allocations: 4 kB / 400.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4661, allocations: 0 / 400.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.4696, allocations: 2.053 MB / 402.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.4712, allocations: 0.644 MB / 403.4 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004416/0.4716, allocations: 123.9 kB / 403.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008313/0.4725, allocations: 135.6 kB / 403.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006236/0.4731, allocations: 321 kB / 403.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001084/0.4742, allocations: 1.089 MB / 405 MB, free: 12.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000808/0.475, allocations: 0.5849 MB / 405.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.475, allocations: 4 kB / 405.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001484/0.4765, allocations: 379.1 kB / 406 MB, free: 11.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006094/0.4771, allocations: 375.2 kB / 406.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003765/0.4809, allocations: 2.043 MB / 408.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.4809, allocations: 0 / 408.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.4827, allocations: 1.096 MB / 409.5 MB, free: 7.988 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.4861, allocations: 0.9068 MB / 410.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.4911, allocations: 3.175 MB / 413.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4922, allocations: 1.34 MB / 414.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00665/0.4989, allocations: 3.382 MB / 418.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0028/0.5017, allocations: 0.923 MB / 419.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.043e-06/0.5017, allocations: 0 / 419.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of Templates: time 0.05424/0.556, allocations: 38.12 MB / 457.3 MB, free: 7.242 MB / 366.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","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches