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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001676/0.001676, allocations: 192 kB / 19.29 MB, free: 3.715 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.677/1.677, allocations: 205.1 MB / 225.2 MB, free: 12.29 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.001228/0.001228, allocations: 43.94 kB / 282.1 MB, free: 2.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1012, allocations: 46.64 MB / 328.7 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003851/0.1051, allocations: 2.593 MB / 331.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1076, allocations: 1.283 MB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1078, allocations: 11.88 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.108, allocations: 67.38 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.1082, allocations: 71.31 kB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.1087, allocations: 231.7 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1104, allocations: 2.073 MB / 335.1 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001029/0.1115, allocations: 0.9516 MB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002159/0.1137, allocations: 2.113 MB / 338.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/0.115, allocations: 1.059 MB / 339.2 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004242/0.1154, allocations: 216 kB / 339.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.1158, allocations: 216 kB / 339.6 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006562/0.1165, allocations: 0.6154 MB / 340.2 MB, free: 8.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.1175, allocations: 0.894 MB / 341.1 MB, free: 7.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.1205, allocations: 4.397 MB / 345.5 MB, free: 2.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1205, allocations: 4 kB / 345.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1205, allocations: 0 / 345.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.1206, allocations: 4 kB / 345.5 MB, free: 2.91 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.003457/0.1241, allocations: 2.305 MB / 347.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1241, allocations: 8.031 kB / 347.8 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.1245, allocations: 163.1 kB / 348 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.1267, allocations: 1.069 MB / 349.1 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.1268, allocations: 98.89 kB / 349.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.1271, allocations: 120.4 kB / 349.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/0.1308, allocations: 2.293 MB / 351.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.1308, allocations: 0 / 351.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.131, allocations: 52 kB / 351.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.1311, allocations: 32 kB / 351.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/0.1347, allocations: 1.981 MB / 353.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008921/0.1437, allocations: 4.81 MB / 358.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.1474, allocations: 1.863 MB / 360.3 MB, free: 3.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0015/0.1489, allocations: 0.7581 MB / 361.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.1492, allocations: 17.25 kB / 361.1 MB, free: 3.121 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.1514, allocations: 1.352 MB / 362.4 MB, free: 1.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.507e-06/0.1514, allocations: 0 / 362.4 MB, free: 1.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005388/0.1568, allocations: 2.669 MB / 365.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.1569, allocations: 94.42 kB / 365.2 MB, free: 14.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001555/0.1585, allocations: 0.9408 MB / 366.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.1587, allocations: 101.7 kB / 366.2 MB, free: 13.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004124/0.1592, allocations: 457.2 kB / 366.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/0.1596, allocations: 316.2 kB / 367 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.1608, allocations: 0.6633 MB / 367.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002262/0.161, allocations: 410.7 kB / 368 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.1627, allocations: 0.8666 MB / 368.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.1644, allocations: 1.039 MB / 369.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.1679, allocations: 1.954 MB / 371.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/0.1679, allocations: 4 kB / 371.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004455/0.1724, allocations: 2.393 MB / 374.3 MB, free: 5.699 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.1725, allocations: 41.62 kB / 374.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.1725, allocations: 4 kB / 374.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.1725, allocations: 8 kB / 374.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.173, allocations: 227.7 kB / 374.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.173, allocations: 11.98 kB / 374.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.1737, allocations: 75.61 kB / 374.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/0.1748, allocations: 1.1 MB / 375.8 MB, free: 4.23 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.001646/0.1765, allocations: 0.9002 MB / 376.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003352/0.1768, allocations: 102.8 kB / 376.8 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002753/0.1771, allocations: 134.3 kB / 376.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.1771, allocations: 12 kB / 376.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.1772, allocations: 0 / 376.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.1772, allocations: 11.91 kB / 376.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.1797, allocations: 1.755 MB / 378.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.1797, allocations: 0 / 378.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.1801, allocations: 207.7 kB / 378.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.1801, allocations: 4 kB / 378.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002901/0.1804, allocations: 175.9 kB / 379 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.1805, allocations: 4.625 kB / 379.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1805, allocations: 0 / 379.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1663/0.3468, allocations: 2.034 MB / 381.1 MB, free: 51.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/0.3485, allocations: 0.6466 MB / 381.7 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004187/0.3489, allocations: 117.7 kB / 381.8 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.3494, allocations: 47.62 kB / 381.9 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006593/0.35, allocations: 336.6 kB / 382.2 MB, free: 51.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001037/0.3511, allocations: 1.087 MB / 383.3 MB, free: 51.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007679/0.3519, allocations: 0.5921 MB / 383.9 MB, free: 51.22 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3519, allocations: 3.531 kB / 383.9 MB, free: 51.22 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001236/0.3531, allocations: 384.5 kB / 384.3 MB, free: 51.18 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.0005814/0.3537, allocations: 359.3 kB / 384.6 MB, free: 51.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003878/0.3576, allocations: 2.049 MB / 386.7 MB, free: 50.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3576, allocations: 0 / 386.7 MB, free: 50.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.3594, allocations: 1.091 MB / 387.8 MB, free: 50.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.3626, allocations: 1.073 MB / 388.8 MB, free: 49.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.367, allocations: 2.853 MB / 391.7 MB, free: 48.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/0.3679, allocations: 1.317 MB / 393 MB, free: 47.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.005176/0.373, allocations: 3.374 MB / 396.4 MB, free: 46.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002464/0.3755, allocations: 0.9336 MB / 397.3 MB, free: 45.47 MB / 318.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3755, allocations: 0 / 397.3 MB, free: 45.47 MB / 318.1 MB Notification: Performance of Templates: time 0.04115/0.4167, allocations: 40.41 MB / 437.7 MB, free: 4.656 MB / 318.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches