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.0009013/0.0009014, allocations: 93.64 kB / 17.31 MB, free: 6.535 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.000788/0.0007881, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.292/1.292, allocations: 223.3 MB / 242.3 MB, free: 196 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002255/0.0002256, allocations: 11.94 kB / 302.1 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07381/0.07405, allocations: 50.41 MB / 352.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002206/0.07629, allocations: 2.257 MB / 354.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.07831, allocations: 1.216 MB / 356 MB, free: 212 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.79e-05/0.07842, allocations: 4 kB / 356 MB, free: 208 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.07857, allocations: 51.58 kB / 356 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.07872, allocations: 59.5 kB / 356.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.07918, allocations: 203.9 kB / 356.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.08062, allocations: 1.838 MB / 358.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009597/0.08159, allocations: 0.9126 MB / 359 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.08329, allocations: 1.793 MB / 360.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008124/0.08411, allocations: 0.8322 MB / 361.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.08433, allocations: 40 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.08454, allocations: 40 kB / 361.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.08499, allocations: 406.1 kB / 362.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.08565, allocations: 0.6964 MB / 362.8 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.08804, allocations: 3.78 MB / 366.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.08805, allocations: 0 / 366.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.08806, allocations: 0 / 366.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.362e-05/0.08808, allocations: 0 / 366.6 MB, free: 5.512 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.002531/0.09062, allocations: 1.681 MB / 368.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.09066, allocations: 12.03 kB / 368.3 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.09103, allocations: 167 kB / 368.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.09246, allocations: 1.066 MB / 369.5 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.279e-05/0.09255, allocations: 98.91 kB / 369.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/0.09291, allocations: 128.4 kB / 369.7 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1446/0.2375, allocations: 2.289 MB / 372 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.707e-05/0.2376, allocations: 1.734 kB / 372 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00063/0.2383, allocations: 50.12 kB / 372.1 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.2383, allocations: 29.75 kB / 372.1 MB, free: 21.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004773/0.2431, allocations: 2.007 MB / 374.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007473/0.2506, allocations: 4.788 MB / 378.9 MB, free: 20.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003549/0.2542, allocations: 1.911 MB / 380.8 MB, free: 19.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.2556, allocations: 0.7725 MB / 381.6 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.2558, allocations: 19.47 kB / 381.6 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.2579, allocations: 1.372 MB / 383 MB, free: 19.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.316e-06/0.2579, allocations: 0 / 383 MB, free: 19.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004894/0.2628, allocations: 2.697 MB / 385.7 MB, free: 18.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2628, allocations: 99.52 kB / 385.8 MB, free: 17.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.2638, allocations: 0.9406 MB / 386.7 MB, free: 17.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002506/0.2641, allocations: 103.6 kB / 386.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.2643, allocations: 459.9 kB / 387.3 MB, free: 16.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.2647, allocations: 312 kB / 387.6 MB, free: 16.69 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004127/0.2651, allocations: 235.3 kB / 387.8 MB, free: 16.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2652, allocations: 405 kB / 388.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.2667, allocations: 0.8794 MB / 389.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/0.2683, allocations: 1.054 MB / 390.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/0.2711, allocations: 1.972 MB / 392.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2712, allocations: 0 / 392.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003517/0.2747, allocations: 2.423 MB / 394.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.2747, allocations: 33.7 kB / 394.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2747, allocations: 11.97 kB / 394.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.2748, allocations: 8 kB / 394.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2752, allocations: 231.5 kB / 394.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2752, allocations: 8 kB / 394.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.2763, allocations: 200.9 kB / 395 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006742/0.277, allocations: 1.085 MB / 396.1 MB, free: 10.05 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.0009847/0.278, allocations: 0.9023 MB / 397 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.2782, allocations: 98.88 kB / 397.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.2784, allocations: 134.3 kB / 397.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.2785, allocations: 15.94 kB / 397.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.2785, allocations: 4 kB / 397.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.2785, allocations: 7.922 kB / 397.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.2804, allocations: 1.766 MB / 399 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2805, allocations: 0 / 399 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.2808, allocations: 207.7 kB / 399.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.2809, allocations: 4 kB / 399.2 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002165/0.2811, allocations: 175.9 kB / 399.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.2811, allocations: 7.938 kB / 399.4 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2811, allocations: 7.984 kB / 399.4 MB, free: 6.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.2842, allocations: 2.053 MB / 401.5 MB, free: 4.605 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000803/0.2851, allocations: 0.6401 MB / 402.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003646/0.2854, allocations: 127.8 kB / 402.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007347/0.2862, allocations: 135.6 kB / 402.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000543/0.2867, allocations: 317 kB / 402.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006522/0.2874, allocations: 1.085 MB / 403.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005493/0.2879, allocations: 0.6005 MB / 404.4 MB, free: 1.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.288, allocations: 0 / 404.4 MB, free: 1.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009112/0.2889, allocations: 379.1 kB / 404.7 MB, free: 1.324 MB / 302.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.0004471/0.2893, allocations: 366.9 kB / 405.1 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003329/0.2927, allocations: 2.063 MB / 407.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2927, allocations: 0 / 407.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001835/0.2945, allocations: 1.073 MB / 408.2 MB, free: 13.8 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/0.2985, allocations: 0.9726 MB / 409.2 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004895/0.3034, allocations: 3.442 MB / 412.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.3045, allocations: 1.316 MB / 414 MB, free: 8.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004228/0.3087, allocations: 1.316 MB / 415.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3087, allocations: 0 / 415.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of Templates: time 0.03706/0.3458, allocations: 32.92 MB / 448.2 MB, free: 4.238 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches