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.00114/0.00114, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001118/0.001118, allocations: 187 kB / 18.66 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.423/1.423, allocations: 205.1 MB / 224.5 MB, free: 12.28 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.001346/0.001346, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.0978, allocations: 46.61 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00403/0.1019, allocations: 2.597 MB / 377.2 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1046, allocations: 1.287 MB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.1049, allocations: 11.94 kB / 378.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.1052, allocations: 63.38 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.1054, allocations: 79.23 kB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.1061, allocations: 235.7 kB / 378.9 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1919/0.298, allocations: 2.068 MB / 381 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.2993, allocations: 0.946 MB / 381.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.3021, allocations: 2.112 MB / 384 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.3037, allocations: 1.059 MB / 385.1 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005045/0.3042, allocations: 216.7 kB / 385.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004995/0.3047, allocations: 217.2 kB / 385.5 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.3055, allocations: 0.6279 MB / 386.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.3069, allocations: 0.8958 MB / 387 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005298/0.3122, allocations: 4.407 MB / 391.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.3123, allocations: 1.75 kB / 391.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3123, allocations: 0 / 391.5 MB, free: 6.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001286/0.3124, allocations: 0 / 391.5 MB, free: 6.898 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.005548/0.318, allocations: 2.349 MB / 393.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.318, allocations: 10.09 kB / 393.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003659/0.3184, allocations: 202.2 kB / 394 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.3189, allocations: 174.1 kB / 394.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.3203, allocations: 1.075 MB / 395.3 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.3204, allocations: 95.09 kB / 395.3 MB, free: 4.414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/0.3208, allocations: 121.8 kB / 395.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/0.3244, allocations: 2.29 MB / 397.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.3244, allocations: 0 / 397.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.3247, allocations: 50.78 kB / 397.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.3247, allocations: 34.06 kB / 397.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003477/0.3282, allocations: 1.988 MB / 399.8 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007323/0.3356, allocations: 4.807 MB / 404.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/0.339, allocations: 1.851 MB / 406.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3404, allocations: 0.7575 MB / 407.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002534/0.3407, allocations: 24.67 kB / 407.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002135/0.3428, allocations: 1.353 MB / 408.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 3.656e-06/0.3429, allocations: 0 / 408.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.00528/0.3481, allocations: 2.674 MB / 411.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.3482, allocations: 94.42 kB / 411.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.3496, allocations: 0.9373 MB / 412.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.3499, allocations: 105.6 kB / 412.4 MB, free: 9.398 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.3502, allocations: 477.7 kB / 412.9 MB, free: 8.926 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.3506, allocations: 318.9 kB / 413.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001096/0.3518, allocations: 0.6712 MB / 413.9 MB, free: 7.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.352, allocations: 414.6 kB / 414.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.3535, allocations: 0.8627 MB / 415.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.3553, allocations: 1.039 MB / 416.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.3585, allocations: 1.948 MB / 418.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.3586, allocations: 4 kB / 418.1 MB, free: 3.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004322/0.3629, allocations: 2.402 MB / 420.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.363, allocations: 33.7 kB / 420.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.363, allocations: 4 kB / 420.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.363, allocations: 11.94 kB / 420.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/0.3635, allocations: 231.5 kB / 420.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.3636, allocations: 8 kB / 420.8 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/0.3643, allocations: 87.64 kB / 420.9 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.3655, allocations: 1.089 MB / 422 MB, free: 15.73 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.001648/0.3671, allocations: 0.909 MB / 422.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/0.3675, allocations: 107.3 kB / 423 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3678, allocations: 136.8 kB / 423.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.3678, allocations: 12 kB / 423.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3678, allocations: 4 kB / 423.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.3678, allocations: 7.922 kB / 423.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.3703, allocations: 1.756 MB / 424.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3703, allocations: 0 / 424.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/0.3707, allocations: 203.7 kB / 425.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/0.3707, allocations: 4 kB / 425.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/0.3711, allocations: 175.9 kB / 425.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.198e-06/0.3711, allocations: 5.688 kB / 425.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3711, allocations: 0 / 425.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.375, allocations: 2.046 MB / 427.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.3761, allocations: 0.6485 MB / 428 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/0.3766, allocations: 119.9 kB / 428.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/0.377, allocations: 43.98 kB / 428.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006844/0.3777, allocations: 337 kB / 428.5 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00109/0.3788, allocations: 1.089 MB / 429.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007452/0.3796, allocations: 0.5927 MB / 430.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3796, allocations: 0 / 430.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001285/0.3809, allocations: 383.4 kB / 430.5 MB, free: 7.086 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.004436/0.3853, allocations: 2.844 MB / 433.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.3889, allocations: 2.053 MB / 435.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.389, allocations: 0 / 435.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.3908, allocations: 1.092 MB / 436.5 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003418/0.3942, allocations: 1.071 MB / 437.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/0.4138, allocations: 11.75 MB / 449.3 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001477/0.4153, allocations: 1.312 MB / 450.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.01161/0.427, allocations: 3.374 MB / 454 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007032/0.434, allocations: 1.243 MB / 455.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4341, allocations: 0 / 455.3 MB, free: 14.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07668/0.5107, allocations: 49.66 MB / 0.4931 GB, free: 11.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.009/9.52, allocations: 11.84 kB / 0.4931 GB, free: 11.3 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