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.001288/0.001288, allocations: 106 kB / 17.06 MB, free: 6.133 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.001401/0.001402, allocations: 195 kB / 18 MB, free: 5.207 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.784/1.784, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.001368/0.001368, allocations: 51.92 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1384, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004686/0.1431, allocations: 2.588 MB / 377.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.1471, allocations: 1.287 MB / 378.4 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1475, allocations: 7.938 kB / 378.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1479, allocations: 67.38 kB / 378.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1481, allocations: 67.31 kB / 378.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000897/0.1491, allocations: 235.7 kB / 378.7 MB, free: 312 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3706/0.5197, allocations: 2.067 MB / 380.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.5225, allocations: 0.9484 MB / 381.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004933/0.5274, allocations: 2.117 MB / 383.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003434/0.5309, allocations: 1.051 MB / 384.9 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.5324, allocations: 216.9 kB / 385.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009292/0.5333, allocations: 221.2 kB / 385.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.5345, allocations: 0.6294 MB / 386 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.5369, allocations: 0.8914 MB / 386.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009286/0.5462, allocations: 4.405 MB / 391.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.5463, allocations: 1.281 kB / 391.3 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5463, allocations: 4.875 kB / 391.3 MB, free: 7.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000208/0.5465, allocations: 0 / 391.3 MB, free: 7.035 MB / 318.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.01337/0.5599, allocations: 2.313 MB / 393.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.683e-05/0.56, allocations: 9.031 kB / 393.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/0.5615, allocations: 169.6 kB / 393.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003905/0.5655, allocations: 1.058 MB / 394.8 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001711/0.5657, allocations: 96.88 kB / 394.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008189/0.5665, allocations: 122.1 kB / 395 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008428/0.5749, allocations: 2.285 MB / 397.3 MB, free: 3.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.222e-05/0.5751, allocations: 3.938 kB / 397.3 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008193/0.5759, allocations: 51.19 kB / 397.4 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.518e-05/0.576, allocations: 35.12 kB / 397.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007146/0.5832, allocations: 1.98 MB / 399.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0205/0.6038, allocations: 4.811 MB / 404.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008468/0.6123, allocations: 1.854 MB / 406.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/0.6156, allocations: 0.7635 MB / 406.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001446/0.617, allocations: 13.69 kB / 406.8 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005766/0.6229, allocations: 1.348 MB / 408.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 7.504e-06/0.6229, allocations: 0 / 408.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.01222/0.6352, allocations: 2.673 MB / 410.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.6354, allocations: 94.42 kB / 410.9 MB, free: 10.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003058/0.6384, allocations: 0.9426 MB / 411.9 MB, free: 9.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001135/0.6396, allocations: 101.7 kB / 412 MB, free: 9.355 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.6404, allocations: 461.2 kB / 412.4 MB, free: 8.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001391/0.6418, allocations: 318.7 kB / 412.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003381/0.6452, allocations: 0.6633 MB / 413.4 MB, free: 7.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003546/0.6456, allocations: 410.7 kB / 413.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.6482, allocations: 0.8666 MB / 414.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.6509, allocations: 1.031 MB / 415.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/0.6557, allocations: 1.948 MB / 417.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/0.6558, allocations: 4 kB / 417.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006412/0.6622, allocations: 2.4 MB / 420.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.064e-05/0.6623, allocations: 37.64 kB / 420.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/0.6623, allocations: 4 kB / 420.1 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.625e-05/0.6624, allocations: 8 kB / 420.1 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.6632, allocations: 227.6 kB / 420.3 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.884e-05/0.6632, allocations: 11.94 kB / 420.3 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.6646, allocations: 88.38 kB / 420.4 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/0.6661, allocations: 1.097 MB / 421.5 MB, free: 15.7 MB / 350.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.003022/0.6691, allocations: 0.9 MB / 422.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008606/0.67, allocations: 102.8 kB / 422.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.6705, allocations: 134.3 kB / 422.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.6706, allocations: 15.94 kB / 422.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.138e-05/0.6706, allocations: 0 / 422.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.961e-05/0.6706, allocations: 7.969 kB / 422.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.6754, allocations: 1.759 MB / 424.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/0.6754, allocations: 0 / 424.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.6765, allocations: 203.7 kB / 424.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/0.6765, allocations: 7.938 kB / 424.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007365/0.6773, allocations: 175.9 kB / 424.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/0.6773, allocations: 4 kB / 424.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.6773, allocations: 8 kB / 424.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006129/0.6835, allocations: 2.034 MB / 426.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00271/0.6862, allocations: 0.6401 MB / 427.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001024/0.6873, allocations: 123.9 kB / 427.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.6884, allocations: 51.97 kB / 427.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009471/0.6893, allocations: 329 kB / 428 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001762/0.6911, allocations: 1.085 MB / 429.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.693, allocations: 0.5965 MB / 429.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.693, allocations: 0 / 429.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003541/0.6965, allocations: 379.1 kB / 430 MB, free: 7.086 MB / 350.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.001181/0.6977, allocations: 365.8 kB / 430.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006117/0.7039, allocations: 2.057 MB / 432.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.7039, allocations: 0 / 432.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003238/0.7072, allocations: 1.092 MB / 433.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007318/0.7145, allocations: 1.063 MB / 434.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009913/0.7245, allocations: 2.87 MB / 437.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.7265, allocations: 1.316 MB / 438.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.02164/0.7482, allocations: 3.374 MB / 442.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0137/0.762, allocations: 0.9269 MB / 443.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of SimCode: time 3.206e-06/0.762, allocations: 0 / 443.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of Templates: time 0.08333/0.8454, allocations: 40.99 MB / 484.1 MB, free: 15.93 MB / 414.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)