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.001372/0.001372, allocations: 108.4 kB / 18.36 MB, free: 4.641 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.001531/0.001531, allocations: 191 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.6/1.6, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001344/0.001344, allocations: 47.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09589, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004041/0.09998, allocations: 2.589 MB / 331.3 MB, free: 1.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1027, allocations: 1.283 MB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1028, allocations: 7.938 kB / 332.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.1031, allocations: 67.38 kB / 332.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1032, allocations: 71.27 kB / 332.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.1038, allocations: 231.7 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.1055, allocations: 2.073 MB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.1066, allocations: 0.9477 MB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.109, allocations: 2.113 MB / 338.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001407/0.1104, allocations: 1.059 MB / 339.2 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.1108, allocations: 216 kB / 339.4 MB, free: 9.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.1112, allocations: 216 kB / 339.6 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006683/0.1119, allocations: 0.6154 MB / 340.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.113, allocations: 0.8979 MB / 341.1 MB, free: 7.332 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.1163, allocations: 4.397 MB / 345.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1164, allocations: 0 / 345.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1164, allocations: 0 / 345.5 MB, free: 2.922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.788e-05/0.1165, allocations: 4 kB / 345.5 MB, free: 2.918 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.00435/0.1208, allocations: 2.309 MB / 347.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1209, allocations: 8.031 kB / 347.8 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.1213, allocations: 167 kB / 348 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.1235, allocations: 1.066 MB / 349 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1236, allocations: 98.91 kB / 349.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003098/0.124, allocations: 120.4 kB / 349.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.128, allocations: 2.297 MB / 351.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.128, allocations: 0 / 351.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002268/0.1283, allocations: 52 kB / 351.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.1283, allocations: 28 kB / 351.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/0.132, allocations: 1.981 MB / 353.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008093/0.1401, allocations: 4.798 MB / 358.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003295/0.1435, allocations: 1.871 MB / 360.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.1448, allocations: 0.762 MB / 361.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/0.145, allocations: 17.25 kB / 361.1 MB, free: 3.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001935/0.147, allocations: 1.352 MB / 362.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.765e-06/0.147, allocations: 0 / 362.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004805/0.1518, allocations: 2.665 MB / 365.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.1519, allocations: 94.36 kB / 365.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.1533, allocations: 0.9447 MB / 366.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.1535, allocations: 97.66 kB / 366.2 MB, free: 13.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.1539, allocations: 465.2 kB / 366.7 MB, free: 13.46 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.1543, allocations: 312.3 kB / 367 MB, free: 13.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/0.1555, allocations: 0.6633 MB / 367.6 MB, free: 12.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.1557, allocations: 410.7 kB / 368 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.1573, allocations: 0.8627 MB / 368.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.1591, allocations: 1.039 MB / 369.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.1624, allocations: 1.962 MB / 371.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.1624, allocations: 3.938 kB / 371.9 MB, free: 8.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.0044/0.1668, allocations: 2.401 MB / 374.3 MB, free: 5.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.1669, allocations: 33.7 kB / 374.3 MB, free: 5.652 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.1669, allocations: 3.938 kB / 374.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/0.167, allocations: 12 kB / 374.4 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005277/0.1675, allocations: 231.6 kB / 374.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-05/0.1675, allocations: 12.03 kB / 374.6 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008121/0.1684, allocations: 79.59 kB / 374.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001086/0.1695, allocations: 1.093 MB / 375.8 MB, free: 4.227 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.00187/0.1713, allocations: 0.9002 MB / 376.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005031/0.1719, allocations: 106.8 kB / 376.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.1722, allocations: 130.3 kB / 376.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.1722, allocations: 12 kB / 376.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.1722, allocations: 0 / 376.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/0.1722, allocations: 11.91 kB / 376.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.1754, allocations: 1.751 MB / 378.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.1754, allocations: 0 / 378.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/0.176, allocations: 207.7 kB / 378.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.21e-05/0.1761, allocations: 8 kB / 378.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004054/0.1765, allocations: 175.9 kB / 379.1 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.886e-05/0.1765, allocations: 4 kB / 379.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1765, allocations: 0 / 379.1 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2113/0.3878, allocations: 2.035 MB / 381.1 MB, free: 51.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002103/0.3899, allocations: 0.6468 MB / 381.7 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005602/0.3905, allocations: 116.5 kB / 381.9 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.391, allocations: 47.89 kB / 381.9 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007039/0.3917, allocations: 335.3 kB / 382.2 MB, free: 51.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00136/0.3931, allocations: 1.087 MB / 383.3 MB, free: 51.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009727/0.3941, allocations: 0.5927 MB / 383.9 MB, free: 51.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3941, allocations: 2.875 kB / 383.9 MB, free: 51.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001909/0.396, allocations: 384.9 kB / 384.3 MB, free: 51.15 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007342/0.3968, allocations: 362 kB / 384.6 MB, free: 51.01 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004271/0.401, allocations: 2.048 MB / 386.7 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4011, allocations: 0 / 386.7 MB, free: 50.47 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.4034, allocations: 1.091 MB / 387.8 MB, free: 50.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/0.4079, allocations: 1.068 MB / 388.8 MB, free: 49.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006124/0.4141, allocations: 2.854 MB / 391.7 MB, free: 48.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.4155, allocations: 1.316 MB / 393 MB, free: 47.96 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.007937/0.4234, allocations: 3.368 MB / 396.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005058/0.4285, allocations: 0.9326 MB / 397.3 MB, free: 45.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.395e-06/0.4286, allocations: 0 / 397.3 MB, free: 45.45 MB / 318.1 MB Notification: Performance of Templates: time 0.05007/0.4787, allocations: 40.41 MB / 437.7 MB, free: 4.629 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 cvode -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