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.001143/0.001143, allocations: 112 kB / 17.07 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.269/1.269, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 43.94 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.271, allocations: 49.44 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003549/0.2746, allocations: 2.59 MB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002458/0.2771, allocations: 1.247 MB / 404.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.2773, allocations: 7.938 kB / 404.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.2776, allocations: 67.38 kB / 404.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.2778, allocations: 67.33 kB / 404.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.2784, allocations: 243.6 kB / 404.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001783/0.2802, allocations: 2.073 MB / 406.5 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.2813, allocations: 0.9516 MB / 407.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/0.2833, allocations: 2.113 MB / 409.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.2846, allocations: 1.059 MB / 410.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.2851, allocations: 216 kB / 410.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004485/0.2856, allocations: 220 kB / 411.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007032/0.2863, allocations: 0.6231 MB / 411.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001254/0.2875, allocations: 0.8979 MB / 412.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003319/0.2909, allocations: 4.407 MB / 417 MB, free: 7.969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2909, allocations: 3.938 kB / 417 MB, free: 7.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2909, allocations: 4 kB / 417 MB, free: 7.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.382e-05/0.291, allocations: 0 / 417 MB, free: 7.961 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.003944/0.2949, allocations: 2.343 MB / 419.3 MB, free: 5.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.295, allocations: 8.031 kB / 419.4 MB, free: 5.543 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003618/0.2953, allocations: 202.2 kB / 419.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/0.2957, allocations: 175.9 kB / 419.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.2976, allocations: 1.074 MB / 420.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/0.2977, allocations: 94.91 kB / 420.9 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/0.2981, allocations: 128.3 kB / 421 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003611/0.3017, allocations: 2.289 MB / 423.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.3017, allocations: 0 / 423.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002414/0.302, allocations: 52 kB / 423.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.302, allocations: 32 kB / 423.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.3054, allocations: 1.985 MB / 425.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007868/0.3133, allocations: 4.798 MB / 430.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003504/0.3168, allocations: 1.867 MB / 432 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/0.3183, allocations: 0.7581 MB / 432.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.3184, allocations: 17.3 kB / 432.8 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00199/0.3204, allocations: 1.355 MB / 434.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.286e-06/0.3205, allocations: 0 / 434.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=128): time 0.005047/0.3255, allocations: 2.67 MB / 436.8 MB, free: 3.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.125e-05/0.3256, allocations: 98.41 kB / 436.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.3269, allocations: 0.945 MB / 437.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/0.3272, allocations: 97.66 kB / 438 MB, free: 2.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.3276, allocations: 474.1 kB / 438.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.328, allocations: 325.7 kB / 438.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009787/0.329, allocations: 0.6634 MB / 439.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.3292, allocations: 406.7 kB / 439.8 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.3308, allocations: 0.8666 MB / 440.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.3325, allocations: 1.043 MB / 441.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.3356, allocations: 1.958 MB / 443.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.3357, allocations: 0 / 443.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004168/0.3398, allocations: 2.401 MB / 446.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.3399, allocations: 33.7 kB / 446.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3399, allocations: 4.031 kB / 446.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.34, allocations: 12 kB / 446.1 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.3405, allocations: 231.5 kB / 446.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.3405, allocations: 8.625 kB / 446.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/0.3412, allocations: 87.64 kB / 446.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/0.3421, allocations: 1.089 MB / 447.5 MB, free: 8.988 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001435/0.3435, allocations: 0.9079 MB / 448.5 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.3439, allocations: 107.3 kB / 448.6 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3441, allocations: 134.3 kB / 448.7 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.3441, allocations: 12 kB / 448.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3441, allocations: 3.938 kB / 448.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.3442, allocations: 7.922 kB / 448.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.3463, allocations: 1.759 MB / 450.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3463, allocations: 0 / 450.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.3468, allocations: 207.7 kB / 450.7 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3468, allocations: 4 kB / 450.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002399/0.347, allocations: 175.9 kB / 450.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.347, allocations: 7.984 kB / 450.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3471, allocations: 0 / 450.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.3507, allocations: 2.038 MB / 452.9 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.3521, allocations: 0.6485 MB / 453.5 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/0.3525, allocations: 119.9 kB / 453.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004504/0.353, allocations: 47.97 kB / 453.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005546/0.3536, allocations: 340.8 kB / 454 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008345/0.3544, allocations: 1.089 MB / 455.1 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006785/0.3551, allocations: 0.5966 MB / 455.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3551, allocations: 0 / 455.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001308/0.3564, allocations: 379.4 kB / 456.1 MB, free: 308 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004066/0.3605, allocations: 2.838 MB / 458.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003439/0.3639, allocations: 2.049 MB / 461 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.364, allocations: 3.938 kB / 461 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.3656, allocations: 1.092 MB / 462.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.3692, allocations: 1.063 MB / 463.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/0.3864, allocations: 11.75 MB / 474.9 MB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.3874, allocations: 1.32 MB / 476.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.005844/0.3933, allocations: 3.37 MB / 479.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002981/0.3963, allocations: 1.247 MB / 480.8 MB, free: 7.332 MB / 398.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3963, allocations: 4 kB / 480.8 MB, free: 7.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.4693, allocations: 49.66 MB / 0.5181 GB, free: 4.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.124/9.593, allocations: 7.797 kB / 0.5181 GB, free: 4.945 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches