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.001321/0.001321, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.01396/0.01396, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.034/2.034, allocations: 205.4 MB / 222.5 MB, free: 5.566 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.0005536/0.0005536, allocations: 20.33 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4171, allocations: 47.58 MB / 327 MB, free: 1.602 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003164/0.4204, allocations: 2.267 MB / 329.3 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003027/0.4234, allocations: 1.248 MB / 330.5 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001596/0.4236, allocations: 7.656 kB / 330.6 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.4238, allocations: 50.73 kB / 330.6 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.424, allocations: 59.19 kB / 330.7 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.4247, allocations: 209.3 kB / 330.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.4272, allocations: 1.833 MB / 332.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.4286, allocations: 0.9132 MB / 333.6 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002277/0.4309, allocations: 1.793 MB / 335.4 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009854/0.4319, allocations: 0.8244 MB / 336.2 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.4321, allocations: 40 kB / 336.3 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.4324, allocations: 40 kB / 336.3 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.4329, allocations: 410.1 kB / 336.7 MB, free: 9.809 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009316/0.4338, allocations: 0.6886 MB / 337.4 MB, free: 9.109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.4375, allocations: 4.172 MB / 341.6 MB, free: 4.926 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4375, allocations: 0 / 341.6 MB, free: 4.926 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4375, allocations: 0 / 341.6 MB, free: 4.926 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.276e-05/0.4376, allocations: 0 / 341.6 MB, free: 4.926 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.003393/0.441, allocations: 1.677 MB / 343.2 MB, free: 3.184 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/0.4411, allocations: 16.03 kB / 343.3 MB, free: 3.168 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.4415, allocations: 171 kB / 343.4 MB, free: 3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.4432, allocations: 1.062 MB / 344.5 MB, free: 1.895 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.4433, allocations: 102.9 kB / 344.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.4436, allocations: 124.4 kB / 344.7 MB, free: 1.672 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/0.4479, allocations: 2.301 MB / 347 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.4479, allocations: 0 / 347 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.4481, allocations: 48 kB / 347.1 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.4482, allocations: 35.94 kB / 347.1 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.452, allocations: 2.005 MB / 349.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008148/0.4601, allocations: 4.79 MB / 353.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003728/0.4639, allocations: 1.922 MB / 355.8 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4653, allocations: 0.7737 MB / 356.6 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/0.4655, allocations: 17.25 kB / 356.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002306/0.4678, allocations: 1.363 MB / 358 MB, free: 4.289 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 5.711e-06/0.4679, allocations: 0 / 358 MB, free: 4.289 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005497/0.4734, allocations: 2.7 MB / 360.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.4735, allocations: 94.42 kB / 360.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.475, allocations: 0.9369 MB / 361.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.4753, allocations: 105.6 kB / 361.8 MB, free: 424 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.4758, allocations: 457.3 kB / 362.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/0.4762, allocations: 312.3 kB / 362.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004457/0.4767, allocations: 233.7 kB / 362.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.4769, allocations: 410.7 kB / 363.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001644/0.4786, allocations: 0.8783 MB / 364.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.4803, allocations: 1.051 MB / 365.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.4836, allocations: 1.977 MB / 367.1 MB, free: 11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/0.4837, allocations: 3.938 kB / 367.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004651/0.4883, allocations: 2.424 MB / 369.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.4884, allocations: 33.73 kB / 369.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.4884, allocations: 4 kB / 369.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/0.4885, allocations: 8 kB / 369.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.489, allocations: 231.5 kB / 369.8 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.4891, allocations: 8 kB / 369.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4907, allocations: 199.2 kB / 370 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00125/0.4919, allocations: 1.093 MB / 371.1 MB, free: 6.98 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.00227/0.4942, allocations: 0.9002 MB / 372 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005406/0.4948, allocations: 102.8 kB / 372.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.4951, allocations: 134.3 kB / 372.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.4952, allocations: 16 kB / 372.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/0.4952, allocations: 0 / 372.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.4952, allocations: 7.922 kB / 372.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.4987, allocations: 1.755 MB / 374 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4987, allocations: 0 / 374 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.4992, allocations: 215.7 kB / 374.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.4992, allocations: 4 kB / 374.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002749/0.4995, allocations: 175.9 kB / 374.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.075e-05/0.4995, allocations: 4 kB / 374.4 MB, free: 3.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4995, allocations: 3.938 kB / 374.4 MB, free: 3.586 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004198/0.5037, allocations: 2.061 MB / 376.4 MB, free: 1.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/0.5053, allocations: 0.6479 MB / 377.1 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/0.5059, allocations: 115.9 kB / 377.2 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.5071, allocations: 143.6 kB / 377.3 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008692/0.508, allocations: 329 kB / 377.7 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001509/0.5095, allocations: 1.089 MB / 378.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001243/0.5107, allocations: 0.5966 MB / 379.3 MB, free: 14.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5107, allocations: 3.938 kB / 379.4 MB, free: 14.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002137/0.5129, allocations: 379.1 kB / 379.7 MB, free: 14.2 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.001047/0.514, allocations: 371.7 kB / 380.1 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004674/0.5186, allocations: 2.053 MB / 382.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5187, allocations: 0 / 382.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.521, allocations: 1.108 MB / 383.2 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/0.5255, allocations: 0.9663 MB / 384.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007659/0.5331, allocations: 3.318 MB / 387.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002026/0.5353, allocations: 1.32 MB / 388.9 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.009825/0.5451, allocations: 3.378 MB / 392.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003529/0.5487, allocations: 0.9269 MB / 393.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of SimCode: time 2.495e-06/0.5487, allocations: 0 / 393.2 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of Templates: time 0.06617/0.6149, allocations: 39.15 MB / 432.3 MB, free: 8.504 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)