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.001103/0.001102, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001432/0.001432, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0006321/0.0006325, allocations: 12 kB / 278.9 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3391, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002927/0.3421, allocations: 2.15 MB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.345, allocations: 1.229 MB / 329.8 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001495/0.3452, allocations: 7.25 kB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.3454, allocations: 45.64 kB / 329.9 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.3456, allocations: 63.36 kB / 329.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.3461, allocations: 148.3 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3476, allocations: 1.073 MB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001219/0.3488, allocations: 0.7146 MB / 331.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.3506, allocations: 0.928 MB / 332.8 MB, free: 13.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.3518, allocations: 0.9585 MB / 333.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.3521, allocations: 36 kB / 333.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.3523, allocations: 40 kB / 333.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005777/0.3529, allocations: 450.8 kB / 334.3 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.3532, allocations: 285 kB / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.3562, allocations: 3.773 MB / 338.3 MB, free: 7.598 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3563, allocations: 0 / 338.3 MB, free: 7.598 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3563, allocations: 0 / 338.3 MB, free: 7.598 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.3563, allocations: 0 / 338.3 MB, free: 7.598 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.003361/0.3597, allocations: 1.697 MB / 340 MB, free: 5.836 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3597, allocations: 8.031 kB / 340 MB, free: 5.828 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.3601, allocations: 174 kB / 340.2 MB, free: 5.656 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.3622, allocations: 1.034 MB / 341.2 MB, free: 4.582 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.3624, allocations: 98.53 kB / 341.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.3627, allocations: 124 kB / 341.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.3667, allocations: 2.277 MB / 343.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.3667, allocations: 0 / 343.7 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.367, allocations: 55.94 kB / 343.8 MB, free: 2.004 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.367, allocations: 32 kB / 343.8 MB, free: 1.973 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003846/0.3709, allocations: 1.997 MB / 345.8 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009044/0.3799, allocations: 4.779 MB / 350.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003676/0.3836, allocations: 1.91 MB / 352.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.3838, allocations: 17.31 kB / 352.5 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002103/0.3859, allocations: 1.352 MB / 353.9 MB, free: 7.828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 3.557e-06/0.386, allocations: 0 / 353.9 MB, free: 7.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005135/0.3911, allocations: 2.693 MB / 356.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.3912, allocations: 98.36 kB / 356.6 MB, free: 5.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/0.3928, allocations: 0.9407 MB / 357.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.393, allocations: 93.66 kB / 357.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005053/0.3936, allocations: 425.3 kB / 358.1 MB, free: 3.539 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/0.394, allocations: 308.2 kB / 358.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.3942, allocations: 32 kB / 358.4 MB, free: 3.203 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002303/0.3945, allocations: 402.7 kB / 358.8 MB, free: 2.801 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.3961, allocations: 0.8744 MB / 359.7 MB, free: 1.926 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001867/0.398, allocations: 1.039 MB / 360.7 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/0.3998, allocations: 1.034 MB / 361.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3998, allocations: 0 / 361.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004408/0.4043, allocations: 2.412 MB / 364.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.4043, allocations: 33.7 kB / 364.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.4044, allocations: 4 kB / 364.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.553e-05/0.4044, allocations: 8 kB / 364.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.405, allocations: 235.5 kB / 364.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.181e-05/0.405, allocations: 12.03 kB / 364.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4065, allocations: 195.2 kB / 364.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.4076, allocations: 1.093 MB / 365.8 MB, free: 11.8 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,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.Clock.t_i,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,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,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,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,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,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,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,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,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001973/0.4096, allocations: 0.904 MB / 366.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.41, allocations: 102.8 kB / 366.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.4103, allocations: 134.3 kB / 366.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.4103, allocations: 12 kB / 366.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.4104, allocations: 3.953 kB / 366.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4104, allocations: 3.984 kB / 366.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.4135, allocations: 1.755 MB / 368.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.4135, allocations: 7.984 kB / 368.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/0.414, allocations: 207.6 kB / 368.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.603e-05/0.414, allocations: 15.92 kB / 368.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003254/0.4144, allocations: 171.9 kB / 369.1 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-05/0.4144, allocations: 11.95 kB / 369.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4144, allocations: 0 / 369.1 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/0.4185, allocations: 2.042 MB / 371.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.4202, allocations: 0.6401 MB / 371.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005474/0.4208, allocations: 127.9 kB / 371.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.4218, allocations: 143.6 kB / 372 MB, free: 5.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000634/0.4225, allocations: 332.9 kB / 372.3 MB, free: 5.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001112/0.4236, allocations: 1.081 MB / 373.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009685/0.4246, allocations: 0.5888 MB / 374 MB, free: 3.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4246, allocations: 0 / 374 MB, free: 3.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001854/0.4264, allocations: 383.1 kB / 374.4 MB, free: 3.035 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006944/0.4272, allocations: 355.8 kB / 374.7 MB, free: 2.68 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004097/0.4313, allocations: 2.049 MB / 376.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4313, allocations: 0 / 376.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.4333, allocations: 1.088 MB / 377.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003726/0.437, allocations: 0.9113 MB / 378.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.4424, allocations: 3.182 MB / 382 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.4437, allocations: 1.34 MB / 383.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.008531/0.4523, allocations: 3.382 MB / 386.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003041/0.4553, allocations: 0.923 MB / 387.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4553, allocations: 4 kB / 387.6 MB, free: 5.695 MB / 318.1 MB Notification: Performance of Templates: time 0.05537/0.5107, allocations: 38.1 MB / 425.7 MB, free: 14.6 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: