Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008333/0.0008333, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0008746/0.0008747, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.808/1.808, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006717/0.0006721, allocations: 8 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1229, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003285/0.1262, allocations: 2.261 MB / 330.6 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.1295, allocations: 1.252 MB / 331.8 MB, free: 220 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004589/0.13, allocations: 7.938 kB / 331.8 MB, free: 212 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003267/0.1303, allocations: 55.56 kB / 331.9 MB, free: 156 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002271/0.1305, allocations: 47.58 kB / 331.9 MB, free: 108 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009933/0.1315, allocations: 211.8 kB / 332.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002392/0.134, allocations: 1.842 MB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/0.1354, allocations: 0.9008 MB / 334.9 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002749/0.1382, allocations: 1.808 MB / 336.7 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.1393, allocations: 0.8166 MB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.1395, allocations: 40 kB / 337.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.1397, allocations: 40 kB / 337.6 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.1402, allocations: 418 kB / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.1416, allocations: 0.6809 MB / 338.7 MB, free: 9.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.1463, allocations: 4.167 MB / 342.9 MB, free: 5.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.1463, allocations: 0 / 342.9 MB, free: 5.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.1463, allocations: 3.938 kB / 342.9 MB, free: 5.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.635e-05/0.1464, allocations: 0 / 342.9 MB, free: 5.137 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.004462/0.1509, allocations: 1.685 MB / 344.5 MB, free: 3.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1509, allocations: 8.031 kB / 344.5 MB, free: 3.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006681/0.1516, allocations: 167 kB / 344.7 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.1534, allocations: 1.066 MB / 345.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.1535, allocations: 106.9 kB / 345.9 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003495/0.1539, allocations: 120.4 kB / 346 MB, free: 1.883 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.1585, allocations: 2.297 MB / 348.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.1586, allocations: 0 / 348.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.1588, allocations: 52 kB / 348.3 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.1588, allocations: 36 kB / 348.4 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.163, allocations: 2.004 MB / 350.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.1716, allocations: 4.787 MB / 355.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.1754, allocations: 1.918 MB / 357.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001518/0.177, allocations: 0.7737 MB / 357.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.1771, allocations: 17.3 kB / 357.9 MB, free: 5.887 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.1795, allocations: 1.367 MB / 359.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.719e-06/0.1795, allocations: 4 kB / 359.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005378/0.1849, allocations: 2.697 MB / 361.9 MB, free: 1.793 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.185, allocations: 90.42 kB / 362 MB, free: 1.688 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.1866, allocations: 0.9446 MB / 363 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003658/0.187, allocations: 101.7 kB / 363.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.1875, allocations: 461.2 kB / 363.5 MB, free: 172 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/0.188, allocations: 308.5 kB / 363.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005293/0.1886, allocations: 241.7 kB / 364.1 MB, free: 15.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002728/0.1888, allocations: 406.7 kB / 364.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.1908, allocations: 0.8783 MB / 365.3 MB, free: 14.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002024/0.1928, allocations: 1.055 MB / 366.4 MB, free: 13.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.1966, allocations: 1.973 MB / 368.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.1966, allocations: 0 / 368.4 MB, free: 11.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005162/0.2018, allocations: 2.424 MB / 370.8 MB, free: 8.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.2019, allocations: 36.36 kB / 370.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2019, allocations: 0 / 370.8 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/0.202, allocations: 12 kB / 370.8 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005382/0.2025, allocations: 231.5 kB / 371.1 MB, free: 8.492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.2025, allocations: 12.03 kB / 371.1 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.2041, allocations: 195.1 kB / 371.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.2052, allocations: 1.093 MB / 372.4 MB, free: 7.195 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,Clock.t_i,$PRE.Clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001927/0.2071, allocations: 0.9002 MB / 373.3 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/0.2076, allocations: 98.88 kB / 373.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.2079, allocations: 134.3 kB / 373.5 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.208, allocations: 12 kB / 373.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/0.208, allocations: 0 / 373.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.208, allocations: 11.91 kB / 373.5 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003031/0.211, allocations: 1.755 MB / 375.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-06/0.2111, allocations: 4 kB / 375.3 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/0.2116, allocations: 207.7 kB / 375.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.2116, allocations: 4 kB / 375.5 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/0.2119, allocations: 179.8 kB / 375.7 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.2119, allocations: 4 kB / 375.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2119, allocations: 0.625 kB / 375.7 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004347/0.2163, allocations: 2.057 MB / 377.7 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.2175, allocations: 0.6517 MB / 378.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/0.218, allocations: 123.9 kB / 378.5 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/0.2188, allocations: 135.6 kB / 378.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007037/0.2195, allocations: 340.9 kB / 379 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2681/0.4876, allocations: 1.083 MB / 380 MB, free: 50.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.489, allocations: 0.5912 MB / 380.6 MB, free: 50.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4891, allocations: 0 / 380.6 MB, free: 50.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003953/0.493, allocations: 379.1 kB / 381 MB, free: 50.59 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.0009007/0.4939, allocations: 363.2 kB / 381.4 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005172/0.4991, allocations: 2.055 MB / 383.4 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4992, allocations: 4.938 kB / 383.4 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00257/0.5017, allocations: 1.11 MB / 384.5 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0054/0.5072, allocations: 0.969 MB / 385.5 MB, free: 50.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006415/0.5136, allocations: 3.324 MB / 388.8 MB, free: 48.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.5149, allocations: 1.317 MB / 390.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.009871/0.5248, allocations: 3.383 MB / 393.5 MB, free: 45.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003353/0.5282, allocations: 0.9231 MB / 394.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of SimCode: time 2.204e-06/0.5282, allocations: 0 / 394.4 MB, free: 45.17 MB / 318.1 MB Notification: Performance of Templates: time 0.04848/0.5767, allocations: 39.16 MB / 433.6 MB, free: 7.645 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)