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.001371/0.001371, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001124/0.001124, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.369/1.369, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001309/0.001309, allocations: 47.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08468/0.086, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003399/0.08944, allocations: 2.601 MB / 377.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.0919, allocations: 1.279 MB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.09211, allocations: 7.938 kB / 378.5 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.09235, allocations: 67.38 kB / 378.6 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.09256, allocations: 79.3 kB / 378.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.09314, allocations: 239.6 kB / 378.9 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1695/0.2626, allocations: 2.063 MB / 381 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.264, allocations: 0.9429 MB / 381.9 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.2663, allocations: 2.119 MB / 384 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.2679, allocations: 1.055 MB / 385.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004906/0.2684, allocations: 221.8 kB / 385.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.2688, allocations: 216.1 kB / 385.5 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006465/0.2694, allocations: 0.6286 MB / 386.1 MB, free: 8.664 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.2704, allocations: 0.894 MB / 387 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004513/0.275, allocations: 4.406 MB / 391.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.275, allocations: 0 / 391.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.275, allocations: 1.281 kB / 391.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.442e-05/0.2751, allocations: 0 / 391.4 MB, free: 6.902 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.004398/0.2795, allocations: 2.355 MB / 393.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2795, allocations: 9.625 kB / 393.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003821/0.2799, allocations: 201.6 kB / 394 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.2804, allocations: 174.3 kB / 394.2 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.2824, allocations: 1.07 MB / 395.2 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/0.2825, allocations: 96.59 kB / 395.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003562/0.2828, allocations: 123.8 kB / 395.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/0.2868, allocations: 2.292 MB / 397.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.2869, allocations: 5.125 kB / 397.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/0.2872, allocations: 49.97 kB / 397.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.2872, allocations: 30.41 kB / 397.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003704/0.2909, allocations: 1.98 MB / 399.8 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009639/0.3006, allocations: 4.805 MB / 404.6 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.3045, allocations: 1.857 MB / 406.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.3063, allocations: 0.7654 MB / 407.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.3066, allocations: 16.56 kB / 407.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.3088, allocations: 1.355 MB / 408.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=128): time 4.258e-06/0.3088, allocations: 0 / 408.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=128): time 0.005276/0.3141, allocations: 2.67 MB / 411.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.3142, allocations: 94.36 kB / 411.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.3155, allocations: 0.949 MB / 412.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002809/0.3158, allocations: 93.66 kB / 412.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.3162, allocations: 484.1 kB / 412.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/0.3166, allocations: 321.3 kB / 413.2 MB, free: 8.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.3177, allocations: 0.6673 MB / 413.9 MB, free: 7.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3179, allocations: 406.6 kB / 414.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.3196, allocations: 0.8705 MB / 415.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.3213, allocations: 1.039 MB / 416.2 MB, free: 5.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.3246, allocations: 1.945 MB / 418.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.3246, allocations: 3.984 kB / 418.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004334/0.329, allocations: 2.401 MB / 420.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.275e-05/0.329, allocations: 29.7 kB / 420.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3291, allocations: 4 kB / 420.6 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/0.3291, allocations: 11.94 kB / 420.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.3297, allocations: 235.5 kB / 420.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.3297, allocations: 8 kB / 420.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.3305, allocations: 91.67 kB / 420.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000965/0.3314, 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.001549/0.333, allocations: 0.9077 MB / 422.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.3334, allocations: 111.3 kB / 423 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.3336, allocations: 126.3 kB / 423.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.3337, allocations: 12 kB / 423.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.3337, allocations: 4 kB / 423.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.3337, allocations: 15.84 kB / 423.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.3361, allocations: 1.746 MB / 424.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3361, allocations: 0 / 424.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004803/0.3366, allocations: 207.7 kB / 425.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.3366, allocations: 4 kB / 425.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002805/0.3369, allocations: 175.9 kB / 425.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.3369, allocations: 8 kB / 425.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3369, allocations: 0 / 425.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.3409, allocations: 2.042 MB / 427.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.3424, allocations: 0.6485 MB / 428 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000463/0.3429, allocations: 127.9 kB / 428.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.3434, allocations: 47.97 kB / 428.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000751/0.3442, allocations: 329 kB / 428.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009296/0.3451, allocations: 1.089 MB / 429.6 MB, free: 8.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007435/0.3458, allocations: 0.5927 MB / 430.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3459, allocations: 0 / 430.2 MB, free: 7.469 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00145/0.3473, allocations: 383.4 kB / 430.5 MB, free: 7.094 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.00462/0.3519, allocations: 2.848 MB / 433.4 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.3558, allocations: 2.047 MB / 435.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3558, allocations: 0 / 435.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.3577, allocations: 1.1 MB / 436.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/0.3619, allocations: 1.071 MB / 437.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/0.3813, allocations: 11.74 MB / 449.3 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.3825, allocations: 1.32 MB / 450.7 MB, free: 2.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0117/0.3942, allocations: 3.374 MB / 454 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007214/0.4014, allocations: 1.243 MB / 455.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4015, allocations: 0 / 455.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08158/0.4831, allocations: 49.67 MB / 0.4931 GB, free: 11.31 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.145/9.628, allocations: 7.844 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