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.001251/0.001251, allocations: 91.44 kB / 16.65 MB, free: 6.59 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.001561/0.001561, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.533/1.533, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004005, allocations: 15.92 kB / 301.4 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1306, allocations: 50.41 MB / 351.8 MB, free: 3.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00367/0.1343, allocations: 2.253 MB / 354.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1375, allocations: 1.22 MB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1377, allocations: 4 kB / 355.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002741/0.138, allocations: 59.56 kB / 355.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002106/0.1382, allocations: 51.52 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.1389, allocations: 211.8 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.1413, allocations: 1.839 MB / 357.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1426, allocations: 0.9087 MB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002266/0.1449, allocations: 1.8 MB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.146, allocations: 0.8205 MB / 361 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.1462, allocations: 40 kB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.1465, allocations: 40 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005892/0.147, allocations: 414.1 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009209/0.148, allocations: 0.6887 MB / 362.2 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.1519, allocations: 4.163 MB / 366.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1519, allocations: 0 / 366.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.152, allocations: 4 kB / 366.3 MB, free: 4.879 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.724e-05/0.152, allocations: 0 / 366.3 MB, free: 4.879 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.003444/0.1555, allocations: 1.681 MB / 368 MB, free: 3.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1555, allocations: 8.031 kB / 368 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.1559, allocations: 175 kB / 368.2 MB, free: 2.953 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.1575, allocations: 1.062 MB / 369.3 MB, free: 1.848 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1576, allocations: 94.91 kB / 369.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003466/0.158, allocations: 128.3 kB / 369.5 MB, free: 1.629 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2115/0.3695, allocations: 2.292 MB / 371.8 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/0.3696, allocations: 0 / 371.8 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/0.37, allocations: 54.53 kB / 371.8 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.789e-05/0.3701, allocations: 30.91 kB / 371.8 MB, free: 21.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006246/0.3763, allocations: 2.007 MB / 373.9 MB, free: 21.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009787/0.3861, allocations: 4.792 MB / 378.6 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00397/0.3902, allocations: 1.912 MB / 380.6 MB, free: 19.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.3918, allocations: 0.7699 MB / 381.3 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.392, allocations: 19.81 kB / 381.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002045/0.3941, allocations: 1.364 MB / 382.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.546e-06/0.3941, allocations: 0 / 382.7 MB, free: 18.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005206/0.3993, allocations: 2.701 MB / 385.4 MB, free: 17.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3994, allocations: 102 kB / 385.5 MB, free: 17.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.4009, allocations: 0.9364 MB / 386.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002887/0.4012, allocations: 100 kB / 386.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.4015, allocations: 463.5 kB / 387 MB, free: 16.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.4019, allocations: 311.9 kB / 387.3 MB, free: 16.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004802/0.4024, allocations: 241.1 kB / 387.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4025, allocations: 401.8 kB / 387.9 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.4043, allocations: 0.8837 MB / 388.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001737/0.4061, allocations: 1.044 MB / 389.9 MB, free: 14.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/0.4091, allocations: 1.982 MB / 391.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.4092, allocations: 4 kB / 391.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003806/0.413, allocations: 2.415 MB / 394.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.413, allocations: 37.69 kB / 394.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.4131, allocations: 4 kB / 394.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4131, allocations: 8 kB / 394.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.4136, allocations: 235.5 kB / 394.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.4136, allocations: 12 kB / 394.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.415, allocations: 196.7 kB / 394.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007603/0.4158, allocations: 1.089 MB / 395.8 MB, free: 9.496 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.001667/0.4175, allocations: 0.9071 MB / 396.7 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.4179, allocations: 102.9 kB / 396.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002679/0.4182, allocations: 126.3 kB / 397 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4182, allocations: 15.94 kB / 397 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.4182, allocations: 0 / 397 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.4182, allocations: 11.97 kB / 397 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.4208, allocations: 1.76 MB / 398.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4209, allocations: 0 / 398.7 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.4213, allocations: 211.7 kB / 399 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.4213, allocations: 4 kB / 399 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.4215, allocations: 175.9 kB / 399.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.4215, allocations: 8.688 kB / 399.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.4215, allocations: 3.938 kB / 399.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.4249, allocations: 2.057 MB / 401.2 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.426, allocations: 0.6479 MB / 401.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/0.4264, allocations: 115.9 kB / 402 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008684/0.4273, allocations: 147.6 kB / 402.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000628/0.4279, allocations: 329 kB / 402.4 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008038/0.4287, allocations: 1.086 MB / 403.5 MB, free: 1.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000733/0.4295, allocations: 0.5927 MB / 404.1 MB, free: 1.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4295, allocations: 0 / 404.1 MB, free: 1.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001549/0.431, allocations: 379.1 kB / 404.5 MB, free: 0.7578 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.0005183/0.4316, allocations: 370 kB / 404.8 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003848/0.4354, allocations: 2.055 MB / 406.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4355, allocations: 4.062 kB / 406.9 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.4374, allocations: 1.112 MB / 408 MB, free: 13.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/0.4416, allocations: 0.9726 MB / 409 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006096/0.4477, allocations: 3.327 MB / 412.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001378/0.4491, allocations: 1.316 MB / 413.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0082/0.4573, allocations: 3.382 MB / 417 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003125/0.4605, allocations: 0.9269 MB / 417.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4605, allocations: 4 kB / 417.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of Templates: time 0.06141/0.5219, allocations: 39.13 MB / 457.1 MB, free: 11.3 MB / 366.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/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_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches