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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.216/1.216, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008576/0.0008577, allocations: 104.4 kB / 271.2 MB, free: 8.426 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007873/0.0007874, allocations: 43.94 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1963, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002956/0.1993, allocations: 2.64 MB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.2011, allocations: 1.257 MB / 377.7 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.2012, allocations: 7.312 kB / 377.7 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001733/0.2014, allocations: 50.78 kB / 377.8 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2016, allocations: 58.31 kB / 377.8 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.2019, allocations: 210 kB / 378 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.2032, allocations: 1.856 MB / 379.9 MB, free: 41.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/0.204, allocations: 0.9197 MB / 380.8 MB, free: 40.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.2057, allocations: 1.899 MB / 382.7 MB, free: 40.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008225/0.2066, allocations: 0.9368 MB / 383.6 MB, free: 39.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.2068, allocations: 74.19 kB / 383.7 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.2071, allocations: 68 kB / 383.8 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004102/0.2076, allocations: 478 kB / 384.3 MB, free: 39.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.2082, allocations: 0.7339 MB / 385 MB, free: 38.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001864/0.2101, allocations: 4.247 MB / 389.2 MB, free: 34.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2101, allocations: 0 / 389.2 MB, free: 34.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2101, allocations: 3.938 kB / 389.2 MB, free: 34.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.2101, allocations: 0 / 389.2 MB, free: 34.04 MB / 298.7 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.002506/0.2127, allocations: 2.305 MB / 391.5 MB, free: 31.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2127, allocations: 8.031 kB / 391.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003044/0.213, allocations: 171.1 kB / 391.7 MB, free: 31.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.2147, allocations: 1.066 MB / 392.8 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.2147, allocations: 94.91 kB / 392.9 MB, free: 30.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.215, allocations: 124.4 kB / 393 MB, free: 30.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.2179, allocations: 2.289 MB / 395.3 MB, free: 27.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.218, allocations: 4 kB / 395.3 MB, free: 27.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/0.2182, allocations: 48 kB / 395.3 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.2182, allocations: 32 kB / 395.4 MB, free: 27.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.221, allocations: 1.981 MB / 397.3 MB, free: 25.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.2273, allocations: 4.791 MB / 402.1 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002746/0.23, allocations: 1.863 MB / 404 MB, free: 19.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.2311, allocations: 0.7581 MB / 404.8 MB, free: 18.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.2314, allocations: 21.31 kB / 404.8 MB, free: 18.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/0.2329, allocations: 1.355 MB / 406.1 MB, free: 16.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.677e-06/0.2329, allocations: 0 / 406.1 MB, free: 16.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.003985/0.2369, allocations: 2.661 MB / 408.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.237, allocations: 98.41 kB / 408.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.2379, allocations: 0.9447 MB / 409.8 MB, free: 13.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001695/0.2381, allocations: 97.66 kB / 409.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.2383, allocations: 465.1 kB / 410.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.2386, allocations: 304.3 kB / 410.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007623/0.2394, allocations: 0.6633 MB / 411.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.2395, allocations: 410.7 kB / 411.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.2407, allocations: 0.8705 MB / 412.6 MB, free: 10.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00128/0.242, allocations: 1.027 MB / 413.6 MB, free: 9.277 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.2444, allocations: 1.961 MB / 415.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2444, allocations: 0 / 415.6 MB, free: 7.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003211/0.2476, allocations: 2.396 MB / 418 MB, free: 4.859 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/0.2477, allocations: 33.7 kB / 418 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.2477, allocations: 4 kB / 418 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.2477, allocations: 11.94 kB / 418.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.2481, allocations: 235.6 kB / 418.3 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2481, allocations: 12 kB / 418.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009302/0.2491, allocations: 195.2 kB / 418.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000675/0.2498, allocations: 1.086 MB / 419.6 MB, free: 3.285 MB / 298.7 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.001036/0.2508, allocations: 0.908 MB / 420.5 MB, free: 2.348 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.2511, allocations: 102.8 kB / 420.6 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000192/0.2513, allocations: 134.3 kB / 420.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2513, allocations: 12 kB / 420.7 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.2513, allocations: 4 kB / 420.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.2513, allocations: 7.922 kB / 420.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.253, allocations: 1.755 MB / 422.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.253, allocations: 0 / 422.5 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.2533, allocations: 207.7 kB / 422.7 MB, free: 76 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.2534, allocations: 7.984 kB / 422.7 MB, free: 68 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002555/0.2536, allocations: 179.8 kB / 422.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.2536, allocations: 4 kB / 422.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2536, allocations: 4 kB / 422.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005212/0.2588, allocations: 3.814 MB / 426.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.2603, allocations: 0.644 MB / 427.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.2606, allocations: 123.9 kB / 427.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.2613, allocations: 139.5 kB / 427.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006435/0.262, allocations: 329 kB / 427.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009415/0.2629, allocations: 1.085 MB / 429 MB, free: 9.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006728/0.2636, allocations: 0.5966 MB / 429.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2636, allocations: 0 / 429.6 MB, free: 9.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001275/0.2649, allocations: 383.1 kB / 430 MB, free: 8.707 MB / 314.7 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.0004753/0.2654, allocations: 363.8 kB / 430.3 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003376/0.2687, allocations: 2.03 MB / 432.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2688, allocations: 0 / 432.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/0.2704, allocations: 1.104 MB / 433.5 MB, free: 5.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.2739, allocations: 0.9673 MB / 434.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005695/0.2796, allocations: 4.207 MB / 438.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.2806, allocations: 1.354 MB / 440 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.005708/0.2863, allocations: 3.378 MB / 443.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002438/0.2888, allocations: 0.9307 MB / 444.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2888, allocations: 0 / 444.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of Templates: time 0.04578/0.3346, allocations: 40.07 MB / 484.4 MB, free: 1.215 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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