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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 112.3 kB / 17.06 MB, free: 5.992 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.001575/0.001575, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 51.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2499, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004171/0.2541, allocations: 2.597 MB / 402.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.257, allocations: 1.239 MB / 404.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.2573, allocations: 7.938 kB / 404.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.2576, allocations: 63.38 kB / 404.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.2579, allocations: 75.3 kB / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007356/0.2587, allocations: 239.6 kB / 404.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002436/0.2611, allocations: 2.073 MB / 406.5 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.2624, allocations: 0.9516 MB / 407.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.2651, allocations: 2.117 MB / 409.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.2668, allocations: 1.055 MB / 410.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007337/0.2676, allocations: 216 kB / 410.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006009/0.2682, allocations: 220 kB / 411.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007858/0.269, allocations: 0.6153 MB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.2702, allocations: 0.8902 MB / 412.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.2743, allocations: 4.411 MB / 417 MB, free: 7.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2744, allocations: 4 kB / 417 MB, free: 7.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2744, allocations: 0 / 417 MB, free: 7.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.828e-05/0.2744, allocations: 4 kB / 417 MB, free: 7.977 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.004204/0.2786, allocations: 2.343 MB / 419.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.2787, allocations: 8.031 kB / 419.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003847/0.2791, allocations: 202.2 kB / 419.5 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.2795, allocations: 179.9 kB / 419.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.2812, allocations: 1.074 MB / 420.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.2814, allocations: 94.91 kB / 420.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00031/0.2817, allocations: 124.4 kB / 421 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/0.286, allocations: 2.289 MB / 423.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2861, allocations: 0 / 423.3 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/0.2863, allocations: 52 kB / 423.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.2864, allocations: 35.94 kB / 423.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.2903, allocations: 1.981 MB / 425.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007972/0.2983, allocations: 4.806 MB / 430.2 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00376/0.3021, allocations: 1.863 MB / 432 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.3036, allocations: 0.7542 MB / 432.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.3039, allocations: 17.3 kB / 432.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002259/0.3061, allocations: 1.367 MB / 434.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 4.258e-06/0.3061, allocations: 0 / 434.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005459/0.3116, allocations: 2.662 MB / 436.8 MB, free: 3.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.3117, allocations: 102.4 kB / 436.9 MB, free: 3.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.3132, allocations: 0.945 MB / 437.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.3134, allocations: 97.66 kB / 438 MB, free: 2.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00043/0.3138, allocations: 474.1 kB / 438.4 MB, free: 2.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.3143, allocations: 321.7 kB / 438.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.3153, allocations: 0.6673 MB / 439.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.3156, allocations: 406.7 kB / 439.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.3172, allocations: 0.8706 MB / 440.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/0.319, allocations: 1.039 MB / 441.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003449/0.3225, allocations: 1.95 MB / 443.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.3225, allocations: 4 kB / 443.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004601/0.3271, allocations: 2.397 MB / 446.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/0.3272, allocations: 33.7 kB / 446.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.3272, allocations: 8.031 kB / 446.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.08e-05/0.3272, allocations: 8 kB / 446.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005663/0.3278, allocations: 231.5 kB / 446.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.3278, allocations: 8 kB / 446.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.3286, allocations: 83.64 kB / 446.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/0.3297, allocations: 1.089 MB / 447.5 MB, free: 9.008 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.001582/0.3312, allocations: 0.9118 MB / 448.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003566/0.3316, allocations: 107.3 kB / 448.5 MB, free: 7.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.3319, allocations: 134.3 kB / 448.7 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.3319, allocations: 12 kB / 448.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3319, allocations: 0 / 448.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.332, allocations: 7.922 kB / 448.7 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.3345, allocations: 1.755 MB / 450.5 MB, free: 6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.3345, allocations: 4 kB / 450.5 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.335, allocations: 203.7 kB / 450.7 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.335, allocations: 7.984 kB / 450.7 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/0.3353, allocations: 175.9 kB / 450.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.3353, allocations: 8 kB / 450.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3353, allocations: 0 / 450.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003946/0.3393, allocations: 2.038 MB / 452.9 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.3404, allocations: 0.6601 MB / 453.5 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004294/0.3408, allocations: 115.9 kB / 453.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.3413, allocations: 51.97 kB / 453.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000716/0.342, allocations: 332.9 kB / 454 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001075/0.3431, allocations: 1.085 MB / 455.1 MB, free: 1.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007887/0.3439, allocations: 0.5965 MB / 455.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3439, allocations: 4 kB / 455.7 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001236/0.3451, allocations: 379.4 kB / 456.1 MB, free: 324 kB / 366.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.004652/0.3498, allocations: 2.841 MB / 458.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004054/0.3539, allocations: 2.046 MB / 461 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3539, allocations: 0 / 461 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.3559, allocations: 1.088 MB / 462.1 MB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004025/0.36, allocations: 1.069 MB / 463.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/0.3803, allocations: 11.75 MB / 474.9 MB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.3816, allocations: 1.32 MB / 476.2 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.007267/0.3889, allocations: 3.367 MB / 479.6 MB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003237/0.3921, allocations: 1.243 MB / 480.8 MB, free: 7.352 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3922, allocations: 4 kB / 480.8 MB, free: 7.348 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0911/0.4833, allocations: 49.66 MB / 0.518 GB, free: 4.969 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/9.726, allocations: 7.797 kB / 0.518 GB, free: 4.961 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches