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.0009123/0.0009124, allocations: 90.89 kB / 16.96 MB, free: 6.457 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.001038/0.001039, allocations: 182.4 kB / 17.85 MB, free: 6.008 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.59/1.59, allocations: 223.2 MB / 241.8 MB, free: 268 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 301.5 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 50.42 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003178/0.1324, allocations: 2.153 MB / 354 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1351, allocations: 1.182 MB / 355.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.1353, allocations: 8 kB / 355.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.1355, allocations: 43.58 kB / 355.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.1357, allocations: 51.5 kB / 355.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.1362, allocations: 143.8 kB / 355.4 MB, free: 432 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001713/0.1379, allocations: 1.714 MB / 357.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.139, allocations: 0.7038 MB / 357.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.1411, allocations: 1.446 MB / 359.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.1423, allocations: 0.9627 MB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.1425, allocations: 40 kB / 360.3 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.1428, allocations: 40 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006378/0.1434, allocations: 450.9 kB / 360.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.1438, allocations: 284.9 kB / 361.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003371/0.1472, allocations: 3.776 MB / 364.8 MB, free: 6.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1472, allocations: 4 kB / 364.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.1472, allocations: 0 / 364.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.066e-05/0.1473, allocations: 3.938 kB / 364.9 MB, free: 6.969 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.003346/0.1506, allocations: 1.693 MB / 366.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1507, allocations: 12.03 kB / 366.6 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.1511, allocations: 166 kB / 366.7 MB, free: 5.035 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.1529, allocations: 1.038 MB / 367.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.153, allocations: 106.5 kB / 367.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000429/0.1534, allocations: 120 kB / 368 MB, free: 3.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004698/0.1581, allocations: 2.285 MB / 370.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.1582, allocations: 0 / 370.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.1584, allocations: 55.94 kB / 370.3 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.1584, allocations: 28 kB / 370.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2723/0.4308, allocations: 1.996 MB / 372.3 MB, free: 22.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.444, allocations: 4.774 MB / 377.1 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00422/0.4483, allocations: 1.905 MB / 379 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.4499, allocations: 0.7645 MB / 379.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000251/0.4502, allocations: 21.86 kB / 379.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002975/0.4532, allocations: 1.371 MB / 381.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.929e-06/0.4532, allocations: 0 / 381.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005682/0.4589, allocations: 2.684 MB / 383.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.459, allocations: 91.89 kB / 384 MB, free: 18.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.4607, allocations: 0.9374 MB / 384.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.4609, allocations: 102.6 kB / 385 MB, free: 18.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.4613, allocations: 423.9 kB / 385.4 MB, free: 17.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004307/0.4618, allocations: 310 kB / 385.7 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.462, allocations: 32.06 kB / 385.7 MB, free: 17.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4621, allocations: 403.1 kB / 386.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.4639, allocations: 0.8738 MB / 387 MB, free: 16.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.4657, allocations: 1.044 MB / 388 MB, free: 16.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.4678, allocations: 1.034 MB / 389.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.4679, allocations: 3.984 kB / 389.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00459/0.4725, allocations: 2.42 MB / 391.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.4725, allocations: 33.66 kB / 391.5 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4725, allocations: 4.875 kB / 391.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.4726, allocations: 12 kB / 391.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.4731, allocations: 231.6 kB / 391.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-05/0.4731, allocations: 11.94 kB / 391.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4747, allocations: 188.1 kB / 392 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000865/0.4756, allocations: 1.089 MB / 393.1 MB, free: 12.99 MB / 302.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.00147/0.477, allocations: 0.9003 MB / 394 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.4774, allocations: 102.8 kB / 394.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.4776, allocations: 142.2 kB / 394.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4776, allocations: 12 kB / 394.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.041e-05/0.4777, allocations: 0 / 394.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.4777, allocations: 3.984 kB / 394.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.4803, allocations: 1.76 MB / 396 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4803, allocations: 0 / 396 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4808, allocations: 211.7 kB / 396.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.4808, allocations: 7.953 kB / 396.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.481, allocations: 178.6 kB / 396.4 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.481, allocations: 4 kB / 396.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.481, allocations: 0 / 396.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.4843, allocations: 2.042 MB / 398.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.4855, allocations: 0.6485 MB / 399.1 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004075/0.4859, allocations: 119.9 kB / 399.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007514/0.4867, allocations: 151.4 kB / 399.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005599/0.4872, allocations: 328.9 kB / 399.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008575/0.4881, allocations: 1.085 MB / 400.7 MB, free: 5.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007223/0.4888, allocations: 0.5849 MB / 401.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4888, allocations: 4 kB / 401.3 MB, free: 4.656 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001508/0.4904, allocations: 383.1 kB / 401.7 MB, free: 4.281 MB / 302.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.0004825/0.4909, allocations: 364.6 kB / 402.1 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003356/0.4942, allocations: 2.053 MB / 404.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.4942, allocations: 0 / 404.1 MB, free: 1.855 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001574/0.4958, allocations: 1.061 MB / 405.2 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.4991, allocations: 0.9232 MB / 406.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006437/0.5056, allocations: 3.301 MB / 409.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.507, allocations: 1.324 MB / 410.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006298/0.5133, allocations: 1.316 MB / 412 MB, free: 9.875 MB / 318.1 MB Notification: Performance of SimCode: time 1.724e-06/0.5133, allocations: 0 / 412 MB, free: 9.875 MB / 318.1 MB Notification: Performance of Templates: time 0.05921/0.5725, allocations: 32.98 MB / 445 MB, free: 7.352 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Digital.Examples.CounterCalcHelperMain.o] Error 1