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.001041/0.001041, allocations: 93.09 kB / 17.96 MB, free: 5.629 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.001145/0.001145, allocations: 178.8 kB / 18.86 MB, free: 4.773 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.869/1.869, allocations: 205.4 MB / 225 MB, free: 13.07 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.0006039/0.0006038, allocations: 8 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 47.58 MB / 329.6 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003/0.1273, allocations: 2.266 MB / 331.9 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1301, allocations: 1.256 MB / 333.1 MB, free: 220 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.1303, allocations: 4 kB / 333.1 MB, free: 216 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.1305, allocations: 55.56 kB / 333.2 MB, free: 160 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1307, allocations: 59.5 kB / 333.2 MB, free: 100 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.1313, allocations: 207.8 kB / 333.4 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.1331, allocations: 1.839 MB / 335.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.1342, allocations: 0.9048 MB / 336.2 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.1364, allocations: 1.8 MB / 338 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.1376, allocations: 0.8205 MB / 338.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.1378, allocations: 40 kB / 338.9 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.1381, allocations: 36 kB / 338.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.1386, allocations: 418.1 kB / 339.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009787/0.1396, allocations: 0.6926 MB / 340 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.1434, allocations: 3.776 MB / 343.8 MB, free: 5.527 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/0.1434, allocations: 4 kB / 343.8 MB, free: 5.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1434, allocations: 0 / 343.8 MB, free: 5.523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.892e-05/0.1435, allocations: 0 / 343.8 MB, free: 5.523 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.004186/0.1477, allocations: 1.681 MB / 345.4 MB, free: 3.777 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.92e-05/0.1478, allocations: 8.031 kB / 345.5 MB, free: 3.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/0.1483, allocations: 175 kB / 345.6 MB, free: 3.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.1503, allocations: 1.062 MB / 346.7 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.1504, allocations: 98.91 kB / 346.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003465/0.1508, allocations: 124.4 kB / 346.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004348/0.1552, allocations: 2.293 MB / 349.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.1552, allocations: 0 / 349.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.1554, allocations: 52 kB / 349.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.1555, allocations: 39.98 kB / 349.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.1595, allocations: 2.001 MB / 351.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008998/0.1685, allocations: 4.798 MB / 356.1 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.1724, allocations: 1.91 MB / 358 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/0.1739, allocations: 0.7737 MB / 358.8 MB, free: 6.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1741, allocations: 17.3 kB / 358.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002238/0.1764, allocations: 1.363 MB / 360.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 5.08e-06/0.1764, allocations: 4 kB / 360.2 MB, free: 4.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005684/0.1821, allocations: 2.7 MB / 362.9 MB, free: 2.184 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.226e-05/0.1822, allocations: 90.42 kB / 362.9 MB, free: 2.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.1838, allocations: 0.9407 MB / 363.9 MB, free: 1.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003005/0.1841, allocations: 105.6 kB / 364 MB, free: 1.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004106/0.1845, allocations: 457.3 kB / 364.4 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000447/0.185, allocations: 320.1 kB / 364.7 MB, free: 252 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/0.1854, allocations: 233.7 kB / 365 MB, free: 12 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003238/0.1857, allocations: 406.8 kB / 365.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001682/0.1874, allocations: 0.8822 MB / 366.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.1892, allocations: 1.043 MB / 367.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/0.1927, allocations: 1.981 MB / 369.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.1927, allocations: 4 kB / 369.3 MB, free: 11.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004605/0.1973, allocations: 2.42 MB / 371.7 MB, free: 9.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.1974, allocations: 33.7 kB / 371.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.1974, allocations: 4 kB / 371.7 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/0.1974, allocations: 8 kB / 371.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.1981, allocations: 231.5 kB / 372 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/0.1981, allocations: 16.66 kB / 372 MB, free: 8.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.1996, allocations: 199.1 kB / 372.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.2007, allocations: 1.089 MB / 373.3 MB, free: 7.586 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.001977/0.2027, allocations: 0.9002 MB / 374.2 MB, free: 6.656 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.2032, allocations: 102.9 kB / 374.3 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003997/0.2036, allocations: 130.3 kB / 374.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.2037, allocations: 12 kB / 374.4 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.2037, allocations: 0 / 374.4 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.2037, allocations: 11.92 kB / 374.4 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.2072, allocations: 1.759 MB / 376.2 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/0.2072, allocations: 4 kB / 376.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.2077, allocations: 207.7 kB / 376.4 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.955e-05/0.2078, allocations: 4 kB / 376.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/0.2081, allocations: 175.9 kB / 376.6 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.2081, allocations: 4 kB / 376.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2081, allocations: 0 / 376.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004234/0.2123, allocations: 2.057 MB / 378.6 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.2136, allocations: 0.6479 MB / 379.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.2141, allocations: 123.9 kB / 379.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.2151, allocations: 143.6 kB / 379.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/0.2158, allocations: 321 kB / 379.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2435/0.4594, allocations: 1.082 MB / 380.9 MB, free: 50.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.4607, allocations: 0.5919 MB / 381.5 MB, free: 50.41 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4607, allocations: 0.875 kB / 381.5 MB, free: 50.41 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002559/0.4633, allocations: 382.6 kB / 381.9 MB, free: 50.41 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.0007922/0.4641, allocations: 353.6 kB / 382.2 MB, free: 50.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.4687, allocations: 2.056 MB / 384.3 MB, free: 50.22 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.4688, allocations: 3.906 kB / 384.3 MB, free: 50.22 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.471, allocations: 1.072 MB / 385.4 MB, free: 50.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/0.4759, allocations: 0.9704 MB / 386.3 MB, free: 49.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00645/0.4824, allocations: 3.441 MB / 389.8 MB, free: 48.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.4837, allocations: 1.319 MB / 391.1 MB, free: 47.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005008/0.4887, allocations: 1.319 MB / 392.4 MB, free: 46.6 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4888, allocations: 0 / 392.4 MB, free: 46.6 MB / 318.1 MB Notification: Performance of Templates: time 0.0474/0.5362, allocations: 32.93 MB / 425.4 MB, free: 16.55 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++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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