Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 114.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001264/0.001264, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 67.66 kB / 306.4 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 50.53 MB / 357 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004227/0.1243, allocations: 2.636 MB / 359.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002783/0.1271, allocations: 1.259 MB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1272, allocations: 7.938 kB / 360.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.1275, allocations: 47.62 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.1277, allocations: 55.52 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.1283, allocations: 211.8 kB / 361.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.1301, allocations: 2.065 MB / 363.2 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.1311, allocations: 0.9555 MB / 364.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002322/0.1334, allocations: 2.144 MB / 366.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.1347, allocations: 1.09 MB / 367.4 MB, free: 3.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003988/0.1351, allocations: 216 kB / 367.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.1355, allocations: 216 kB / 367.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006266/0.1361, allocations: 0.627 MB / 368.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001069/0.1372, allocations: 0.9018 MB / 369.4 MB, free: 1.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1907/0.3279, allocations: 4.343 MB / 373.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.328, allocations: 1.094 kB / 373.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.328, allocations: 0 / 373.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.294e-05/0.3281, allocations: 6.797 kB / 373.7 MB, free: 14.25 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.00472/0.3328, allocations: 2.313 MB / 376.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3329, allocations: 9.094 kB / 376.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/0.3333, allocations: 169.2 kB / 376.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.3348, allocations: 1.056 MB / 377.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002228/0.3351, allocations: 128.5 kB / 377.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003631/0.3354, allocations: 123.2 kB / 377.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/0.3396, allocations: 2.287 MB / 379.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.3396, allocations: 5.719 kB / 379.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.3399, allocations: 52.16 kB / 379.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.3399, allocations: 29.25 kB / 379.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00394/0.3439, allocations: 1.98 MB / 381.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00815/0.352, allocations: 4.78 MB / 386.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003444/0.3555, allocations: 1.857 MB / 388.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.3569, allocations: 0.7592 MB / 389.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.3572, allocations: 16.78 kB / 389.3 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002145/0.3593, allocations: 1.349 MB / 390.6 MB, free: 7.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.797e-06/0.3593, allocations: 4 kB / 390.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005023/0.3644, allocations: 2.67 MB / 393.3 MB, free: 6.363 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3644, allocations: 92.52 kB / 393.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3656, allocations: 0.9391 MB / 394.3 MB, free: 5.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.3659, allocations: 106.6 kB / 394.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.3662, allocations: 466.4 kB / 394.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003975/0.3666, allocations: 308.4 kB / 395.2 MB, free: 5.035 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009613/0.3676, allocations: 0.6658 MB / 395.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3677, allocations: 405.5 kB / 396.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.3691, allocations: 0.865 MB / 397.1 MB, free: 4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.3706, allocations: 1.04 MB / 398.2 MB, free: 3.246 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002657/0.3733, allocations: 1.952 MB / 400.1 MB, free: 1.262 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3733, allocations: 6.906 kB / 400.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004035/0.3773, allocations: 2.4 MB / 402.5 MB, free: 14.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.3774, allocations: 29.7 kB / 402.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3774, allocations: 4 kB / 402.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/0.3774, allocations: 8 kB / 402.6 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.378, allocations: 232.9 kB / 402.8 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.682e-05/0.378, allocations: 15.5 kB / 402.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.3794, allocations: 186.8 kB / 403 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001061/0.3805, allocations: 1.093 MB / 404.1 MB, free: 13.34 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.001655/0.3821, allocations: 0.8961 MB / 405 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.3825, allocations: 102.8 kB / 405.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.3828, allocations: 138.3 kB / 405.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.3828, allocations: 14.62 kB / 405.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.3828, allocations: 0 / 405.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.3828, allocations: 7.922 kB / 405.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.3855, allocations: 1.76 MB / 407 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3855, allocations: 0 / 407 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.386, allocations: 209.9 kB / 407.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.386, allocations: 4 kB / 407.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003087/0.3863, allocations: 179.9 kB / 407.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.3863, allocations: 4 kB / 407.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3863, allocations: 4 kB / 407.4 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003808/0.3902, allocations: 2.03 MB / 409.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.3913, allocations: 0.6441 MB / 410.1 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004628/0.3918, allocations: 119.9 kB / 410.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008226/0.3926, allocations: 139.5 kB / 410.3 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006937/0.3933, allocations: 325 kB / 410.6 MB, free: 6.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00105/0.3944, allocations: 1.085 MB / 411.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007235/0.3951, allocations: 0.5966 MB / 412.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3951, allocations: 0 / 412.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001357/0.3965, allocations: 379.1 kB / 412.7 MB, free: 4.66 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.0005749/0.3971, allocations: 363.8 kB / 413 MB, free: 4.301 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006271/0.4033, allocations: 3.285 MB / 416.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4034, allocations: 0 / 416.3 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001903/0.4053, allocations: 1.104 MB / 417.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003866/0.4091, allocations: 1.072 MB / 418.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.4145, allocations: 3.316 MB / 421.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.4156, allocations: 1.328 MB / 423.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01107/0.4267, allocations: 3.386 MB / 426.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006507/0.4332, allocations: 0.9308 MB / 427.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4332, allocations: 3.938 kB / 427.5 MB, free: 5.848 MB / 334.1 MB Notification: Performance of Templates: time 0.05993/0.4932, allocations: 40.29 MB / 467.8 MB, free: 12.71 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches