Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001043/0.001043, allocations: 94.91 kB / 17.3 MB, free: 6.391 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.001495/0.001495, allocations: 174.8 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006986/0.0006985, allocations: 11.98 kB / 281.4 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1685, allocations: 47.59 MB / 329 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00338/0.1719, allocations: 2.253 MB / 331.2 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003046/0.175, allocations: 1.26 MB / 332.5 MB, free: 228 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.1755, allocations: 4 kB / 332.5 MB, free: 224 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.1759, allocations: 51.56 kB / 332.5 MB, free: 172 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005837/0.1765, allocations: 55.5 kB / 332.6 MB, free: 116 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1777, allocations: 215.9 kB / 332.8 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/0.181, allocations: 1.842 MB / 334.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.1826, allocations: 0.9009 MB / 335.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.1854, allocations: 1.804 MB / 337.3 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.187, allocations: 0.8127 MB / 338.2 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.1873, allocations: 40 kB / 338.2 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.1875, allocations: 44 kB / 338.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005602/0.1881, allocations: 422 kB / 338.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.1892, allocations: 0.6926 MB / 339.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004226/0.1935, allocations: 4.163 MB / 343.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.1935, allocations: 0 / 343.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.1935, allocations: 0 / 343.5 MB, free: 5.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001317/0.1937, allocations: 0 / 343.5 MB, free: 5.137 MB / 286.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.005026/0.1987, allocations: 1.681 MB / 345.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.52e-05/0.1988, allocations: 8.031 kB / 345.2 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.1997, allocations: 167 kB / 345.4 MB, free: 3.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.202, allocations: 1.066 MB / 346.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.2022, allocations: 94.91 kB / 346.5 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003635/0.2025, allocations: 120.4 kB / 346.6 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00594/0.2085, allocations: 2.305 MB / 348.9 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.2086, allocations: 3.938 kB / 348.9 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.2089, allocations: 52 kB / 349 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/0.209, allocations: 28 kB / 349 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004833/0.2138, allocations: 2.008 MB / 351 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.2251, allocations: 4.79 MB / 355.8 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004878/0.2301, allocations: 1.922 MB / 357.7 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.232, allocations: 0.7659 MB / 358.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000216/0.2323, allocations: 13.31 kB / 358.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002885/0.2352, allocations: 1.367 MB / 359.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 5.5e-06/0.2352, allocations: 0 / 359.9 MB, free: 4.516 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.006761/0.242, allocations: 2.7 MB / 362.6 MB, free: 1.805 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.2421, allocations: 98.41 kB / 362.7 MB, free: 1.691 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/0.2449, allocations: 0.9407 MB / 363.6 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004365/0.2454, allocations: 101.7 kB / 363.7 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008266/0.2462, allocations: 461.2 kB / 364.2 MB, free: 180 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008339/0.2471, allocations: 312.5 kB / 364.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009349/0.2481, allocations: 237.7 kB / 364.7 MB, free: 15.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003448/0.2484, allocations: 406.7 kB / 365.1 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/0.2507, allocations: 0.8744 MB / 366 MB, free: 14.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.253, allocations: 1.055 MB / 367 MB, free: 13.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004158/0.2571, allocations: 1.981 MB / 369 MB, free: 11.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.2572, allocations: 0 / 369 MB, free: 11.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005485/0.2627, allocations: 2.412 MB / 371.4 MB, free: 8.785 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.897e-05/0.2628, allocations: 33.7 kB / 371.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.2628, allocations: 3.984 kB / 371.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/0.2629, allocations: 12 kB / 371.5 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006576/0.2635, allocations: 227.6 kB / 371.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.685e-05/0.2636, allocations: 11.98 kB / 371.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.2653, allocations: 199.1 kB / 371.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/0.2666, allocations: 1.093 MB / 373 MB, free: 7.207 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.002382/0.269, allocations: 0.9041 MB / 373.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007348/0.2697, allocations: 98.88 kB / 374 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.2702, allocations: 134.3 kB / 374.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.2702, allocations: 12 kB / 374.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/0.2703, allocations: 0 / 374.1 MB, free: 6.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.2703, allocations: 11.91 kB / 374.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/0.2748, allocations: 1.759 MB / 375.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/0.2749, allocations: 0 / 375.9 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.2756, allocations: 203.7 kB / 376.1 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.095e-05/0.2757, allocations: 4 kB / 376.1 MB, free: 4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004812/0.2762, allocations: 183.8 kB / 376.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-05/0.2762, allocations: 4.625 kB / 376.3 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.2762, allocations: 7.922 kB / 376.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/0.2818, allocations: 2.065 MB / 378.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001723/0.2836, allocations: 0.644 MB / 379 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000715/0.2843, allocations: 123.9 kB / 379.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.2859, allocations: 139.6 kB / 379.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009387/0.2869, allocations: 333 kB / 379.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.3234/0.6103, allocations: 1.08 MB / 380.7 MB, free: 50.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001421/0.6118, allocations: 0.5961 MB / 381.3 MB, free: 50.83 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6118, allocations: 0 / 381.3 MB, free: 50.83 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003803/0.6156, allocations: 378.8 kB / 381.6 MB, free: 50.83 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.0009042/0.6166, allocations: 363.8 kB / 382 MB, free: 50.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005343/0.6219, allocations: 2.053 MB / 384.1 MB, free: 50.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.622, allocations: 0 / 384.1 MB, free: 50.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003264/0.6253, allocations: 1.119 MB / 385.2 MB, free: 50.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005885/0.6312, allocations: 0.963 MB / 386.1 MB, free: 50.35 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.6394, allocations: 3.322 MB / 389.5 MB, free: 48.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.6411, allocations: 1.318 MB / 390.8 MB, free: 47.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01009/0.6512, allocations: 3.379 MB / 394.2 MB, free: 46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004642/0.6559, allocations: 0.9242 MB / 395.1 MB, free: 45.42 MB / 318.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6559, allocations: 4 kB / 395.1 MB, free: 45.41 MB / 318.1 MB Notification: Performance of Templates: time 0.05332/0.7093, allocations: 39.15 MB / 434.2 MB, free: 7.898 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches