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: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 113.7 kB / 16.63 MB, free: 6.34 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.001161/0.001161, allocations: 188 kB / 17.55 MB, free: 5.801 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.39/1.39, allocations: 222.9 MB / 241.2 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 51.48 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.0909, allocations: 49.44 MB / 349.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003614/0.09455, allocations: 2.627 MB / 352.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.09703, allocations: 1.224 MB / 353.4 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.09725, allocations: 7.938 kB / 353.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.09746, allocations: 51.62 kB / 353.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.09768, allocations: 55.5 kB / 353.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.09821, allocations: 215.7 kB / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.09991, allocations: 2.069 MB / 355.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009726/0.1009, allocations: 0.9438 MB / 356.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.1031, allocations: 2.152 MB / 358.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.1045, allocations: 1.086 MB / 360 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.1048, allocations: 216 kB / 360.2 MB, free: 9.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003483/0.1052, allocations: 220 kB / 360.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000582/0.1058, allocations: 0.6231 MB / 361 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009679/0.1067, allocations: 0.9057 MB / 361.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.11, allocations: 4.351 MB / 366.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.11, allocations: 0 / 366.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.11, allocations: 0 / 366.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.458e-05/0.11, allocations: 0 / 366.3 MB, free: 3.73 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.003464/0.1135, allocations: 2.305 MB / 368.6 MB, free: 1.359 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.1135, allocations: 12.03 kB / 368.6 MB, free: 1.348 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.114, allocations: 171 kB / 368.8 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.1154, allocations: 1.062 MB / 369.8 MB, free: 76 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1656/0.2811, allocations: 96.23 kB / 369.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.2821, allocations: 120.8 kB / 370.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007497/0.2896, allocations: 2.284 MB / 372.3 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.2897, allocations: 0 / 372.3 MB, free: 23.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005042/0.2902, allocations: 55.03 kB / 372.4 MB, free: 23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.653e-05/0.2902, allocations: 31.72 kB / 372.4 MB, free: 23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.2942, allocations: 1.988 MB / 374.4 MB, free: 22.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007548/0.3018, allocations: 4.783 MB / 379.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/0.3052, allocations: 1.861 MB / 381.1 MB, free: 20.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.3065, allocations: 0.7557 MB / 381.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.3068, allocations: 16.41 kB / 381.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001829/0.3086, allocations: 1.363 MB / 383.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.948e-06/0.3087, allocations: 0 / 383.2 MB, free: 19.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004622/0.3133, allocations: 2.666 MB / 385.9 MB, free: 17.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.3133, allocations: 99.5 kB / 386 MB, free: 17.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3145, allocations: 0.9428 MB / 386.9 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002547/0.3147, allocations: 95.44 kB / 387 MB, free: 17.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.315, allocations: 464.3 kB / 387.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003664/0.3154, allocations: 309.7 kB / 387.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009448/0.3163, allocations: 0.6698 MB / 388.4 MB, free: 16.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3164, allocations: 400.6 kB / 388.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.3178, allocations: 0.8775 MB / 389.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3191, allocations: 1.031 MB / 390.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.3217, allocations: 1.955 MB / 392.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.3217, allocations: 0 / 392.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003659/0.3254, allocations: 2.397 MB / 395.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/0.3254, allocations: 37.64 kB / 395.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.3254, allocations: 4 kB / 395.1 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.3255, allocations: 12.03 kB / 395.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.326, allocations: 227.6 kB / 395.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/0.326, allocations: 15.94 kB / 395.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.3272, allocations: 185.8 kB / 395.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006949/0.3279, allocations: 1.089 MB / 396.6 MB, free: 8.352 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.00154/0.3295, allocations: 0.902 MB / 397.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004274/0.3299, allocations: 106.7 kB / 397.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.3302, allocations: 134.3 kB / 397.8 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.3302, allocations: 12 kB / 397.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/0.3302, allocations: 0 / 397.8 MB, free: 7.172 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3302, allocations: 3.984 kB / 397.8 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.3327, allocations: 1.755 MB / 399.5 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.3327, allocations: 7.984 kB / 399.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.3331, allocations: 207.6 kB / 399.7 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/0.3331, allocations: 11.88 kB / 399.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/0.3334, allocations: 175.9 kB / 399.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3334, allocations: 4 kB / 399.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.3334, allocations: 4.625 kB / 399.9 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.3366, allocations: 2.03 MB / 402 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.3377, allocations: 0.6519 MB / 402.6 MB, free: 2.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.3381, allocations: 123.9 kB / 402.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/0.3391, allocations: 139.5 kB / 402.9 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005755/0.3397, allocations: 329 kB / 403.2 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007233/0.3404, allocations: 1.085 MB / 404.3 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006017/0.341, allocations: 0.5927 MB / 404.9 MB, free: 0 / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 0 / 404.9 MB, free: 0 / 302.1 MB Notification: Performance of remove unused functions: time 0.001536/0.3426, allocations: 383.2 kB / 405.3 MB, free: 15.62 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.000683/0.3433, allocations: 365.4 kB / 405.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.006608/0.3499, allocations: 3.289 MB / 408.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3499, allocations: 0 / 408.9 MB, free: 11.97 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.3522, allocations: 1.096 MB / 410 MB, free: 10.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/0.3567, allocations: 1.065 MB / 411.1 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00592/0.3626, allocations: 3.318 MB / 414.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.364, allocations: 1.328 MB / 415.7 MB, free: 5.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00681/0.3708, allocations: 3.37 MB / 419.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003483/0.3743, allocations: 0.9347 MB / 420 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3743, allocations: 0 / 420 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of Templates: time 0.05602/0.4303, allocations: 40.3 MB / 460.3 MB, free: 7.773 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins/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