Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002148/0.002148, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.486/1.486, allocations: 227.7 MB / 246.6 MB, free: 10.59 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002072, allocations: 62.42 kB / 306.6 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 50.54 MB / 357.1 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004051/0.1283, allocations: 2.64 MB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.1311, allocations: 1.271 MB / 361 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.1313, allocations: 11.88 kB / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1315, allocations: 47.62 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1317, allocations: 59.5 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.1323, allocations: 207.8 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.1342, allocations: 1.846 MB / 363.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.1354, allocations: 0.9282 MB / 364.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.1377, allocations: 1.879 MB / 366 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1389, allocations: 0.9336 MB / 366.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003572/0.1392, allocations: 72 kB / 367 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.1396, allocations: 76 kB / 367 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006651/0.1403, allocations: 473.9 kB / 367.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.1415, allocations: 0.7378 MB / 368.2 MB, free: 3.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1889/0.3303, allocations: 4.243 MB / 372.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.3304, allocations: 1.406 kB / 372.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3304, allocations: 0 / 372.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.3305, allocations: 0 / 372.5 MB, free: 13.23 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.005636/0.3362, allocations: 2.306 MB / 374.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3362, allocations: 14.31 kB / 374.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.3368, allocations: 169.8 kB / 375 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.3386, allocations: 1.057 MB / 376 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.3388, allocations: 127.6 kB / 376.2 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.3391, allocations: 119.8 kB / 376.3 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.3437, allocations: 2.286 MB / 378.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.3438, allocations: 0.6094 kB / 378.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.344, allocations: 52.19 kB / 378.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.3441, allocations: 31.28 kB / 378.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.3479, allocations: 1.982 MB / 380.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00742/0.3553, allocations: 4.786 MB / 385.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003164/0.3585, allocations: 1.856 MB / 387.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.3598, allocations: 0.756 MB / 388 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.36, allocations: 13.97 kB / 388 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/0.3619, allocations: 1.357 MB / 389.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.986e-06/0.3619, allocations: 0 / 389.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004603/0.3665, allocations: 2.664 MB / 392.1 MB, free: 6.383 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3665, allocations: 93.86 kB / 392.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.3676, allocations: 0.9389 MB / 393.1 MB, free: 5.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002179/0.3678, allocations: 100.6 kB / 393.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.368, allocations: 463.5 kB / 393.6 MB, free: 5.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.3683, allocations: 317.5 kB / 394 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008419/0.3692, allocations: 0.6615 MB / 394.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3693, allocations: 409 kB / 395 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3707, allocations: 0.8654 MB / 395.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.3722, allocations: 1.041 MB / 396.9 MB, free: 3.324 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.3748, allocations: 1.958 MB / 398.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.3749, allocations: 0 / 398.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00411/0.379, allocations: 2.402 MB / 401.3 MB, free: 14.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.379, allocations: 33.7 kB / 401.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3791, allocations: 4 kB / 401.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/0.3791, allocations: 8 kB / 401.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.3796, allocations: 223 kB / 401.5 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.198e-05/0.3797, allocations: 11 kB / 401.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.381, allocations: 194.3 kB / 401.7 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/0.3823, allocations: 1.095 MB / 402.8 MB, free: 13.41 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.001686/0.384, allocations: 0.8978 MB / 403.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004384/0.3844, allocations: 106.8 kB / 403.8 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.3847, allocations: 135.9 kB / 404 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.3847, allocations: 12 kB / 404 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.3847, allocations: 0 / 404 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3847, allocations: 7.922 kB / 404 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.3879, allocations: 1.759 MB / 405.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.3879, allocations: 2.625 kB / 405.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.3884, allocations: 207.7 kB / 406 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.7e-05/0.3885, allocations: 4 kB / 406 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/0.3888, allocations: 179.9 kB / 406.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.3888, allocations: 4.75 kB / 406.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3888, allocations: 7.938 kB / 406.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.393, allocations: 2.03 MB / 408.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.3945, allocations: 0.6363 MB / 408.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/0.3951, allocations: 119.9 kB / 408.9 MB, free: 7.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.3962, allocations: 143.5 kB / 409.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008061/0.397, allocations: 333 kB / 409.4 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001401/0.3985, allocations: 1.088 MB / 410.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009493/0.3994, allocations: 0.5965 MB / 411.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3994, allocations: 0 / 411.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001782/0.4012, allocations: 379.1 kB / 411.5 MB, free: 4.727 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.0007234/0.4019, allocations: 367.8 kB / 411.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004526/0.4065, allocations: 2.031 MB / 413.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4065, allocations: 0 / 413.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002649/0.4092, allocations: 1.096 MB / 414.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005017/0.4142, allocations: 0.9648 MB / 415.9 MB, free: 284 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/0.4214, allocations: 3.314 MB / 419.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.423, allocations: 1.311 MB / 420.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01018/0.4332, allocations: 3.39 MB / 423.9 MB, free: 8.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00495/0.4382, allocations: 0.9269 MB / 424.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4382, allocations: 0 / 424.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of Templates: time 0.06671/0.5049, allocations: 39.41 MB / 464.3 MB, free: 15.07 MB / 382.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches