Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Counter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 106.4 kB / 17.15 MB, free: 6.309 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.001321/0.001322, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 51.92 kB / 280.1 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07953/0.08096, allocations: 46.63 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002995/0.08398, allocations: 2.631 MB / 329.3 MB, free: 2.145 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.0859, allocations: 1.264 MB / 330.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.086, allocations: 7.938 kB / 330.6 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.08618, allocations: 51.62 kB / 330.7 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.08631, allocations: 55.48 kB / 330.7 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.08671, allocations: 211.8 kB / 330.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.088, allocations: 1.85 MB / 332.8 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/0.08886, allocations: 0.9204 MB / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.09039, allocations: 1.882 MB / 335.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.09114, allocations: 0.9298 MB / 336.5 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.09144, allocations: 72 kB / 336.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.09174, allocations: 75.94 kB / 336.6 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004881/0.09223, allocations: 478 kB / 337.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007681/0.09301, allocations: 0.7339 MB / 337.8 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.09569, allocations: 4.25 MB / 342.1 MB, free: 5.324 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.0957, allocations: 0 / 342.1 MB, free: 5.324 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09571, allocations: 0 / 342.1 MB, free: 5.324 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.09574, allocations: 0 / 342.1 MB, free: 5.324 MB / 286.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.00319/0.09894, allocations: 2.309 MB / 344.4 MB, free: 2.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.09898, allocations: 12.03 kB / 344.4 MB, free: 2.938 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003349/0.09932, allocations: 206.2 kB / 344.6 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003625/0.09969, allocations: 167 kB / 344.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.1011, allocations: 1.058 MB / 345.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.1012, allocations: 94.91 kB / 345.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.1015, allocations: 124.4 kB / 346 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/0.1051, allocations: 2.289 MB / 348.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1051, allocations: 0 / 348.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.1053, allocations: 48 kB / 348.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.1054, allocations: 36 kB / 348.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/0.1086, allocations: 1.989 MB / 350.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006799/0.1154, allocations: 4.781 MB / 355.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.1186, allocations: 1.863 MB / 357.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1199, allocations: 0.762 MB / 357.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.1201, allocations: 13.31 kB / 357.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/0.1219, allocations: 1.348 MB / 359.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.055e-06/0.122, allocations: 4 kB / 359.2 MB, free: 3.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.00452/0.1265, allocations: 2.669 MB / 361.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.1266, allocations: 90.42 kB / 361.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.1277, allocations: 0.9485 MB / 362.9 MB, free: 252 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002249/0.1279, allocations: 101.7 kB / 363 MB, free: 144 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.1282, allocations: 469.1 kB / 363.4 MB, free: 15.67 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.1286, allocations: 308.2 kB / 363.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008991/0.1295, allocations: 0.6672 MB / 364.4 MB, free: 14.69 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1297, allocations: 402.7 kB / 364.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.1311, allocations: 0.8666 MB / 365.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.1326, allocations: 1.035 MB / 366.7 MB, free: 12.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.1355, allocations: 1.958 MB / 368.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1355, allocations: 4 kB / 368.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003838/0.1394, allocations: 2.396 MB / 371.1 MB, free: 7.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.1394, allocations: 33.7 kB / 371.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.1395, allocations: 8 kB / 371.1 MB, free: 7.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.1395, allocations: 8 kB / 371.1 MB, free: 7.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.14, allocations: 231.6 kB / 371.3 MB, free: 7.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.1401, allocations: 11.97 kB / 371.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.1413, allocations: 191.2 kB / 371.5 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008664/0.1421, allocations: 1.089 MB / 372.6 MB, free: 6.348 MB / 318.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.001318/0.1435, allocations: 0.8963 MB / 373.5 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.1438, allocations: 102.8 kB / 373.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.144, allocations: 138.3 kB / 373.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.144, allocations: 15.98 kB / 373.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.144, allocations: 0 / 373.8 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.144, allocations: 7.922 kB / 373.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002263/0.1463, allocations: 1.766 MB / 375.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1463, allocations: 0 / 375.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/0.1467, allocations: 207.7 kB / 375.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1468, allocations: 4 kB / 375.8 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002569/0.147, allocations: 179.9 kB / 375.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.147, allocations: 4 kB / 375.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.147, allocations: 4 kB / 375.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.1506, allocations: 2.03 MB / 378 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.1516, allocations: 0.6402 MB / 378.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.152, allocations: 123.9 kB / 378.7 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1245/0.2765, allocations: 134.7 kB / 378.9 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008592/0.2774, allocations: 335 kB / 379.2 MB, free: 52.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001067/0.2784, allocations: 1.084 MB / 380.3 MB, free: 52.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006843/0.2791, allocations: 0.5928 MB / 380.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2791, allocations: 0 / 380.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001336/0.2805, allocations: 377.6 kB / 381.2 MB, free: 52.15 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.003847/0.2843, allocations: 2.841 MB / 384.1 MB, free: 51.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.2876, allocations: 2.034 MB / 386.1 MB, free: 50.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2876, allocations: 0 / 386.1 MB, free: 50.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/0.2893, allocations: 1.098 MB / 387.2 MB, free: 50.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003037/0.2924, allocations: 0.9698 MB / 388.2 MB, free: 50.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/0.3086, allocations: 12.44 MB / 400.6 MB, free: 41.95 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.3093, allocations: 1.314 MB / 401.9 MB, free: 40.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.004642/0.3139, allocations: 3.394 MB / 405.3 MB, free: 37.2 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002513/0.3165, allocations: 1.239 MB / 406.6 MB, free: 35.96 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3165, allocations: 3.609 kB / 406.6 MB, free: 35.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.485/3.801, allocations: 48.25 MB / 454.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/3.802, allocations: 199.7 kB / 455 MB, free: 2.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.295/7.097, allocations: 0 / 455 MB, free: 2.422 MB / 334.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_Counter.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches