Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001586/0.001586, allocations: 93.95 kB / 16.3 MB, free: 5.992 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.001839/0.00184, allocations: 183.8 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002856, allocations: 6.625 kB / 300.7 MB, free: 6.043 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 50.42 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00266/0.1174, allocations: 2.144 MB / 353.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1197, allocations: 1.198 MB / 354.5 MB, free: 8.391 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.1198, allocations: 4 kB / 354.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.12, allocations: 43.64 kB / 354.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1201, allocations: 75.73 kB / 354.6 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1206, allocations: 135.8 kB / 354.7 MB, free: 8.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1217, allocations: 1.082 MB / 355.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008264/0.1226, allocations: 0.7038 MB / 356.5 MB, free: 6.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1238, allocations: 0.947 MB / 357.5 MB, free: 5.379 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009437/0.1247, allocations: 0.9549 MB / 358.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.1249, allocations: 36 kB / 358.4 MB, free: 4.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.1251, allocations: 40 kB / 358.5 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.1256, allocations: 442.9 kB / 358.9 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.1259, allocations: 288.9 kB / 359.2 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.1286, allocations: 3.764 MB / 363 MB, free: 15.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1286, allocations: 0 / 363 MB, free: 15.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1286, allocations: 0 / 363 MB, free: 15.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.892e-05/0.1286, allocations: 0 / 363 MB, free: 15.85 MB / 302.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.003044/0.1317, allocations: 1.708 MB / 364.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1317, allocations: 8.031 kB / 364.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.1322, allocations: 170 kB / 364.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.1343, allocations: 1.026 MB / 365.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.1344, allocations: 102.5 kB / 366 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/0.1347, allocations: 128 kB / 366.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.1386, allocations: 2.27 MB / 368.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.1386, allocations: 3.984 kB / 368.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.1389, allocations: 55.94 kB / 368.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.1389, allocations: 39.94 kB / 368.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/0.1425, allocations: 1.997 MB / 370.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008482/0.151, allocations: 4.775 MB / 375.2 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.1546, allocations: 1.91 MB / 377.1 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.1548, allocations: 21.23 kB / 377.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002041/0.1569, allocations: 1.356 MB / 378.5 MB, free: 64 kB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 1.481e-05/0.1569, allocations: 3.984 kB / 378.5 MB, free: 60 kB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004972/0.1619, allocations: 2.693 MB / 381.2 MB, free: 13.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.162, allocations: 90.42 kB / 381.3 MB, free: 13.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.1636, allocations: 0.9368 MB / 382.2 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/0.1639, allocations: 97.66 kB / 382.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/0.1643, allocations: 417.3 kB / 382.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004463/0.1648, allocations: 312.3 kB / 383.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.165, allocations: 27.98 kB / 383.1 MB, free: 11.45 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.1652, allocations: 410.7 kB / 383.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.1668, allocations: 0.8705 MB / 384.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.1684, allocations: 1.047 MB / 385.4 MB, free: 9.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001794/0.1702, allocations: 1.027 MB / 386.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.1703, allocations: 0 / 386.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004415/0.1747, allocations: 2.412 MB / 388.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.1748, allocations: 33.7 kB / 388.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.1748, allocations: 4 kB / 388.9 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.142e-05/0.1748, allocations: 11.98 kB / 388.9 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.1754, allocations: 227.6 kB / 389.1 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.328e-05/0.1754, allocations: 15.98 kB / 389.1 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.1768, allocations: 191.2 kB / 389.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/0.1779, allocations: 1.093 MB / 390.4 MB, free: 4.047 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.001764/0.1796, allocations: 0.904 MB / 391.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/0.1801, allocations: 106.8 kB / 391.4 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003147/0.1805, allocations: 130.3 kB / 391.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.1805, allocations: 15.94 kB / 391.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.1805, allocations: 0 / 391.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.1805, allocations: 7.969 kB / 391.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003156/0.1837, allocations: 1.759 MB / 393.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.1837, allocations: 0 / 393.3 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004624/0.1842, allocations: 203.7 kB / 393.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.1842, allocations: 8 kB / 393.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/0.1845, allocations: 175.9 kB / 393.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.1845, allocations: 4 kB / 393.7 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.1845, allocations: 4 kB / 393.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.1885, allocations: 2.049 MB / 395.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/0.1901, allocations: 0.6479 MB / 396.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005307/0.1906, allocations: 119.9 kB / 396.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.1916, allocations: 147.5 kB / 396.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006317/0.1923, allocations: 325 kB / 397 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001017/0.1933, allocations: 1.085 MB / 398.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009151/0.1942, allocations: 0.5849 MB / 398.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1943, allocations: 0 / 398.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001617/0.1959, allocations: 379.2 kB / 399 MB, free: 11.3 MB / 334.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.0006147/0.1965, allocations: 363.7 kB / 399.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.2003, allocations: 2.05 MB / 401.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2004, allocations: 0 / 401.4 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.2023, allocations: 1.096 MB / 402.5 MB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/0.2058, allocations: 0.9014 MB / 403.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/0.2116, allocations: 3.181 MB / 406.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.2129, allocations: 1.34 MB / 407.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.007172/0.2201, allocations: 3.386 MB / 411.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003444/0.2235, allocations: 0.923 MB / 412.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2236, allocations: 0 / 412.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of Templates: time 0.2316/0.4551, allocations: 38.1 MB / 450.4 MB, free: 50.96 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches