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.0009061/0.0009062, allocations: 87.11 kB / 17.58 MB, free: 5.758 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.001088/0.001088, allocations: 186.4 kB / 18.48 MB, free: 5.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 224.6 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004856, allocations: 16 kB / 281.4 MB, free: 3.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 47.58 MB / 329 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002696/0.1256, allocations: 2.162 MB / 331.1 MB, free: 1.898 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002426/0.1281, allocations: 1.221 MB / 332.4 MB, free: 0.668 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1283, allocations: 4 kB / 332.4 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.1285, allocations: 39.58 kB / 332.4 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.1286, allocations: 55.56 kB / 332.5 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.1291, allocations: 143.8 kB / 332.6 MB, free: 440 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001446/0.1305, allocations: 1.714 MB / 334.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008306/0.1314, allocations: 0.7038 MB / 335 MB, free: 13.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.1332, allocations: 1.443 MB / 336.5 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009823/0.1342, allocations: 0.9665 MB / 337.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.1344, allocations: 40 kB / 337.5 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.1346, allocations: 40 kB / 337.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005106/0.1352, allocations: 454.9 kB / 337.9 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.1354, allocations: 281 kB / 338.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.1383, allocations: 3.784 MB / 342 MB, free: 6.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1383, allocations: 0 / 342 MB, free: 6.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1383, allocations: 0 / 342 MB, free: 6.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.442e-05/0.1384, allocations: 0 / 342 MB, free: 6.977 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.003327/0.1417, allocations: 1.701 MB / 343.7 MB, free: 5.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1418, allocations: 12.03 kB / 343.7 MB, free: 5.199 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/0.1422, allocations: 170 kB / 343.9 MB, free: 5.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.1438, allocations: 1.03 MB / 344.9 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.144, allocations: 102.5 kB / 345 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.1443, allocations: 120 kB / 345.1 MB, free: 3.742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004317/0.1486, allocations: 2.285 MB / 347.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.362e-05/0.1487, allocations: 0 / 347.4 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.1489, allocations: 52 kB / 347.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.1489, allocations: 28 kB / 347.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003974/0.1529, allocations: 2.004 MB / 349.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008576/0.1615, allocations: 4.787 MB / 354.3 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.1652, allocations: 1.906 MB / 356.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.1666, allocations: 0.7659 MB / 357 MB, free: 7.809 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.1668, allocations: 13.31 kB / 357 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002096/0.1689, allocations: 1.356 MB / 358.3 MB, free: 6.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.705e-06/0.169, allocations: 4 kB / 358.3 MB, free: 6.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00512/0.1741, allocations: 2.696 MB / 361 MB, free: 3.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.715e-05/0.1742, allocations: 94.42 kB / 361.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/0.1758, allocations: 0.9329 MB / 362.1 MB, free: 2.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002373/0.176, allocations: 97.66 kB / 362.1 MB, free: 2.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.1765, allocations: 425.3 kB / 362.6 MB, free: 2.133 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.177, allocations: 316.1 kB / 362.9 MB, free: 1.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.1772, allocations: 31.98 kB / 362.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002651/0.1775, allocations: 410.7 kB / 363.3 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.1791, allocations: 0.8705 MB / 364.2 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.1808, allocations: 1.043 MB / 365.2 MB, free: 15.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.1825, allocations: 1.034 MB / 366.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.1826, allocations: 4 kB / 366.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004212/0.1868, allocations: 2.401 MB / 368.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.033e-05/0.1869, allocations: 37.7 kB / 368.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1869, allocations: 4 kB / 368.7 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1869, allocations: 11.95 kB / 368.7 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.1874, allocations: 227.6 kB / 368.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.1875, allocations: 16.17 kB / 368.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.1887, allocations: 199.1 kB / 369.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.1899, allocations: 1.096 MB / 370.2 MB, free: 10.37 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.001633/0.1915, allocations: 0.9041 MB / 371.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.1918, allocations: 102.8 kB / 371.2 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.1921, allocations: 130.3 kB / 371.4 MB, free: 9.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.1921, allocations: 16 kB / 371.4 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.1921, allocations: 3.953 kB / 371.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.1922, allocations: 7.969 kB / 371.4 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.1947, allocations: 1.747 MB / 373.1 MB, free: 7.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1948, allocations: 4 kB / 373.1 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.1952, allocations: 207.7 kB / 373.4 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1952, allocations: 4 kB / 373.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002513/0.1955, allocations: 175.9 kB / 373.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.1955, allocations: 7.953 kB / 373.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1955, allocations: 0 / 373.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.1993, allocations: 2.045 MB / 375.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.2005, allocations: 0.6479 MB / 376.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/0.201, allocations: 119.9 kB / 376.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.2018, allocations: 151.4 kB / 376.5 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005633/0.2023, allocations: 324.9 kB / 376.8 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/0.2034, allocations: 1.085 MB / 377.9 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008783/0.2043, allocations: 0.5849 MB / 378.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2043, allocations: 0 / 378.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001565/0.2058, allocations: 379.2 kB / 378.9 MB, free: 1.633 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.0005338/0.2064, allocations: 367.8 kB / 379.2 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.2042/0.4106, allocations: 2.036 MB / 381.2 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.4107, allocations: 3.828 kB / 381.2 MB, free: 50.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00303/0.4137, allocations: 1.074 MB / 382.3 MB, free: 50.53 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/0.4174, allocations: 0.9189 MB / 383.2 MB, free: 50.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.4232, allocations: 3.294 MB / 386.5 MB, free: 49.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.4244, allocations: 1.325 MB / 387.9 MB, free: 48.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004432/0.4288, allocations: 1.315 MB / 389.2 MB, free: 47.7 MB / 318.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4288, allocations: 0 / 389.2 MB, free: 47.7 MB / 318.1 MB Notification: Performance of Templates: time 0.03623/0.4651, allocations: 32.97 MB / 422.1 MB, free: 19.69 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.o] Error 1