Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_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.001767/0.001767, allocations: 105.3 kB / 17.73 MB, free: 5.32 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.001943/0.001943, allocations: 192.2 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 51.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1221, allocations: 46.62 MB / 374.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.0041/0.1262, allocations: 2.597 MB / 377.2 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.1289, allocations: 1.291 MB / 378.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.129, allocations: 7.938 kB / 378.5 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1293, allocations: 67.38 kB / 378.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.1295, allocations: 67.33 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.13, allocations: 239.7 kB / 378.9 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1842/0.3143, allocations: 2.061 MB / 381 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.3156, allocations: 0.9454 MB / 381.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.318, allocations: 2.119 MB / 384 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.3194, allocations: 1.051 MB / 385.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005098/0.3199, allocations: 216 kB / 385.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004868/0.3204, allocations: 220.7 kB / 385.5 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006604/0.321, allocations: 0.6198 MB / 386.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001197/0.3222, allocations: 0.8938 MB / 387 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004149/0.3264, allocations: 4.406 MB / 391.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.3264, allocations: 1.062 kB / 391.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3264, allocations: 0 / 391.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.22e-05/0.3265, allocations: 0 / 391.4 MB, free: 6.891 MB / 318.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.004185/0.3307, allocations: 2.351 MB / 393.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3308, allocations: 12.97 kB / 393.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003525/0.3311, allocations: 202.8 kB / 394 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004321/0.3316, allocations: 176 kB / 394.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.333, allocations: 1.069 MB / 395.2 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.762e-05/0.3331, allocations: 100.1 kB / 395.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003138/0.3334, allocations: 121.1 kB / 395.5 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.3371, allocations: 2.285 MB / 397.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.3371, allocations: 3.938 kB / 397.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3374, allocations: 59.5 kB / 397.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.3374, allocations: 30.22 kB / 397.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003602/0.341, allocations: 1.98 MB / 399.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008801/0.3498, allocations: 4.802 MB / 404.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004211/0.3541, allocations: 1.857 MB / 406.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3558, allocations: 0.7702 MB / 407.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/0.3561, allocations: 12.31 kB / 407.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002377/0.3585, allocations: 1.362 MB / 408.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.758e-06/0.3585, allocations: 0 / 408.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005797/0.3643, allocations: 2.666 MB / 411.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.3644, allocations: 94.41 kB / 411.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.3661, allocations: 0.9489 MB / 412.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002685/0.3663, allocations: 93.66 kB / 412.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.3668, allocations: 478.1 kB / 412.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.3673, allocations: 326.4 kB / 413.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001191/0.3684, allocations: 0.6751 MB / 413.9 MB, free: 7.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000234/0.3687, allocations: 406.7 kB / 414.3 MB, free: 7.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.3704, allocations: 0.8627 MB / 415.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.3723, allocations: 1.045 MB / 416.2 MB, free: 5.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.3759, allocations: 1.945 MB / 418.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3759, allocations: 0 / 418.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005082/0.381, allocations: 2.405 MB / 420.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.3811, allocations: 29.7 kB / 420.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3811, allocations: 7.938 kB / 420.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/0.3812, allocations: 12 kB / 420.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/0.3817, allocations: 231.5 kB / 420.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/0.3818, allocations: 8 kB / 420.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.3826, allocations: 87.67 kB / 420.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001278/0.3839, allocations: 1.093 MB / 422 MB, free: 15.69 MB / 350.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.001868/0.3858, allocations: 0.9046 MB / 422.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004579/0.3862, allocations: 111.3 kB / 423 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.3865, allocations: 130.3 kB / 423.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.3866, allocations: 12 kB / 423.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.3866, allocations: 4 kB / 423.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3866, allocations: 7.922 kB / 423.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.3894, allocations: 1.752 MB / 424.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.3894, allocations: 0 / 424.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.39, allocations: 211.7 kB / 425.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.39, allocations: 4 kB / 425.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003378/0.3903, allocations: 175.9 kB / 425.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.3903, allocations: 8 kB / 425.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3903, allocations: 4 kB / 425.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/0.3947, allocations: 2.038 MB / 427.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.396, allocations: 0.6524 MB / 428 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004924/0.3965, allocations: 119.9 kB / 428.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.397, allocations: 47.98 kB / 428.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007967/0.3978, allocations: 337 kB / 428.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001319/0.3991, allocations: 1.085 MB / 429.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008913/0.4, allocations: 0.5927 MB / 430.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4, allocations: 0 / 430.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001625/0.4016, allocations: 383.4 kB / 430.5 MB, free: 7.051 MB / 350.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.005264/0.4069, allocations: 2.841 MB / 433.4 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004268/0.4112, allocations: 2.048 MB / 435.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4112, allocations: 0 / 435.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002126/0.4134, allocations: 1.096 MB / 436.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004711/0.4181, allocations: 1.067 MB / 437.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02176/0.4399, allocations: 11.75 MB / 449.3 MB, free: 3.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/0.4412, allocations: 1.32 MB / 450.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.009404/0.4506, allocations: 3.371 MB / 454 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004232/0.4549, allocations: 1.247 MB / 455.3 MB, free: 14 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4549, allocations: 0 / 455.3 MB, free: 14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09402/0.5489, allocations: 49.66 MB / 0.4931 GB, free: 11.26 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.559/10.11, allocations: 15.83 kB / 0.4931 GB, free: 11.25 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches