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.001037/0.001037, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.0009203/0.0009203, allocations: 191 kB / 18.63 MB, free: 4.512 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.369/1.369, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009753/0.0009754, allocations: 48.45 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09413, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003502/0.09767, allocations: 2.59 MB / 354.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1001, allocations: 1.247 MB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.1003, allocations: 4 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1005, allocations: 67.31 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1007, allocations: 71.31 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.1012, allocations: 231.7 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.1029, allocations: 2.073 MB / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009939/0.1039, allocations: 0.9438 MB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002201/0.1061, allocations: 2.113 MB / 360.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.1075, allocations: 1.059 MB / 361.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004043/0.1079, allocations: 216 kB / 362.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.1083, allocations: 216 kB / 362.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006627/0.1089, allocations: 0.6154 MB / 362.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.11, allocations: 0.9018 MB / 363.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.1132, allocations: 4.397 MB / 368.2 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1132, allocations: 4 kB / 368.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1132, allocations: 0 / 368.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.156e-05/0.1133, allocations: 0 / 368.2 MB, free: 2.898 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.003642/0.1169, allocations: 2.301 MB / 370.5 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.117, allocations: 12.03 kB / 370.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.1173, allocations: 167 kB / 370.7 MB, free: 364 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1698/0.2871, allocations: 1.058 MB / 371.8 MB, free: 23.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.2873, allocations: 96.88 kB / 371.9 MB, free: 23.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009617/0.2883, allocations: 123 kB / 372 MB, free: 23.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0051/0.2934, allocations: 2.293 MB / 374.3 MB, free: 23.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.2934, allocations: 0 / 374.3 MB, free: 23.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/0.2937, allocations: 55.12 kB / 374.3 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.2937, allocations: 30.72 kB / 374.4 MB, free: 23.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003876/0.2976, allocations: 1.99 MB / 376.3 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009837/0.3074, allocations: 4.798 MB / 381.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/0.311, allocations: 1.866 MB / 383 MB, free: 20 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.3124, allocations: 0.7602 MB / 383.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002557/0.3127, allocations: 18.23 kB / 383.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002147/0.3148, allocations: 1.351 MB / 385.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 5.23e-06/0.3149, allocations: 0 / 385.1 MB, free: 18.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005071/0.3199, allocations: 2.668 MB / 387.8 MB, free: 17.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.32, allocations: 96.67 kB / 387.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.3217, allocations: 0.9434 MB / 388.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002615/0.3219, allocations: 100.6 kB / 388.9 MB, free: 17.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/0.3224, allocations: 456.2 kB / 389.4 MB, free: 16.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004003/0.3228, allocations: 307.3 kB / 389.7 MB, free: 16.4 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/0.3241, allocations: 0.6701 MB / 390.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3242, allocations: 402.7 kB / 390.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.3258, allocations: 0.8588 MB / 391.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.3274, allocations: 1.051 MB / 392.7 MB, free: 13.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002659/0.3301, allocations: 1.961 MB / 394.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.3301, allocations: 0 / 394.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003726/0.3338, allocations: 2.398 MB / 397 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.3339, allocations: 37.69 kB / 397.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.3339, allocations: 0 / 397.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.4e-05/0.334, allocations: 15.94 kB / 397.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004468/0.3344, allocations: 227.7 kB / 397.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.566e-05/0.3344, allocations: 12.06 kB / 397.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007527/0.3352, allocations: 83.45 kB / 397.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008276/0.336, allocations: 1.097 MB / 398.5 MB, free: 7.629 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,$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.001575/0.3376, allocations: 0.9029 MB / 399.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/0.3382, allocations: 102.8 kB / 399.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.3384, allocations: 134.3 kB / 399.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.3385, allocations: 12 kB / 399.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/0.3385, allocations: 0 / 399.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3385, allocations: 7.969 kB / 399.6 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.3411, allocations: 1.756 MB / 401.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.3411, allocations: 0 / 401.4 MB, free: 4.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.3415, allocations: 219.6 kB / 401.6 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-05/0.3416, allocations: 7.984 kB / 401.6 MB, free: 4.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003089/0.3419, allocations: 175.9 kB / 401.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.3419, allocations: 4 kB / 401.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3419, allocations: 0 / 401.8 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.3452, allocations: 2.041 MB / 403.8 MB, free: 2.176 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.3467, allocations: 0.644 MB / 404.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/0.3471, allocations: 115.9 kB / 404.6 MB, free: 1.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/0.3477, allocations: 47.97 kB / 404.6 MB, free: 1.352 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006158/0.3483, allocations: 333 kB / 405 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008564/0.3491, allocations: 1.085 MB / 406.1 MB, free: 15.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008907/0.35, allocations: 0.5965 MB / 406.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3501, allocations: 0 / 406.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001494/0.3516, allocations: 379.1 kB / 407 MB, free: 14.97 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.0006128/0.3522, allocations: 367.7 kB / 407.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004145/0.3563, allocations: 2.047 MB / 409.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3564, allocations: 0 / 409.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.3582, allocations: 1.088 MB / 410.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003505/0.3617, allocations: 1.069 MB / 411.6 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/0.3673, allocations: 2.855 MB / 414.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.3687, allocations: 1.324 MB / 415.8 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.007774/0.3765, allocations: 3.367 MB / 419.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003333/0.3798, allocations: 0.9269 MB / 420.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3798, allocations: 4 kB / 420.1 MB, free: 1.918 MB / 318.1 MB Notification: Performance of Templates: time 0.05909/0.4389, allocations: 40.43 MB / 460.5 MB, free: 8.695 MB / 366.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 -s gbode -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