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.001499/0.001499, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001793/0.001793, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 61.98 kB / 306.9 MB, free: 0.6211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 50.53 MB / 357.5 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005014/0.1295, allocations: 2.598 MB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.1325, allocations: 1.275 MB / 361.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003669/0.133, allocations: 11.94 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1333, allocations: 67.38 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.1336, allocations: 63.31 kB / 361.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.1345, allocations: 239.6 kB / 361.7 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.1375, allocations: 2.057 MB / 363.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.1393, allocations: 0.9555 MB / 364.7 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.1419, allocations: 2.117 MB / 366.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.1441, allocations: 1.055 MB / 367.9 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.1453, allocations: 216 kB / 368.1 MB, free: 3.391 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008877/0.1462, allocations: 216 kB / 368.3 MB, free: 3.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.1472, allocations: 0.6153 MB / 368.9 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.1494, allocations: 0.8941 MB / 369.8 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2143/0.3636, allocations: 4.346 MB / 374.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3637, allocations: 1.031 kB / 374.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.3637, allocations: 0 / 374.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.043e-05/0.3638, allocations: 0 / 374.2 MB, free: 14.28 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.004794/0.3686, allocations: 2.311 MB / 376.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3686, allocations: 10.16 kB / 376.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.3692, allocations: 168.6 kB / 376.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.3712, allocations: 1.061 MB / 377.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002296/0.3714, allocations: 127.8 kB / 377.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.3718, allocations: 120.9 kB / 378 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.3757, allocations: 2.29 MB / 380.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.3758, allocations: 0 / 380.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.3761, allocations: 52.31 kB / 380.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.3761, allocations: 30.03 kB / 380.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.3799, allocations: 1.982 MB / 382.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008669/0.3886, allocations: 4.866 MB / 387.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.392, allocations: 1.855 MB / 389 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3934, allocations: 0.7563 MB / 389.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.3936, allocations: 17.69 kB / 389.8 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/0.3956, allocations: 1.357 MB / 391.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.296e-06/0.3956, allocations: 0 / 391.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004895/0.4005, allocations: 2.662 MB / 393.8 MB, free: 6.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4006, allocations: 97.77 kB / 393.9 MB, free: 6.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.4018, allocations: 0.939 MB / 394.9 MB, free: 5.523 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002568/0.4021, allocations: 96.53 kB / 395 MB, free: 5.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003343/0.4024, allocations: 460.3 kB / 395.4 MB, free: 5.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.4028, allocations: 317.9 kB / 395.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.404, allocations: 0.6618 MB / 396.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.4041, allocations: 419.3 kB / 396.8 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.4056, allocations: 0.8591 MB / 397.6 MB, free: 3.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.4071, allocations: 1.041 MB / 398.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002796/0.41, allocations: 1.946 MB / 400.6 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.41, allocations: 4 kB / 400.6 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004335/0.4143, allocations: 2.403 MB / 403 MB, free: 14.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/0.4144, allocations: 40.31 kB / 403.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4144, allocations: 0 / 403.1 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.648e-05/0.4144, allocations: 12 kB / 403.1 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.415, allocations: 227.9 kB / 403.3 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.502e-05/0.415, allocations: 8 kB / 403.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008243/0.4158, allocations: 79.61 kB / 403.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001158/0.417, allocations: 1.093 MB / 404.5 MB, free: 13.16 MB / 318.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.001632/0.4186, allocations: 0.9025 MB / 405.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005328/0.4192, allocations: 106.8 kB / 405.5 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.4195, allocations: 130.3 kB / 405.6 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4195, allocations: 12 kB / 405.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.4195, allocations: 4 kB / 405.6 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4195, allocations: 11.91 kB / 405.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.4223, allocations: 1.758 MB / 407.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4224, allocations: 0 / 407.4 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.4229, allocations: 210.3 kB / 407.6 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.4229, allocations: 4 kB / 407.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/0.4232, allocations: 175.9 kB / 407.8 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.4233, allocations: 4 kB / 407.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4233, allocations: 0 / 407.8 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004122/0.4274, allocations: 2.036 MB / 409.8 MB, free: 7.773 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.4286, allocations: 0.644 MB / 410.5 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005492/0.4291, allocations: 119.9 kB / 410.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006037/0.4298, allocations: 43.98 kB / 410.6 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006914/0.4305, allocations: 337 kB / 411 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001073/0.4315, allocations: 1.089 MB / 412.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008606/0.4324, allocations: 0.5927 MB / 412.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.42e-07/0.4324, allocations: 0 / 412.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001697/0.4341, allocations: 383 kB / 413 MB, free: 4.566 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006533/0.4348, allocations: 359.7 kB / 413.4 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006596/0.4414, allocations: 3.281 MB / 416.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4414, allocations: 0 / 416.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002074/0.4435, allocations: 1.104 MB / 417.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/0.4479, allocations: 1.069 MB / 418.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005201/0.4531, allocations: 2.894 MB / 421.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.4543, allocations: 1.32 MB / 423 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01332/0.4676, allocations: 3.39 MB / 426.4 MB, free: 7.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007041/0.4747, allocations: 0.9308 MB / 427.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4747, allocations: 0 / 427.4 MB, free: 6.254 MB / 334.1 MB Notification: Performance of Templates: time 0.06417/0.5389, allocations: 40.57 MB / 467.9 MB, free: 12.84 MB / 382.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