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.001381/0.001381, allocations: 102.6 kB / 16.92 MB, free: 6.184 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.001551/0.001551, allocations: 191.3 kB / 17.85 MB, free: 5.32 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.44/1.44, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 48.17 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.09318, 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.004585/0.09781, allocations: 2.59 MB / 352.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1006, allocations: 1.247 MB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/0.101, allocations: 4 kB / 354 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1014, allocations: 71.31 kB / 354.1 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1018, allocations: 67.31 kB / 354.1 MB, free: 348 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007694/0.1026, allocations: 235.7 kB / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.1045, allocations: 2.057 MB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.1056, allocations: 0.9477 MB / 357.4 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.1078, allocations: 2.113 MB / 359.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1092, allocations: 1.059 MB / 360.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005107/0.1097, allocations: 216 kB / 360.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.1102, allocations: 220 kB / 361 MB, free: 9.477 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00066/0.1109, allocations: 0.6153 MB / 361.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.1121, allocations: 0.8941 MB / 362.5 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.1153, allocations: 4.347 MB / 366.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1153, allocations: 0 / 366.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1153, allocations: 0 / 366.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.821e-05/0.1154, 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.00354/0.1189, allocations: 2.305 MB / 369.1 MB, free: 1.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.119, allocations: 8.031 kB / 369.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003653/0.1193, allocations: 206.2 kB / 369.3 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.1198, allocations: 171 kB / 369.5 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.166/0.2857, allocations: 1.059 MB / 370.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.2859, allocations: 100.4 kB / 370.7 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008842/0.2868, allocations: 121.8 kB / 370.8 MB, free: 22.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/0.2922, allocations: 2.287 MB / 373.1 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2922, allocations: 0 / 373.1 MB, free: 22.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002328/0.2925, allocations: 52.66 kB / 373.1 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.2925, allocations: 31.78 kB / 373.2 MB, free: 22.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.2961, allocations: 1.984 MB / 375.1 MB, free: 21.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007461/0.3036, allocations: 4.854 MB / 380 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003387/0.307, allocations: 1.863 MB / 381.9 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3083, allocations: 0.7552 MB / 382.6 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.3085, allocations: 16.56 kB / 382.6 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.3103, allocations: 1.359 MB / 384 MB, free: 18.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.136e-06/0.3103, allocations: 0 / 384 MB, free: 18.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004769/0.3151, allocations: 2.662 MB / 386.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3151, allocations: 100.2 kB / 386.7 MB, free: 17.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3163, allocations: 0.9448 MB / 387.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.3165, allocations: 98.22 kB / 387.8 MB, free: 16.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003016/0.3168, allocations: 462.8 kB / 388.2 MB, free: 16.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.3172, allocations: 311.3 kB / 388.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/0.3181, allocations: 0.664 MB / 389.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3182, allocations: 405.8 kB / 389.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.3196, allocations: 0.871 MB / 390.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.3209, allocations: 1.046 MB / 391.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.3236, allocations: 1.951 MB / 393.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.3236, allocations: 0 / 393.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00356/0.3272, allocations: 2.393 MB / 395.9 MB, free: 8.922 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3272, allocations: 44.77 kB / 395.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.3273, allocations: 8.031 kB / 395.9 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.179e-05/0.3273, allocations: 8 kB / 395.9 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.3278, allocations: 226 kB / 396.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3278, allocations: 16.14 kB / 396.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.3285, allocations: 82.45 kB / 396.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008863/0.3294, allocations: 1.085 MB / 397.3 MB, free: 7.469 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.001502/0.3309, allocations: 0.912 MB / 398.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.3313, allocations: 110.7 kB / 398.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.3315, allocations: 126.3 kB / 398.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3315, allocations: 19.27 kB / 398.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.106e-05/0.3315, allocations: 0 / 398.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3315, allocations: 5.109 kB / 398.5 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.3337, allocations: 1.757 MB / 400.2 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.3337, allocations: 7.938 kB / 400.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.3342, allocations: 203.7 kB / 400.5 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.3342, allocations: 8 kB / 400.5 MB, free: 4.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.3344, allocations: 175.9 kB / 400.6 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.3344, allocations: 7.984 kB / 400.6 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3344, allocations: 4 kB / 400.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/0.3377, allocations: 2.034 MB / 402.7 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009293/0.3386, allocations: 0.6429 MB / 403.3 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/0.3391, allocations: 119.9 kB / 403.4 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.3395, allocations: 47.97 kB / 403.5 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005684/0.3401, allocations: 329 kB / 403.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007294/0.3408, allocations: 1.085 MB / 404.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007739/0.3416, allocations: 0.5927 MB / 405.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3416, allocations: 4 kB / 405.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001448/0.3431, allocations: 387.1 kB / 405.9 MB, free: 14.82 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.004401/0.3475, allocations: 2.837 MB / 408.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00619/0.3537, allocations: 3.288 MB / 412 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3537, allocations: 0 / 412 MB, free: 8.668 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.3556, allocations: 1.1 MB / 413.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003877/0.3594, allocations: 1.071 MB / 414.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/0.3792, allocations: 12.03 MB / 426.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.3805, allocations: 1.32 MB / 427.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.006654/0.3872, allocations: 3.37 MB / 430.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003197/0.3904, allocations: 1.255 MB / 432.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3904, allocations: 0 / 432.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/0.4693, allocations: 49.53 MB / 481.7 MB, free: 2.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/8.744, allocations: 15.02 kB / 481.7 MB, free: 1.992 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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