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.001536/0.001535, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001781/0.001782, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.948/1.948, allocations: 205.1 MB / 224.1 MB, free: 12.46 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.001204/0.001205, allocations: 52.39 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 46.64 MB / 326.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005966/0.143, allocations: 2.627 MB / 329.4 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003925/0.147, allocations: 1.264 MB / 330.7 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.1473, allocations: 4 kB / 330.7 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1476, allocations: 55.56 kB / 330.7 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1478, allocations: 59.5 kB / 330.8 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.1485, allocations: 207.8 kB / 331 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.1507, allocations: 2.069 MB / 333.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.1528, allocations: 0.9438 MB / 334 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.1558, allocations: 2.152 MB / 336.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.1576, allocations: 1.082 MB / 337.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004968/0.1581, allocations: 216 kB / 337.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/0.1585, allocations: 220 kB / 337.7 MB, free: 9.859 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007787/0.1593, allocations: 0.6269 MB / 338.3 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.1609, allocations: 0.8979 MB / 339.2 MB, free: 8.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.1652, allocations: 4.347 MB / 343.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1652, allocations: 0 / 343.5 MB, free: 3.969 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1652, allocations: 4 kB / 343.5 MB, free: 3.965 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.335e-05/0.1653, allocations: 4 kB / 343.5 MB, free: 3.961 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.005387/0.1707, allocations: 2.305 MB / 345.8 MB, free: 1.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1707, allocations: 12.03 kB / 345.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004415/0.1712, allocations: 163.1 kB / 346 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1729, allocations: 1.062 MB / 347.1 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.173, allocations: 102.8 kB / 347.2 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.1733, allocations: 120.4 kB / 347.3 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/0.1779, allocations: 2.297 MB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.178, allocations: 3.984 kB / 349.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.1783, allocations: 52 kB / 349.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.378e-05/0.1783, allocations: 28 kB / 349.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004066/0.1824, allocations: 1.989 MB / 351.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008837/0.1912, allocations: 4.783 MB / 356.5 MB, free: 6.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/0.1952, allocations: 1.863 MB / 358.3 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.1967, allocations: 0.7581 MB / 359.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002519/0.197, allocations: 17.3 kB / 359.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.1992, allocations: 1.359 MB / 360.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.737e-06/0.1992, allocations: 0 / 360.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005318/0.2045, allocations: 2.665 MB / 363.1 MB, free: 148 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.2047, allocations: 94.41 kB / 363.2 MB, free: 36 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.2062, allocations: 0.9369 MB / 364.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003368/0.2065, allocations: 97.66 kB / 364.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.207, allocations: 465.2 kB / 364.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.2075, allocations: 312.3 kB / 365 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.2087, allocations: 0.6672 MB / 365.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002676/0.2089, allocations: 414.7 kB / 366.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00167/0.2106, allocations: 0.8626 MB / 366.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.2123, allocations: 1.043 MB / 368 MB, free: 11.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003238/0.2156, allocations: 1.95 MB / 369.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.2156, allocations: 3.938 kB / 369.9 MB, free: 9.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004575/0.2202, allocations: 2.408 MB / 372.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.2203, allocations: 33.7 kB / 372.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2203, allocations: 0 / 372.4 MB, free: 6.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.994e-05/0.2204, allocations: 12 kB / 372.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.2209, allocations: 227.6 kB / 372.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.221, allocations: 11.94 kB / 372.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.2225, allocations: 187.2 kB / 372.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.2239, allocations: 1.093 MB / 373.9 MB, free: 5.184 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.00188/0.2257, allocations: 0.8963 MB / 374.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004233/0.2262, allocations: 106.8 kB / 374.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.2265, allocations: 130.3 kB / 375 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.2265, allocations: 12 kB / 375 MB, free: 4.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.2265, allocations: 4 kB / 375 MB, free: 4.004 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.2265, allocations: 15.91 kB / 375.1 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.2299, allocations: 1.755 MB / 376.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.2299, allocations: 0 / 376.8 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005564/0.2305, allocations: 215.6 kB / 377 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.2305, allocations: 4 kB / 377 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/0.2308, allocations: 175.9 kB / 377.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.2309, allocations: 4 kB / 377.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2309, allocations: 0 / 377.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2627/0.4936, allocations: 2.032 MB / 379.2 MB, free: 51.71 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/0.4958, allocations: 0.6441 MB / 379.9 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007264/0.4965, allocations: 117.6 kB / 380 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.4977, allocations: 141.2 kB / 380.1 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000902/0.4986, allocations: 329.9 kB / 380.4 MB, free: 51.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001352/0.5, allocations: 1.092 MB / 381.5 MB, free: 51.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009098/0.5009, allocations: 0.5935 MB / 382.1 MB, free: 51.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5009, allocations: 0 / 382.1 MB, free: 51.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002179/0.5031, allocations: 376.7 kB / 382.5 MB, free: 51.45 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.0008504/0.504, allocations: 367.1 kB / 382.9 MB, free: 51.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.007694/0.5117, allocations: 3.283 MB / 386.1 MB, free: 50.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.5117, allocations: 0 / 386.1 MB, free: 50.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.514, allocations: 1.101 MB / 387.2 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/0.5185, allocations: 1.061 MB / 388.3 MB, free: 50.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006926/0.5255, allocations: 3.323 MB / 391.6 MB, free: 48.63 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/0.5268, allocations: 1.315 MB / 392.9 MB, free: 47.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.007438/0.5343, allocations: 3.369 MB / 396.3 MB, free: 45.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003697/0.538, allocations: 0.9307 MB / 397.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of SimCode: time 3.396e-06/0.5381, allocations: 0 / 397.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of Templates: time 0.04969/0.5878, allocations: 40.32 MB / 437.6 MB, free: 4.043 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile (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) 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