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.001142/0.001142, allocations: 106.8 kB / 16.92 MB, free: 5.777 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.001106/0.001106, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.437/1.437, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 46.73 kB / 300.7 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.08871, allocations: 49.44 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003785/0.09253, allocations: 2.586 MB / 352.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002806/0.09536, allocations: 1.251 MB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002624/0.09564, allocations: 4 kB / 354 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.09593, allocations: 67.38 kB / 354.1 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002399/0.09618, allocations: 67.27 kB / 354.1 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006967/0.09689, allocations: 235.7 kB / 354.4 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.09898, allocations: 2.061 MB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.1003, allocations: 0.9477 MB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.1028, allocations: 2.117 MB / 359.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001756/0.1045, allocations: 1.051 MB / 360.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007764/0.1053, allocations: 220 kB / 360.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.1061, allocations: 219.9 kB / 361 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000978/0.1071, allocations: 0.6231 MB / 361.6 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.1088, allocations: 0.8863 MB / 362.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.1129, allocations: 4.343 MB / 366.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.113, allocations: 4 kB / 366.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.113, allocations: 0 / 366.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.929e-05/0.1131, allocations: 0 / 366.8 MB, free: 3.602 MB / 302.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.006075/0.1191, allocations: 2.313 MB / 369.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.1192, allocations: 8.031 kB / 369.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004577/0.1197, allocations: 206.2 kB / 369.3 MB, free: 1.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005727/0.1203, allocations: 167 kB / 369.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1664/0.2867, allocations: 1.058 MB / 370.6 MB, free: 22.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.2869, allocations: 96.91 kB / 370.7 MB, free: 22.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005806/0.2875, allocations: 122.7 kB / 370.8 MB, free: 22.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004541/0.292, allocations: 2.289 MB / 373.1 MB, free: 22.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.2921, allocations: 1.328 kB / 373.1 MB, free: 22.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.2923, allocations: 51.97 kB / 373.1 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.2923, allocations: 31.47 kB / 373.2 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.2961, allocations: 1.978 MB / 375.1 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.3039, allocations: 4.865 MB / 380 MB, free: 20.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003478/0.3074, allocations: 1.856 MB / 381.9 MB, free: 19.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.3088, allocations: 0.7605 MB / 382.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.309, allocations: 13.53 kB / 382.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.3108, allocations: 1.359 MB / 384 MB, free: 18.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.496e-06/0.3109, allocations: 0 / 384 MB, free: 18.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005084/0.3159, allocations: 2.662 MB / 386.6 MB, free: 17.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.316, allocations: 100.2 kB / 386.7 MB, free: 17.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.3172, allocations: 0.943 MB / 387.7 MB, free: 16.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002621/0.3175, allocations: 98.34 kB / 387.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.3178, allocations: 460.2 kB / 388.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003941/0.3182, allocations: 317.2 kB / 388.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008905/0.3191, allocations: 0.6639 MB / 389.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3193, allocations: 407.9 kB / 389.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.3207, allocations: 0.8728 MB / 390.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.3222, allocations: 1.038 MB / 391.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002737/0.325, allocations: 1.947 MB / 393.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.325, allocations: 7.828 kB / 393.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003627/0.3286, allocations: 2.401 MB / 395.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/0.3287, allocations: 41.69 kB / 395.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.3287, allocations: 8.031 kB / 395.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.3287, allocations: 8 kB / 395.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.3292, allocations: 223.6 kB / 396.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/0.3292, allocations: 10.53 kB / 396.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.33, allocations: 80.36 kB / 396.2 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007931/0.3308, allocations: 1.085 MB / 397.3 MB, free: 7.586 MB / 302.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.001569/0.3323, allocations: 0.913 MB / 398.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004952/0.3329, allocations: 106.7 kB / 398.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.3331, allocations: 130.3 kB / 398.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.3331, allocations: 12 kB / 398.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.3332, allocations: 0 / 398.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.3332, allocations: 7.969 kB / 398.5 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/0.3356, allocations: 1.762 MB / 400.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.3356, allocations: 7.938 kB / 400.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.336, allocations: 203.7 kB / 400.5 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/0.336, allocations: 4 kB / 400.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.3363, allocations: 175.9 kB / 400.6 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.3363, allocations: 4 kB / 400.6 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3363, allocations: 4 kB / 400.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.3398, allocations: 2.034 MB / 402.7 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.3409, allocations: 0.653 MB / 403.3 MB, free: 1.477 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.3414, allocations: 115.9 kB / 403.4 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/0.3419, allocations: 47.97 kB / 403.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006551/0.3426, allocations: 333 kB / 403.8 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000956/0.3436, allocations: 1.085 MB / 404.9 MB, free: 15.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001016/0.3446, allocations: 0.5966 MB / 405.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.452e-06/0.3446, allocations: 0 / 405.5 MB, free: 15.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001906/0.3465, allocations: 379.8 kB / 405.9 MB, free: 14.94 MB / 318.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.005209/0.3518, allocations: 2.838 MB / 408.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006918/0.3587, allocations: 3.289 MB / 412 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3587, allocations: 0 / 412 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.3609, allocations: 1.096 MB / 413.1 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004229/0.3651, allocations: 1.079 MB / 414.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/0.3853, allocations: 12.03 MB / 426.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.3866, allocations: 1.324 MB / 427.5 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.006451/0.393, allocations: 3.367 MB / 430.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003638/0.3967, allocations: 1.247 MB / 432.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3967, allocations: 0 / 432.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07976/0.4765, allocations: 49.54 MB / 481.7 MB, free: 2.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.924/9.4, allocations: 15.48 kB / 481.7 MB, free: 2.094 MB / 382.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