Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_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.00156/0.00156, allocations: 99.23 kB / 16.94 MB, free: 5.98 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.001483/0.001483, allocations: 176.6 kB / 17.82 MB, free: 5.652 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.943/1.943, allocations: 205.4 MB / 224 MB, free: 13.16 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.0007182/0.0007185, allocations: 8 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1274, allocations: 47.58 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004081/0.1315, allocations: 2.151 MB / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003642/0.1352, allocations: 1.229 MB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.1358, allocations: 3.938 kB / 331.7 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1362, allocations: 51.61 kB / 331.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004573/0.1367, allocations: 63.83 kB / 331.8 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.1376, allocations: 143.7 kB / 332 MB, free: 452 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.1399, allocations: 1.075 MB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.1412, allocations: 0.7077 MB / 333.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1428, allocations: 0.9314 MB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.1439, allocations: 0.9588 MB / 335.6 MB, free: 12.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.1442, allocations: 40 kB / 335.7 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.1444, allocations: 40 kB / 335.7 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.1451, allocations: 450.9 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.1454, allocations: 281 kB / 336.4 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00352/0.1489, allocations: 3.768 MB / 340.2 MB, free: 8.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.149, allocations: 0 / 340.2 MB, free: 8.164 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.149, allocations: 0 / 340.2 MB, free: 8.164 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.9e-05/0.1491, allocations: 0 / 340.2 MB, free: 8.164 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.004759/0.1538, allocations: 1.697 MB / 341.9 MB, free: 6.402 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.1539, allocations: 12.02 kB / 341.9 MB, free: 6.391 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007026/0.1546, allocations: 174 kB / 342.1 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.1571, allocations: 1.026 MB / 343.1 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.1572, allocations: 94.53 kB / 343.2 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.1575, allocations: 135.9 kB / 343.3 MB, free: 4.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.1618, allocations: 2.274 MB / 345.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.1618, allocations: 7.922 kB / 345.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/0.1621, allocations: 52 kB / 345.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.561e-05/0.1621, allocations: 32 kB / 345.7 MB, free: 2.535 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004034/0.1662, allocations: 2.001 MB / 347.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00916/0.1754, allocations: 4.783 MB / 352.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.1791, allocations: 1.906 MB / 354.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.1793, allocations: 13.31 kB / 354.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/0.1814, allocations: 1.356 MB / 355.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.819e-06/0.1814, allocations: 0 / 355.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005332/0.1868, allocations: 2.7 MB / 358.4 MB, free: 5.676 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.1869, allocations: 94.42 kB / 358.5 MB, free: 5.566 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.1889, allocations: 0.9368 MB / 359.5 MB, free: 4.621 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003106/0.1893, allocations: 97.66 kB / 359.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004394/0.1897, allocations: 421.3 kB / 360 MB, free: 4.098 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004523/0.1902, allocations: 308.3 kB / 360.3 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.1903, allocations: 28 kB / 360.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000235/0.1906, allocations: 406.7 kB / 360.7 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.1922, allocations: 0.8744 MB / 361.6 MB, free: 2.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.1939, allocations: 1.039 MB / 362.6 MB, free: 1.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.1957, allocations: 1.042 MB / 363.7 MB, free: 364 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1957, allocations: 0 / 363.7 MB, free: 364 kB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004361/0.2001, allocations: 2.413 MB / 366.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.2002, allocations: 37.7 kB / 366.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.2002, allocations: 0 / 366.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.2002, allocations: 12 kB / 366.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/0.2007, allocations: 231.5 kB / 366.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.2008, allocations: 8 kB / 366.4 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.2022, allocations: 199.2 kB / 366.6 MB, free: 13.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/0.2036, allocations: 1.089 MB / 367.6 MB, free: 12.35 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,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.001899/0.2055, allocations: 0.9002 MB / 368.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004107/0.2059, allocations: 102.8 kB / 368.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.2062, allocations: 142.3 kB / 368.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.2063, allocations: 12 kB / 368.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.2063, allocations: 3.953 kB / 368.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/0.2063, allocations: 3.984 kB / 368.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/0.2103, allocations: 1.755 MB / 370.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.2103, allocations: 0 / 370.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.2108, allocations: 203.7 kB / 370.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.2108, allocations: 4 kB / 370.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.2112, allocations: 175.9 kB / 370.9 MB, free: 8.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.666e-05/0.2112, allocations: 11.94 kB / 370.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.2112, allocations: 4 kB / 370.9 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005453/0.2167, allocations: 2.049 MB / 373 MB, free: 6.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002042/0.2188, allocations: 0.644 MB / 373.6 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005908/0.2194, allocations: 123.9 kB / 373.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.2205, allocations: 143.5 kB / 373.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007788/0.2213, allocations: 328.9 kB / 374.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001569/0.2228, allocations: 1.085 MB / 375.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.2241, allocations: 0.5888 MB / 375.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2241, allocations: 3.938 kB / 375.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002185/0.2263, allocations: 379.2 kB / 376.3 MB, free: 3.594 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 (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.0008433/0.2272, allocations: 355.8 kB / 376.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00456/0.2317, allocations: 2.052 MB / 378.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.2318, allocations: 0 / 378.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002559/0.2344, allocations: 1.088 MB / 379.8 MB, free: 76 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.259/0.4934, allocations: 0.8983 MB / 380.7 MB, free: 50.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.5066, allocations: 3.18 MB / 383.8 MB, free: 49.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002633/0.5093, allocations: 1.336 MB / 385.2 MB, free: 48.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.01614/0.5254, allocations: 3.384 MB / 388.6 MB, free: 46.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008696/0.5342, allocations: 0.9262 MB / 389.5 MB, free: 46.19 MB / 318.1 MB Notification: Performance of SimCode: time 4.188e-06/0.5343, allocations: 0 / 389.5 MB, free: 46.19 MB / 318.1 MB Notification: Performance of Templates: time 0.08014/0.6145, allocations: 38.1 MB / 427.6 MB, free: 13.9 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches