Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001515/0.001515, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00268/0.00268, allocations: 187.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001387/0.001387, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3418, allocations: 46.63 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004992/0.3469, allocations: 2.632 MB / 327.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003462/0.3504, allocations: 1.265 MB / 328.7 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.3507, allocations: 7.094 kB / 328.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.3511, allocations: 47.3 kB / 328.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.3514, allocations: 54.44 kB / 328.8 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009149/0.3523, allocations: 213.4 kB / 329.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003284/0.3556, allocations: 2.063 MB / 331.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.3576, allocations: 0.9459 MB / 332.1 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.3611, allocations: 2.159 MB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.3631, allocations: 1.086 MB / 335.3 MB, free: 9.582 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005365/0.3637, allocations: 224 kB / 335.5 MB, free: 9.363 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.3641, allocations: 216 kB / 335.7 MB, free: 9.152 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008371/0.365, allocations: 0.6269 MB / 336.4 MB, free: 8.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.3664, allocations: 0.894 MB / 337.3 MB, free: 7.625 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005226/0.3716, allocations: 4.352 MB / 341.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.3717, allocations: 4 kB / 341.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3717, allocations: 0 / 341.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.3718, allocations: 0 / 341.6 MB, free: 3.258 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.006786/0.3786, allocations: 2.309 MB / 343.9 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.3787, allocations: 8.031 kB / 343.9 MB, free: 0.875 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.3794, allocations: 163.1 kB / 344.1 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.3814, allocations: 1.073 MB / 345.2 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3816, allocations: 94.91 kB / 345.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.3819, allocations: 120.4 kB / 345.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005333/0.3873, allocations: 2.289 MB / 347.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.3874, allocations: 0 / 347.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.3876, allocations: 56 kB / 347.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.3877, allocations: 32 kB / 347.8 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004522/0.3922, allocations: 1.973 MB / 349.7 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.4029, allocations: 4.802 MB / 354.5 MB, free: 6.141 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.407, allocations: 1.863 MB / 356.4 MB, free: 4.266 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.4086, allocations: 0.7581 MB / 357.1 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.4089, allocations: 13.31 kB / 357.2 MB, free: 3.492 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002413/0.4113, allocations: 1.352 MB / 358.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 5.019e-06/0.4114, allocations: 4 kB / 358.5 MB, free: 2.121 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005313/0.4167, allocations: 2.661 MB / 361.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/0.4168, allocations: 98.42 kB / 361.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.4185, allocations: 0.9369 MB / 362.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.4189, allocations: 101.7 kB / 362.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000552/0.4194, allocations: 461.2 kB / 362.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00053/0.42, allocations: 316.3 kB / 363.1 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.4211, allocations: 0.6672 MB / 363.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002186/0.4214, allocations: 410.7 kB / 364.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.4231, allocations: 0.8627 MB / 365 MB, free: 11.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.4248, allocations: 1.035 MB / 366 MB, free: 10.49 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003351/0.4282, allocations: 1.95 MB / 368 MB, free: 8.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.4282, allocations: 4 kB / 368 MB, free: 8.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004559/0.4328, allocations: 2.404 MB / 370.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.96e-05/0.4329, allocations: 41.69 kB / 370.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4329, allocations: 0 / 370.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/0.4329, allocations: 15.94 kB / 370.5 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.4335, allocations: 227.5 kB / 370.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.878e-05/0.4335, allocations: 12.03 kB / 370.7 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.4348, allocations: 195.2 kB / 370.9 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/0.4359, allocations: 1.089 MB / 372 MB, free: 4.48 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.00186/0.4378, allocations: 0.908 MB / 372.9 MB, free: 3.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004284/0.4382, allocations: 102.8 kB / 373 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.4385, allocations: 126.3 kB / 373.1 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/0.4385, allocations: 16 kB / 373.1 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.4385, allocations: 0 / 373.1 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.4386, allocations: 11.91 kB / 373.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.4413, allocations: 1.751 MB / 374.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.4413, allocations: 0 / 374.9 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004602/0.4418, allocations: 211.6 kB / 375.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.4418, allocations: 8 kB / 375.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/0.4421, allocations: 175.9 kB / 375.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.4421, allocations: 4 kB / 375.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4421, allocations: 0 / 375.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/0.446, allocations: 2.034 MB / 377.3 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.4474, allocations: 0.6479 MB / 377.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004775/0.4479, allocations: 115.9 kB / 378.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.4488, allocations: 147.4 kB / 378.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007189/0.4495, allocations: 333 kB / 378.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001096/0.4506, allocations: 1.089 MB / 379.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008073/0.4514, allocations: 0.5966 MB / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.4514, allocations: 0 / 380.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00154/0.453, allocations: 379.1 kB / 380.6 MB, free: 11.73 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.0006011/0.4536, allocations: 355.8 kB / 380.9 MB, free: 11.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006678/0.4603, allocations: 3.283 MB / 384.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4603, allocations: 0 / 384.2 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.4624, allocations: 1.104 MB / 385.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/0.4663, allocations: 1.065 MB / 386.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005894/0.4722, allocations: 3.313 MB / 389.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.4735, allocations: 1.316 MB / 391 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.008492/0.482, allocations: 3.371 MB / 394.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003706/0.4858, allocations: 0.9307 MB / 395.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of SimCode: time 3.547e-06/0.4858, allocations: 0 / 395.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Templates: time 0.06666/0.5525, allocations: 40.32 MB / 435.6 MB, free: 3.562 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)