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.002843/0.002843, allocations: 110.1 kB / 17.17 MB, free: 6.34 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.002438/0.002438, allocations: 198.9 kB / 18.08 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.109/2.109, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.0019, allocations: 49.53 kB / 300.6 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1605, allocations: 49.45 MB / 350.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.006275/0.1668, allocations: 2.631 MB / 352.7 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004663/0.1715, allocations: 1.232 MB / 353.9 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006077/0.1722, allocations: 3.938 kB / 353.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.1728, allocations: 51.62 kB / 354 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005901/0.1734, allocations: 51.52 kB / 354 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1745, allocations: 215.8 kB / 354.2 MB, free: 460 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002685/0.1772, allocations: 1.842 MB / 356.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.1788, allocations: 0.9204 MB / 357 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.1814, allocations: 1.886 MB / 358.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.1831, allocations: 0.9297 MB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007376/0.1839, allocations: 72 kB / 359.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007938/0.1847, allocations: 76 kB / 360 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009864/0.1857, allocations: 482 kB / 360.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.1876, allocations: 0.7339 MB / 361.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003776/0.1914, allocations: 3.831 MB / 365 MB, free: 5.641 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1914, allocations: 0 / 365 MB, free: 5.641 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1914, allocations: 0 / 365 MB, free: 5.641 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001163/0.1916, allocations: 0 / 365 MB, free: 5.641 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.007989/0.1996, allocations: 2.309 MB / 367.3 MB, free: 3.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.1997, allocations: 12.03 kB / 367.3 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001298/0.201, allocations: 174.9 kB / 367.5 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.2038, allocations: 1.066 MB / 368.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.204, allocations: 98.91 kB / 368.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.2051, allocations: 120.4 kB / 368.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2978/0.503, allocations: 2.283 MB / 371 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.5031, allocations: 0.5156 kB / 371 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006213/0.5037, allocations: 54.25 kB / 371.1 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.894e-05/0.5038, allocations: 33.66 kB / 371.1 MB, free: 22.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009573/0.5134, allocations: 1.984 MB / 373.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.5335, allocations: 4.774 MB / 377.9 MB, free: 20.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008568/0.5422, allocations: 1.866 MB / 379.8 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.5457, allocations: 0.7587 MB / 380.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/0.5464, allocations: 17.81 kB / 380.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005093/0.5515, allocations: 1.352 MB / 381.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 1.013e-05/0.5516, allocations: 4.188 kB / 381.9 MB, free: 19.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.02016/0.5718, allocations: 2.67 MB / 384.6 MB, free: 18.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.5719, allocations: 95.48 kB / 384.7 MB, free: 18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/0.5747, allocations: 0.9433 MB / 385.6 MB, free: 17.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001144/0.5759, allocations: 101.1 kB / 385.7 MB, free: 17.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006355/0.5765, allocations: 459.7 kB / 386.1 MB, free: 16.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001197/0.5777, allocations: 314.7 kB / 386.5 MB, free: 16.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00343/0.5812, allocations: 0.6627 MB / 387.1 MB, free: 16.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003106/0.5815, allocations: 409.7 kB / 387.5 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/0.5841, allocations: 0.8659 MB / 388.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.5865, allocations: 1.042 MB / 389.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.5902, allocations: 1.949 MB / 391.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.5902, allocations: 0 / 391.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005103/0.5954, allocations: 2.406 MB / 393.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.5954, allocations: 37.64 kB / 393.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.5955, allocations: 4 kB / 393.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/0.5955, allocations: 11.94 kB / 393.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.5962, allocations: 227.5 kB / 394.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.064e-05/0.5962, allocations: 8 kB / 394.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.5984, allocations: 193.3 kB / 394.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/0.5996, allocations: 1.089 MB / 395.3 MB, free: 10.18 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,$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.002204/0.6018, allocations: 0.8985 MB / 396.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007478/0.6026, allocations: 102.8 kB / 396.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.603, allocations: 130.3 kB / 396.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.603, allocations: 23.92 kB / 396.5 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-05/0.603, allocations: 0 / 396.5 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.6031, allocations: 3.984 kB / 396.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/0.6064, allocations: 1.755 MB / 398.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/0.6065, allocations: 0 / 398.2 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.607, allocations: 207.7 kB / 398.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/0.607, allocations: 7.984 kB / 398.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003403/0.6074, allocations: 175.9 kB / 398.6 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-05/0.6074, allocations: 11.92 kB / 398.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6074, allocations: 0.9375 kB / 398.6 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/0.6115, allocations: 2.034 MB / 400.7 MB, free: 4.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/0.6131, allocations: 0.6461 MB / 401.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/0.6137, allocations: 115.9 kB / 401.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/0.6149, allocations: 147.4 kB / 401.6 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/0.6156, allocations: 321 kB / 401.9 MB, free: 3.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009519/0.6165, allocations: 1.087 MB / 403 MB, free: 2.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008816/0.6174, allocations: 0.5927 MB / 403.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6174, allocations: 0 / 403.6 MB, free: 1.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00194/0.6194, allocations: 379.2 kB / 403.9 MB, free: 1.473 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 (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.0006643/0.62, allocations: 368.8 kB / 404.3 MB, free: 1.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004378/0.6244, allocations: 2.03 MB / 406.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.6245, allocations: 0 / 406.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/0.6269, allocations: 1.061 MB / 407.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004826/0.6317, allocations: 0.9655 MB / 408.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008467/0.6402, allocations: 3.436 MB / 411.8 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002351/0.6426, allocations: 1.316 MB / 413.1 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008958/0.6516, allocations: 1.32 MB / 414.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of SimCode: time 2.294e-06/0.6517, allocations: 4 kB / 414.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Templates: time 0.05739/0.7091, allocations: 33.03 MB / 447.5 MB, free: 4.316 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches