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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 118.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001202, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3133, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004/0.3173, allocations: 2.6 MB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.32, allocations: 1.282 MB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.3203, allocations: 4 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.3206, allocations: 71.31 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.3209, allocations: 67.31 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.3216, allocations: 231.7 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.3237, allocations: 2.069 MB / 415.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.3249, allocations: 0.9399 MB / 416 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002134/0.3271, allocations: 2.117 MB / 418.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.3285, allocations: 1.055 MB / 419.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005898/0.3291, allocations: 220 kB / 419.4 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.3297, allocations: 220 kB / 419.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007976/0.3305, allocations: 0.627 MB / 420.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.3318, allocations: 0.8979 MB / 421.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.3355, allocations: 4.403 MB / 425.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3355, allocations: 0 / 425.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3355, allocations: 0 / 425.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.095e-05/0.3356, allocations: 0 / 425.5 MB, free: 0.6719 MB / 334.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.006027/0.3416, allocations: 2.309 MB / 427.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.3417, allocations: 8.031 kB / 427.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007819/0.3425, allocations: 202.2 kB / 428.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007081/0.3432, allocations: 167.1 kB / 428.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.3452, allocations: 1.062 MB / 429.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3454, allocations: 94.91 kB / 429.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004948/0.3459, allocations: 120.4 kB / 429.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/0.3504, allocations: 2.285 MB / 431.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.3504, allocations: 7.938 kB / 431.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/0.3507, allocations: 55.98 kB / 431.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.3508, allocations: 35.98 kB / 431.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003857/0.3546, allocations: 1.977 MB / 433.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009431/0.3641, allocations: 4.808 MB / 438.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003907/0.368, allocations: 1.867 MB / 440.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.3695, allocations: 0.7619 MB / 441.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.3698, allocations: 21.23 kB / 441.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002254/0.372, allocations: 1.348 MB / 442.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 4.138e-06/0.3721, allocations: 0 / 442.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005284/0.3774, allocations: 2.669 MB / 445.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.3774, allocations: 94.42 kB / 445.4 MB, free: 12.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.379, allocations: 0.9445 MB / 446.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002683/0.3793, allocations: 101.7 kB / 446.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/0.3798, allocations: 465.2 kB / 446.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/0.3803, allocations: 308.3 kB / 447.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.3815, allocations: 0.6672 MB / 447.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.3817, allocations: 402.7 kB / 448.3 MB, free: 9.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.3833, allocations: 0.8666 MB / 449.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.385, allocations: 1.039 MB / 450.2 MB, free: 7.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.3882, allocations: 1.954 MB / 452.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/0.3882, allocations: 4 kB / 452.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004285/0.3925, allocations: 2.397 MB / 454.5 MB, free: 3.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.3926, allocations: 37.69 kB / 454.6 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3926, allocations: 4.078 kB / 454.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.3926, allocations: 8 kB / 454.6 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.3931, allocations: 231.5 kB / 454.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.593e-05/0.3932, allocations: 11.98 kB / 454.8 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.3939, allocations: 83.62 kB / 454.9 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000971/0.3949, allocations: 1.093 MB / 456 MB, free: 1.773 MB / 366.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.001447/0.3964, allocations: 0.904 MB / 456.9 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/0.3968, allocations: 102.8 kB / 457 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.3971, allocations: 130.3 kB / 457.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.3971, allocations: 12 kB / 457.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3971, allocations: 0 / 457.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3972, allocations: 11.91 kB / 457.2 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/0.3997, allocations: 1.751 MB / 458.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.3998, allocations: 4 kB / 458.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/0.4003, allocations: 207.7 kB / 459.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.4003, allocations: 4 kB / 459.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002939/0.4006, allocations: 183.8 kB / 459.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.4006, allocations: 4 kB / 459.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4006, allocations: 3.984 kB / 459.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.4043, allocations: 2.034 MB / 461.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.4055, allocations: 0.644 MB / 462 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/0.406, allocations: 119.9 kB / 462.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.4065, allocations: 47.97 kB / 462.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006203/0.4072, allocations: 336.9 kB / 462.5 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009921/0.4082, allocations: 1.081 MB / 463.6 MB, free: 10.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000844/0.409, allocations: 0.5965 MB / 464.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.409, allocations: 0 / 464.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001571/0.4106, allocations: 379.1 kB / 464.5 MB, free: 9.113 MB / 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.004579/0.4152, allocations: 2.841 MB / 467.4 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003758/0.419, allocations: 2.04 MB / 469.4 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.419, allocations: 4.062 kB / 469.4 MB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.4209, allocations: 1.092 MB / 470.5 MB, free: 3.078 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/0.4245, allocations: 1.068 MB / 471.6 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/0.4472, allocations: 11.71 MB / 483.3 MB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/0.4486, allocations: 1.312 MB / 484.6 MB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007266/0.4559, allocations: 3.374 MB / 488 MB, free: 1.422 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004801/0.4608, allocations: 1.243 MB / 489.2 MB, free: 180 kB / 398.1 MB Notification: Performance of SimCode: time 1.723e-06/0.4608, allocations: 0 / 489.2 MB, free: 180 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0801/0.5409, allocations: 50.12 MB / 0.5267 GB, free: 13.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.077/9.618, allocations: 14.11 kB / 0.5267 GB, free: 13.19 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:Counter.FF[1].And1.n,Counter.FF[1].And1.x[1],Counter.FF[1].And1.x[2],Counter.FF[1].And1.x[3],Counter.FF[1].And1.y,Counter.FF[1].And2.n,Counter.FF[1].And2.x[1],Counter.FF[1].And2.x[2],Counter.FF[1].And2.x[3],Counter.FF[1].And2.y,Counter.FF[1].And3.n,Counter.FF[1].And3.x[1],Counter.FF[1].And3.x[2],Counter.FF[1].And3.y,Counter.FF[1].And4.n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.x[2],Counter.FF[1].And4.y,Counter.FF[1].Not1.x,Counter.FF[1].Not1.y,Counter.FF[1].RS1.Nor1.n,Counter.FF[1].RS1.Nor1.x[1],Counter.FF[1].RS1.Nor1.x[2],Counter.FF[1].RS1.Nor1.y,Counter.FF[1].RS1.Nor2.n,Counter.FF[1].RS1.Nor2.x[1],Counter.FF[1].RS1.Nor2.x[2],Counter.FF[1].RS1.Nor2.y,Counter.FF[1].RS1.TD1.delayTime,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.y0,Counter.FF[1].RS1.delayTime,Counter.FF[1].RS1.q,Counter.FF[1].RS1.q0,Counter.FF[1].RS1.qn,Counter.FF[1].RS1.r,Counter.FF[1].RS1.s,Counter.FF[1].RS2.Nor1.n,Counter.FF[1].RS2.Nor1.x[1],Counter.FF[1].RS2.Nor1.x[2],Counter.FF[1].RS2.Nor1.y,Counter.FF[1].RS2.Nor2.n,Counter.FF[1].RS2.Nor2.x[1],Counter.FF[1].RS2.Nor2.x[2],Counter.FF[1].RS2.Nor2.y,Counter.FF[1].RS2.TD1.delayTime,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.y0,Counter.FF[1].RS2.delayTime,Counter.FF[1].RS2.q,Counter.FF[1].RS2.q0,Counter.FF[1].RS2.qn,Counter.FF[1].RS2.r,Counter.FF[1].RS2.s,Counter.FF[1].clk,Counter.FF[1].delayTime,Counter.FF[1].j,Counter.FF[1].k,Counter.FF[1].q,Counter.FF[1].q0,Counter.FF[1].qn,Counter.FF[2].And1.n,Counter.FF[2].And1.x[1],Counter.FF[2].And1.x[2],Counter.FF[2].And1.x[3],Counter.FF[2].And1.y,Counter.FF[2].And2.n,Counter.FF[2].And2.x[1],Counter.FF[2].And2.x[2],Counter.FF[2].And2.x[3],Counter.FF[2].And2.y,Counter.FF[2].And3.n,Counter.FF[2].And3.x[1],Counter.FF[2].And3.x[2],Counter.FF[2].And3.y,Counter.FF[2].And4.n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.x[2],Counter.FF[2].And4.y,Counter.FF[2].Not1.x,Counter.FF[2].Not1.y,Counter.FF[2].RS1.Nor1.n,Counter.FF[2].RS1.Nor1.x[1],Counter.FF[2].RS1.Nor1.x[2],Counter.FF[2].RS1.Nor1.y,Counter.FF[2].RS1.Nor2.n,Counter.FF[2].RS1.Nor2.x[1],Counter.FF[2].RS1.Nor2.x[2],Counter.FF[2].RS1.Nor2.y,Counter.FF[2].RS1.TD1.delayTime,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.y0,Counter.FF[2].RS1.delayTime,Counter.FF[2].RS1.q,Counter.FF[2].RS1.q0,Counter.FF[2].RS1.qn,Counter.FF[2].RS1.r,Counter.FF[2].RS1.s,Counter.FF[2].RS2.Nor1.n,Counter.FF[2].RS2.Nor1.x[1],Counter.FF[2].RS2.Nor1.x[2],Counter.FF[2].RS2.Nor1.y,Counter.FF[2].RS2.Nor2.n,Counter.FF[2].RS2.Nor2.x[1],Counter.FF[2].RS2.Nor2.x[2],Counter.FF[2].RS2.Nor2.y,Counter.FF[2].RS2.TD1.delayTime,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.y0,Counter.FF[2].RS2.delayTime,Counter.FF[2].RS2.q,Counter.FF[2].RS2.q0,Counter.FF[2].RS2.qn,Counter.FF[2].RS2.r,Counter.FF[2].RS2.s,Counter.FF[2].clk,Counter.FF[2].delayTime,Counter.FF[2].j,Counter.FF[2].k,Counter.FF[2].q,Counter.FF[2].q0,Counter.FF[2].qn,Counter.FF[3].And1.n,Counter.FF[3].And1.x[1],Counter.FF[3].And1.x[2],Counter.FF[3].And1.x[3],Counter.FF[3].And1.y,Counter.FF[3].And2.n,Counter.FF[3].And2.x[1],Counter.FF[3].And2.x[2],Counter.FF[3].And2.x[3],Counter.FF[3].And2.y,Counter.FF[3].And3.n,Counter.FF[3].And3.x[1],Counter.FF[3].And3.x[2],Counter.FF[3].And3.y,Counter.FF[3].And4.n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.x[2],Counter.FF[3].And4.y,Counter.FF[3].Not1.x,Counter.FF[3].Not1.y,Counter.FF[3].RS1.Nor1.n,Counter.FF[3].RS1.Nor1.x[1],Counter.FF[3].RS1.Nor1.x[2],Counter.FF[3].RS1.Nor1.y,Counter.FF[3].RS1.Nor2.n,Counter.FF[3].RS1.Nor2.x[1],Counter.FF[3].RS1.Nor2.x[2],Counter.FF[3].RS1.Nor2.y,Counter.FF[3].RS1.TD1.delayTime,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.y0,Counter.FF[3].RS1.delayTime,Counter.FF[3].RS1.q,Counter.FF[3].RS1.q0,Counter.FF[3].RS1.qn,Counter.FF[3].RS1.r,Counter.FF[3].RS1.s,Counter.FF[3].RS2.Nor1.n,Counter.FF[3].RS2.Nor1.x[1],Counter.FF[3].RS2.Nor1.x[2],Counter.FF[3].RS2.Nor1.y,Counter.FF[3].RS2.Nor2.n,Counter.FF[3].RS2.Nor2.x[1],Counter.FF[3].RS2.Nor2.x[2],Counter.FF[3].RS2.Nor2.y,Counter.FF[3].RS2.TD1.delayTime,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.y0,Counter.FF[3].RS2.delayTime,Counter.FF[3].RS2.q,Counter.FF[3].RS2.q0,Counter.FF[3].RS2.qn,Counter.FF[3].RS2.r,Counter.FF[3].RS2.s,Counter.FF[3].clk,Counter.FF[3].delayTime,Counter.FF[3].j,Counter.FF[3].k,Counter.FF[3].q,Counter.FF[3].q0,Counter.FF[3].qn,Counter.FF[4].And1.n,Counter.FF[4].And1.x[1],Counter.FF[4].And1.x[2],Counter.FF[4].And1.x[3],Counter.FF[4].And1.y,Counter.FF[4].And2.n,Counter.FF[4].And2.x[1],Counter.FF[4].And2.x[2],Counter.FF[4].And2.x[3],Counter.FF[4].And2.y,Counter.FF[4].And3.n,Counter.FF[4].And3.x[1],Counter.FF[4].And3.x[2],Counter.FF[4].And3.y,Counter.FF[4].And4.n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.x[2],Counter.FF[4].And4.y,Counter.FF[4].Not1.x,Counter.FF[4].Not1.y,Counter.FF[4].RS1.Nor1.n,Counter.FF[4].RS1.Nor1.x[1],Counter.FF[4].RS1.Nor1.x[2],Counter.FF[4].RS1.Nor1.y,Counter.FF[4].RS1.Nor2.n,Counter.FF[4].RS1.Nor2.x[1],Counter.FF[4].RS1.Nor2.x[2],Counter.FF[4].RS1.Nor2.y,Counter.FF[4].RS1.TD1.delayTime,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.y0,Counter.FF[4].RS1.delayTime,Counter.FF[4].RS1.q,Counter.FF[4].RS1.q0,Counter.FF[4].RS1.qn,Counter.FF[4].RS1.r,Counter.FF[4].RS1.s,Counter.FF[4].RS2.Nor1.n,Counter.FF[4].RS2.Nor1.x[1],Counter.FF[4].RS2.Nor1.x[2],Counter.FF[4].RS2.Nor1.y,Counter.FF[4].RS2.Nor2.n,Counter.FF[4].RS2.Nor2.x[1],Counter.FF[4].RS2.Nor2.x[2],Counter.FF[4].RS2.Nor2.y,Counter.FF[4].RS2.TD1.delayTime,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.y0,Counter.FF[4].RS2.delayTime,Counter.FF[4].RS2.q,Counter.FF[4].RS2.q0,Counter.FF[4].RS2.qn,Counter.FF[4].RS2.r,Counter.FF[4].RS2.s,Counter.FF[4].clk,Counter.FF[4].delayTime,Counter.FF[4].j,Counter.FF[4].k,Counter.FF[4].q,Counter.FF[4].q0,Counter.FF[4].qn,Counter.count,Counter.delayTime,Counter.enable,Counter.n,Counter.q0,Counter.q[1],Counter.q[2],Counter.q[3],Counter.q[4],Enable.after,Enable.before,Enable.stepTime,Enable.y,Q0.n,Q0.value_0,Q0.value_1,Q0.value_H,Q0.value_L,Q0.value_U,Q0.value_W,Q0.value_X,Q0.value_Z,Q0.value_m,Q0.x[1],Q0.y[1],Q1.n,Q1.value_0,Q1.value_1,Q1.value_H,Q1.value_L,Q1.value_U,Q1.value_W,Q1.value_X,Q1.value_Z,Q1.value_m,Q1.x[1],Q1.y[1],Q2.n,Q2.value_0,Q2.value_1,Q2.value_H,Q2.value_L,Q2.value_U,Q2.value_W,Q2.value_X,Q2.value_Z,Q2.value_m,Q2.x[1],Q2.y[1],Q3.n,Q3.value_0,Q3.value_1,Q3.value_H,Q3.value_L,Q3.value_U,Q3.value_W,Q3.value_X,Q3.value_Z,Q3.value_m,Q3.x[1],Q3.y[1],clock.period,clock.startTime,clock.width,clock.y,time