Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001325/0.001325, allocations: 117.1 kB / 17.83 MB, free: 5.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001519/0.001519, allocations: 212.3 kB / 18.79 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.537/1.537, allocations: 230.4 MB / 250 MB, free: 9.109 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003128/0.003128, allocations: 59.91 kB / 367.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3327, allocations: 53.32 MB / 420.7 MB, free: 8.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003997/0.3367, allocations: 2.616 MB / 423.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.3396, allocations: 1.282 MB / 424.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3397, allocations: 7.938 kB / 424.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.34, allocations: 63.38 kB / 424.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.3401, allocations: 75.31 kB / 424.7 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006427/0.3408, allocations: 243.6 kB / 424.9 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002062/0.3429, allocations: 2.065 MB / 427 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.3439, allocations: 0.7291 MB / 427.7 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.3465, allocations: 2.125 MB / 429.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.348, allocations: 1.109 MB / 431 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004435/0.3485, allocations: 216 kB / 431.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.3489, allocations: 216 kB / 431.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.3496, allocations: 0.6269 MB / 432 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.3507, allocations: 0.9018 MB / 432.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004066/0.3547, allocations: 4.411 MB / 437.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3547, allocations: 4 kB / 437.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3547, allocations: 0 / 437.3 MB, free: 7.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.816e-05/0.3548, allocations: 0 / 437.3 MB, free: 7.625 MB / 350.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.004104/0.3589, allocations: 2.347 MB / 439.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3589, allocations: 8.031 kB / 439.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004212/0.3594, allocations: 171.9 kB / 439.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.3612, allocations: 1.07 MB / 440.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3613, allocations: 98.91 kB / 441 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.3616, allocations: 124.4 kB / 441.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.3661, allocations: 2.289 MB / 443.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.3662, allocations: 3.938 kB / 443.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.3664, allocations: 52 kB / 443.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/0.3664, allocations: 28 kB / 443.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0041/0.3705, allocations: 1.981 MB / 445.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00885/0.3794, allocations: 4.815 MB / 450.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003981/0.3834, allocations: 1.789 MB / 452.1 MB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.3848, allocations: 0.7229 MB / 452.8 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.3851, allocations: 17.31 kB / 452.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002456/0.3876, allocations: 1.355 MB / 454.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.3876, allocations: 0 / 454.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005783/0.3933, allocations: 2.67 MB / 456.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.081e-05/0.3934, allocations: 94.42 kB / 457 MB, free: 3.734 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.395, allocations: 0.9489 MB / 457.9 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002571/0.3952, allocations: 101.7 kB / 458 MB, free: 2.668 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.3958, allocations: 470.1 kB / 458.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005057/0.3963, allocations: 325.7 kB / 458.8 MB, free: 1.879 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00114/0.3974, allocations: 0.6673 MB / 459.4 MB, free: 1.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0004253/0.3978, allocations: 406.7 kB / 459.8 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001796/0.3996, allocations: 0.8744 MB / 460.7 MB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.4017, allocations: 1.031 MB / 461.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.4053, allocations: 1.95 MB / 463.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.4053, allocations: 4 kB / 463.7 MB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00483/0.4101, allocations: 2.405 MB / 466.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.4102, allocations: 33.7 kB / 466.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4102, allocations: 8.031 kB / 466.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.4102, allocations: 8 kB / 466.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.4108, allocations: 231.5 kB / 466.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4108, allocations: 8 kB / 466.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/0.4115, allocations: 83.69 kB / 466.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00146/0.413, allocations: 1.089 MB / 467.6 MB, free: 8.969 MB / 382.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.001756/0.4147, allocations: 0.9119 MB / 468.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.4151, allocations: 107.3 kB / 468.6 MB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.4154, allocations: 130.3 kB / 468.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.4154, allocations: 12 kB / 468.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.4154, allocations: 0 / 468.7 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.4154, allocations: 11.91 kB / 468.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.4183, allocations: 1.77 MB / 470.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4183, allocations: 0 / 470.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.4188, allocations: 199.7 kB / 470.7 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.4188, allocations: 4 kB / 470.7 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003223/0.4191, allocations: 175.9 kB / 470.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.188e-06/0.4191, allocations: 4 kB / 470.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4191, allocations: 0 / 470.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/0.4235, allocations: 2.042 MB / 472.9 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/0.4248, allocations: 0.6562 MB / 473.6 MB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005054/0.4253, allocations: 115.9 kB / 473.7 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.4257, allocations: 51.97 kB / 473.7 MB, free: 2.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007723/0.4265, allocations: 329 kB / 474.1 MB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001263/0.4277, allocations: 1.085 MB / 475.1 MB, free: 1.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009505/0.4287, allocations: 0.6004 MB / 475.7 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4287, allocations: 0 / 475.7 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001924/0.4306, allocations: 375.4 kB / 476.1 MB, free: 292 kB / 382.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.0006895/0.4313, allocations: 367.8 kB / 476.5 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004228/0.4355, allocations: 1.996 MB / 478.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4355, allocations: 0 / 478.5 MB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001942/0.4375, allocations: 1.053 MB / 479.5 MB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003724/0.4412, allocations: 1.071 MB / 480.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005504/0.4467, allocations: 2.903 MB / 483.5 MB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/0.4479, allocations: 1.312 MB / 484.8 MB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.006715/0.4547, allocations: 3.37 MB / 488.2 MB, free: 4.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002822/0.4575, allocations: 0.9386 MB / 489.1 MB, free: 3.262 MB / 398.1 MB Notification: Performance of SimCode: time 9.51e-07/0.4575, allocations: 0 / 489.1 MB, free: 3.262 MB / 398.1 MB Notification: Performance of Templates: time 0.0659/0.5234, allocations: 40.62 MB / 0.5173 GB, free: 9.848 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches