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.000807/0.000807, allocations: 92.42 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008286/0.0008286, allocations: 203.2 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001902/0.0001903, allocations: 4 kB / 307.8 MB, free: 0.7383 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.0792, allocations: 51.52 MB / 359.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002223/0.08146, allocations: 2.27 MB / 361.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.08341, allocations: 1.244 MB / 362.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.08351, allocations: 7.938 kB / 362.9 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.08365, allocations: 51.62 kB / 362.9 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.08379, allocations: 51.52 kB / 363 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.08421, allocations: 219.7 kB / 363.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.08561, allocations: 1.842 MB / 365 MB, free: 7.516 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008898/0.08651, allocations: 0.9048 MB / 365.9 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.08813, allocations: 1.808 MB / 367.7 MB, free: 4.781 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007658/0.08891, allocations: 0.8205 MB / 368.6 MB, free: 3.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.08911, allocations: 40 kB / 368.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.08931, allocations: 40 kB / 368.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.08972, allocations: 414.1 kB / 369 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.09036, allocations: 0.6887 MB / 369.7 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1399/0.2302, allocations: 4.158 MB / 373.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2303, allocations: 1.094 kB / 373.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.2303, allocations: 0 / 373.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.122e-05/0.2304, allocations: 3.828 kB / 373.9 MB, free: 12.62 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.002747/0.2331, allocations: 1.683 MB / 375.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2332, allocations: 10.03 kB / 375.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004029/0.2336, allocations: 201.8 kB / 375.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/0.2339, allocations: 169.5 kB / 376 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.2354, allocations: 1.058 MB / 377 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.2356, allocations: 135.9 kB / 377.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003324/0.236, allocations: 126.5 kB / 377.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/0.2397, allocations: 2.298 MB / 379.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.2398, allocations: 0 / 379.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.24, allocations: 50.16 kB / 379.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.24, allocations: 30.66 kB / 379.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003459/0.2435, allocations: 2.008 MB / 381.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006209/0.2497, allocations: 4.783 MB / 386.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003155/0.2529, allocations: 1.917 MB / 388.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.2541, allocations: 0.7692 MB / 389.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.2543, allocations: 13.41 kB / 389.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.2561, allocations: 1.363 MB / 390.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.946e-06/0.2561, allocations: 0 / 390.5 MB, free: 7.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004414/0.2605, allocations: 2.702 MB / 393.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.2605, allocations: 93.92 kB / 393.3 MB, free: 5.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000855/0.2614, allocations: 0.9455 MB / 394.2 MB, free: 5.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.2616, allocations: 100.4 kB / 394.3 MB, free: 5.312 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.2619, allocations: 463.2 kB / 394.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.2622, allocations: 315 kB / 395.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/0.2625, allocations: 241 kB / 395.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.362e-05/0.2626, allocations: 401.8 kB / 395.7 MB, free: 4.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.2639, allocations: 0.8746 MB / 396.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2653, allocations: 1.054 MB / 397.6 MB, free: 3.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.268, allocations: 1.971 MB / 399.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.268, allocations: 4 kB / 399.6 MB, free: 1.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003641/0.2716, allocations: 2.422 MB / 402 MB, free: 15.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.2717, allocations: 29.7 kB / 402.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2717, allocations: 8.031 kB / 402.1 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.2717, allocations: 8 kB / 402.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.2722, allocations: 227.2 kB / 402.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.2722, allocations: 15.45 kB / 402.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.2736, allocations: 201.9 kB / 402.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009478/0.2745, allocations: 1.093 MB / 403.6 MB, free: 13.46 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.001403/0.276, allocations: 0.8994 MB / 404.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.2763, allocations: 104.2 kB / 404.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.2766, allocations: 130.3 kB / 404.7 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/0.2766, allocations: 12 kB / 404.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.2766, allocations: 2.625 kB / 404.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.2766, allocations: 11.91 kB / 404.8 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.2792, allocations: 1.754 MB / 406.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2792, allocations: 3.938 kB / 406.5 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.2796, allocations: 207.7 kB / 406.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.2797, allocations: 4 kB / 406.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/0.2799, allocations: 179.9 kB / 406.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.2799, allocations: 4 kB / 406.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2799, allocations: 0 / 406.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.2835, allocations: 2.057 MB / 409 MB, free: 8.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.2845, allocations: 0.644 MB / 409.6 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000409/0.2849, allocations: 119.9 kB / 409.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008157/0.2858, allocations: 155.5 kB / 409.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/0.2864, allocations: 332.9 kB / 410.2 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009626/0.2874, allocations: 1.081 MB / 411.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.2881, allocations: 0.5927 MB / 411.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2881, allocations: 0 / 411.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001151/0.2892, allocations: 383.1 kB / 412.3 MB, free: 4.73 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.004149/0.2934, allocations: 2.849 MB / 415.1 MB, free: 1.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003377/0.2968, allocations: 2.059 MB / 417.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2968, allocations: 0 / 417.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.2985, allocations: 1.108 MB / 418.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/0.3022, allocations: 0.9733 MB / 419.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/0.3222, allocations: 12.48 MB / 431.7 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/0.3234, allocations: 1.32 MB / 433 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.007753/0.3311, allocations: 3.378 MB / 436.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004089/0.3352, allocations: 1.247 MB / 437.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of SimCode: time 1.893e-06/0.3353, allocations: 0 / 437.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06327/0.3985, allocations: 47.86 MB / 485.5 MB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.3987, allocations: 194.7 kB / 485.7 MB, free: 10.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.766, allocations: 0 / 485.7 MB, free: 10.06 MB / 398.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_Counter_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches