Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2963, allocations: 50.55 MB / 408.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003875/0.3002, allocations: 2.603 MB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.3028, allocations: 1.275 MB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.3029, allocations: 7.938 kB / 412.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.3032, allocations: 67.38 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3034, allocations: 75.3 kB / 412.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005981/0.304, allocations: 231.7 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001592/0.3056, allocations: 2.073 MB / 415.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.3066, allocations: 0.9516 MB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.3087, allocations: 2.113 MB / 418.1 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3099, allocations: 1.063 MB / 419.2 MB, free: 7.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.3102, allocations: 216 kB / 419.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.3106, allocations: 216 kB / 419.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000659/0.3113, allocations: 0.627 MB / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.3124, allocations: 0.8941 MB / 421.2 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.3159, allocations: 4.414 MB / 425.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3159, allocations: 4 kB / 425.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3159, allocations: 0 / 425.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.65e-05/0.3159, allocations: 0 / 425.6 MB, free: 0.6406 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.004123/0.3201, allocations: 2.347 MB / 427.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.3201, allocations: 8.031 kB / 427.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/0.3205, allocations: 198.2 kB / 428.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.3209, allocations: 175.9 kB / 428.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.3229, allocations: 1.07 MB / 429.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.903e-05/0.323, allocations: 98.91 kB / 429.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.3234, allocations: 120.4 kB / 429.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003694/0.3271, allocations: 2.289 MB / 431.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.3271, allocations: 0 / 431.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002411/0.3274, allocations: 55.98 kB / 431.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.3274, allocations: 28 kB / 431.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.3308, allocations: 1.977 MB / 433.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007917/0.3388, allocations: 4.821 MB / 438.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.3422, allocations: 1.855 MB / 440.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3436, allocations: 0.7581 MB / 441.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001758/0.3438, allocations: 21.3 kB / 441.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002024/0.3458, allocations: 1.348 MB / 442.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=128): time 3.697e-06/0.3458, allocations: 4 kB / 442.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=128): time 0.005092/0.3509, allocations: 2.67 MB / 445.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.351, allocations: 94.42 kB / 445.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.3525, allocations: 0.9528 MB / 446.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002591/0.3528, allocations: 101.7 kB / 446.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.3533, allocations: 470.2 kB / 447 MB, free: 10.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004982/0.3538, allocations: 329.6 kB / 447.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001172/0.355, allocations: 0.6634 MB / 448 MB, free: 9.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.3552, allocations: 406.7 kB / 448.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.3569, allocations: 0.8627 MB / 449.3 MB, free: 8.637 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.3586, allocations: 1.035 MB / 450.3 MB, free: 7.566 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003311/0.3619, allocations: 1.958 MB / 452.2 MB, free: 5.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.362, allocations: 4 kB / 452.2 MB, free: 5.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004284/0.3663, allocations: 2.398 MB / 454.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.3663, allocations: 41.62 kB / 454.7 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3664, allocations: 8.062 kB / 454.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/0.3664, allocations: 12 kB / 454.7 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.3669, allocations: 223.6 kB / 454.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.051e-05/0.367, allocations: 19.95 kB / 454.9 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008511/0.3678, allocations: 83.69 kB / 455 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/0.3689, allocations: 1.089 MB / 456.1 MB, free: 1.66 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.001849/0.3708, allocations: 0.9041 MB / 457 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00048/0.3713, allocations: 107.3 kB / 457.1 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002799/0.3716, allocations: 130.3 kB / 457.3 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.3716, allocations: 12 kB / 457.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.3716, allocations: 0 / 457.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.857e-05/0.3716, allocations: 11.91 kB / 457.3 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.3744, allocations: 1.762 MB / 459 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.3744, allocations: 0 / 459 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005262/0.3749, allocations: 211.6 kB / 459.2 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.3749, allocations: 8 kB / 459.3 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000297/0.3753, allocations: 175.9 kB / 459.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.3753, allocations: 7.938 kB / 459.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3753, allocations: 0 / 459.4 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003863/0.3791, allocations: 2.034 MB / 461.5 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/0.3806, allocations: 0.6563 MB / 462.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/0.3811, allocations: 115.9 kB / 462.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005855/0.3817, allocations: 47.97 kB / 462.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006164/0.3823, allocations: 336.9 kB / 462.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009714/0.3833, allocations: 1.081 MB / 463.7 MB, free: 9.953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008489/0.3842, allocations: 0.5888 MB / 464.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3842, allocations: 4 kB / 464.3 MB, free: 9.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001463/0.3857, allocations: 375.4 kB / 464.7 MB, free: 8.992 MB / 382.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.004552/0.3902, allocations: 2.845 MB / 467.5 MB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003797/0.394, allocations: 2.044 MB / 469.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3941, allocations: 4.062 kB / 469.5 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.3959, allocations: 1.084 MB / 470.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/0.3999, allocations: 1.078 MB / 471.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/0.42, allocations: 11.75 MB / 483.5 MB, free: 5.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.4214, allocations: 1.316 MB / 484.8 MB, free: 4.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.008158/0.4296, allocations: 3.374 MB / 488.1 MB, free: 1.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004083/0.4337, allocations: 1.243 MB / 489.4 MB, free: 0 / 398.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4338, allocations: 0 / 489.4 MB, free: 0 / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08451/0.5183, allocations: 49.64 MB / 0.5264 GB, free: 13.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.019/9.537, allocations: 19.17 kB / 0.5264 GB, free: 13.5 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches