Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001605/0.001605, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001625/0.001625, allocations: 191 kB / 16.25 MB, free: 6.629 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.831/1.831, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.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.001665/0.001665, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3521, allocations: 46.63 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00477/0.3569, allocations: 2.635 MB / 327.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.3613, allocations: 1.256 MB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002614/0.3616, allocations: 8.25 kB / 328.7 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.362, allocations: 46.02 kB / 328.8 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.3621, allocations: 59.2 kB / 328.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.3629, allocations: 212.7 kB / 329.1 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003197/0.3661, allocations: 2.064 MB / 331.1 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.3678, allocations: 0.95 MB / 332.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003736/0.3715, allocations: 2.156 MB / 334.2 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.3734, allocations: 1.086 MB / 335.3 MB, free: 9.605 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005542/0.374, allocations: 216 kB / 335.5 MB, free: 9.395 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004735/0.3744, allocations: 220 kB / 335.7 MB, free: 9.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008944/0.3753, allocations: 0.623 MB / 336.4 MB, free: 8.555 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001554/0.3769, allocations: 0.9018 MB / 337.3 MB, free: 7.648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005426/0.3824, allocations: 4.356 MB / 341.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.3824, allocations: 0 / 341.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.3824, allocations: 0 / 341.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.3826, allocations: 0 / 341.6 MB, free: 3.281 MB / 270.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.00781/0.3904, allocations: 2.305 MB / 343.9 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.898e-05/0.3905, allocations: 12.03 kB / 343.9 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006309/0.3911, allocations: 167.1 kB / 344.1 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.3931, allocations: 1.062 MB / 345.2 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.3933, allocations: 98.91 kB / 345.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.3936, allocations: 120.4 kB / 345.4 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004929/0.3985, allocations: 2.289 MB / 347.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.3986, allocations: 0 / 347.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.3988, allocations: 55.94 kB / 347.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.3989, allocations: 28 kB / 347.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.4029, allocations: 1.985 MB / 349.7 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/0.414, allocations: 4.791 MB / 354.5 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003906/0.418, allocations: 1.859 MB / 356.4 MB, free: 4.301 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4195, allocations: 0.7698 MB / 357.2 MB, free: 3.531 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/0.4198, allocations: 13.31 kB / 357.2 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002219/0.422, allocations: 1.352 MB / 358.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 3.917e-06/0.422, allocations: 0 / 358.5 MB, free: 2.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005438/0.4275, allocations: 2.665 MB / 361.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.4276, allocations: 94.41 kB / 361.3 MB, free: 15.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002002/0.4297, allocations: 0.9446 MB / 362.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003507/0.43, allocations: 97.66 kB / 362.3 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.4305, allocations: 465.2 kB / 362.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005176/0.4311, allocations: 308.3 kB / 363.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.4323, allocations: 0.6711 MB / 363.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4325, allocations: 402.7 kB / 364.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.4342, allocations: 0.8627 MB / 365 MB, free: 11.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.4359, allocations: 1.047 MB / 366 MB, free: 10.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.4394, allocations: 1.958 MB / 368 MB, free: 8.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4395, allocations: 0 / 368 MB, free: 8.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00482/0.4443, allocations: 2.401 MB / 370.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.4444, allocations: 33.69 kB / 370.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.4444, allocations: 4 kB / 370.4 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.703e-05/0.4445, allocations: 11.94 kB / 370.4 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.4451, allocations: 235.5 kB / 370.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.498e-05/0.4452, allocations: 8 kB / 370.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.4468, allocations: 195.2 kB / 370.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/0.4482, allocations: 1.093 MB / 372 MB, free: 4.5 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.002228/0.4504, allocations: 0.8923 MB / 372.9 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005246/0.451, allocations: 106.8 kB / 373 MB, free: 3.473 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.4513, allocations: 134.3 kB / 373.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.4513, allocations: 12 kB / 373.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.059e-05/0.4513, allocations: 0 / 373.1 MB, free: 3.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.4514, allocations: 11.91 kB / 373.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/0.4548, allocations: 1.751 MB / 374.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.4548, allocations: 0 / 374.9 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.4554, allocations: 203.7 kB / 375.1 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.742e-05/0.4554, allocations: 8 kB / 375.1 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/0.4558, allocations: 171.9 kB / 375.2 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.4558, allocations: 11.94 kB / 375.3 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4558, allocations: 4 kB / 375.3 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/0.46, allocations: 2.037 MB / 377.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.4612, allocations: 0.644 MB / 377.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/0.4617, allocations: 123.9 kB / 378.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.4626, allocations: 147.5 kB / 378.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007507/0.4633, allocations: 329 kB / 378.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001232/0.4646, allocations: 1.089 MB / 379.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001005/0.4656, allocations: 0.5965 MB / 380.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4656, allocations: 0 / 380.2 MB, free: 12.12 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001731/0.4673, allocations: 379.1 kB / 380.6 MB, free: 11.75 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.0006573/0.468, allocations: 363.8 kB / 380.9 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006544/0.4746, allocations: 3.282 MB / 384.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.4746, allocations: 0 / 384.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00206/0.4767, allocations: 1.104 MB / 385.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/0.4812, allocations: 1.066 MB / 386.4 MB, free: 5.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/0.4878, allocations: 3.32 MB / 389.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.4892, allocations: 1.316 MB / 391 MB, free: 1.219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.007852/0.4971, allocations: 3.363 MB / 394.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002954/0.5001, allocations: 0.9308 MB / 395.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of SimCode: time 1.423e-06/0.5001, allocations: 0 / 395.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Templates: time 0.07255/0.5727, allocations: 40.31 MB / 435.6 MB, free: 3.586 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)