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.001475/0.001475, allocations: 103.3 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.27 kB / 306.3 MB, free: 1.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 50.55 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003603/0.1066, allocations: 2.636 MB / 359.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1091, allocations: 1.259 MB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1092, allocations: 7.938 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.1094, allocations: 47.64 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1096, allocations: 59.48 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.1101, allocations: 207.8 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.1116, allocations: 1.842 MB / 362.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.1126, allocations: 0.9282 MB / 363.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001911/0.1145, allocations: 1.89 MB / 365.7 MB, free: 5.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009164/0.1154, allocations: 0.9336 MB / 366.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003347/0.1158, allocations: 68 kB / 366.7 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.1161, allocations: 72 kB / 366.7 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005597/0.1167, allocations: 470.1 kB / 367.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.1178, allocations: 0.7378 MB / 367.9 MB, free: 3.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1831/0.3009, allocations: 4.247 MB / 372.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3009, allocations: 2.875 kB / 372.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3009, allocations: 3.828 kB / 372.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.568e-05/0.301, allocations: 0 / 372.2 MB, free: 12.6 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.004213/0.3053, allocations: 2.305 MB / 374.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3053, allocations: 11.44 kB / 374.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004744/0.3058, allocations: 169.8 kB / 374.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.3074, allocations: 1.056 MB / 375.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002105/0.3076, allocations: 125.3 kB / 375.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/0.308, allocations: 119.7 kB / 376 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004137/0.3121, allocations: 2.293 MB / 378.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.3121, allocations: 0 / 378.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/0.3124, allocations: 50.33 kB / 378.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.3124, allocations: 30.38 kB / 378.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003679/0.3161, allocations: 1.982 MB / 380.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007282/0.3234, allocations: 4.784 MB / 385.1 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/0.3268, allocations: 1.866 MB / 387 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3281, allocations: 0.7553 MB / 387.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.3283, allocations: 13.5 kB / 387.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00184/0.3302, allocations: 1.355 MB / 389.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.446e-06/0.3302, allocations: 0 / 389.1 MB, free: 7.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004761/0.335, allocations: 2.662 MB / 391.8 MB, free: 6.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.335, allocations: 101.7 kB / 391.9 MB, free: 6.148 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.336, allocations: 0.9328 MB / 392.8 MB, free: 5.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002265/0.3363, allocations: 103.7 kB / 392.9 MB, free: 5.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.3365, allocations: 463.9 kB / 393.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/0.3368, allocations: 310.9 kB / 393.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/0.3377, allocations: 0.6665 MB / 394.3 MB, free: 4.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.3378, allocations: 408.4 kB / 394.7 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3392, allocations: 0.8684 MB / 395.6 MB, free: 3.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.3407, allocations: 1.04 MB / 396.6 MB, free: 3.301 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002635/0.3433, allocations: 1.956 MB / 398.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3433, allocations: 0 / 398.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003971/0.3473, allocations: 2.398 MB / 401 MB, free: 14.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.3474, allocations: 33.7 kB / 401 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3474, allocations: 8.031 kB / 401 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.3474, allocations: 8 kB / 401 MB, free: 14.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.348, allocations: 229.9 kB / 401.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/0.348, allocations: 15.09 kB / 401.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3493, allocations: 186.3 kB / 401.4 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009909/0.3503, allocations: 1.089 MB / 402.5 MB, free: 13.4 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.001521/0.3518, allocations: 0.9049 MB / 403.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.3522, allocations: 102.8 kB / 403.5 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.3524, allocations: 134.3 kB / 403.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.3525, allocations: 12 kB / 403.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.987e-05/0.3525, allocations: 0 / 403.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.3525, allocations: 7.922 kB / 403.7 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.3553, allocations: 1.765 MB / 405.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3553, allocations: 0 / 405.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.3558, allocations: 206.5 kB / 405.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.3558, allocations: 11.92 kB / 405.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/0.3561, allocations: 178.5 kB / 405.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.3561, allocations: 4 kB / 405.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3561, allocations: 0 / 405.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.3598, allocations: 2.03 MB / 407.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.361, allocations: 0.6441 MB / 408.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004326/0.3615, allocations: 115.9 kB / 408.6 MB, free: 7.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.3622, allocations: 143.5 kB / 408.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006937/0.3629, allocations: 329 kB / 409.1 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009829/0.3639, allocations: 1.085 MB / 410.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007114/0.3646, allocations: 0.5966 MB / 410.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3646, allocations: 0 / 410.8 MB, free: 5.086 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001322/0.366, allocations: 379.1 kB / 411.1 MB, free: 4.715 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.000559/0.3665, allocations: 368.6 kB / 411.5 MB, free: 4.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.3701, allocations: 2.032 MB / 413.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3701, allocations: 0 / 413.5 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.372, allocations: 1.092 MB / 414.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.3755, allocations: 0.965 MB / 415.6 MB, free: 252 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.3809, allocations: 3.317 MB / 418.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.3821, allocations: 1.32 MB / 420.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.007599/0.3897, allocations: 3.382 MB / 423.6 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003736/0.3935, allocations: 0.9269 MB / 424.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3935, allocations: 2.625 kB / 424.5 MB, free: 7.227 MB / 334.1 MB Notification: Performance of Templates: time 0.06102/0.4545, allocations: 39.41 MB / 464 MB, free: 14.98 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