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.001125/0.001125, allocations: 115.3 kB / 17.29 MB, free: 6.324 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.001109/0.001109, allocations: 197.3 kB / 18.2 MB, free: 5.406 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.32/1.32, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 47.3 kB / 300.8 MB, free: 6.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1276, allocations: 49.44 MB / 350.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003834/0.1315, allocations: 2.631 MB / 352.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.1341, allocations: 1.232 MB / 354.1 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.1344, allocations: 7.875 kB / 354.1 MB, free: 0.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.1347, allocations: 47.64 kB / 354.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.135, allocations: 59.48 kB / 354.2 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.1357, allocations: 215.8 kB / 354.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.1378, allocations: 2.061 MB / 356.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.1391, allocations: 0.9438 MB / 357.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.1414, allocations: 2.144 MB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.143, allocations: 1.09 MB / 360.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006494/0.1437, allocations: 224 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006311/0.1443, allocations: 216 kB / 361.1 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008403/0.1452, allocations: 0.6231 MB / 361.7 MB, free: 9.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.1467, allocations: 0.9057 MB / 362.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00305/0.1497, allocations: 3.847 MB / 366.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1497, allocations: 0 / 366.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1497, allocations: 0 / 366.5 MB, free: 4.465 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.407e-05/0.1498, allocations: 0 / 366.5 MB, free: 4.465 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.004603/0.1545, allocations: 2.309 MB / 368.8 MB, free: 2.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1545, allocations: 12.03 kB / 368.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.155, allocations: 170.9 kB / 368.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.1565, allocations: 1.062 MB / 370 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.503e-05/0.1566, allocations: 98.91 kB / 370.1 MB, free: 0.707 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.157, allocations: 120.4 kB / 370.2 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1845/0.3415, allocations: 2.283 MB / 372.5 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.3416, allocations: 0 / 372.5 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.3418, allocations: 52.75 kB / 372.6 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.3419, allocations: 31.31 kB / 372.6 MB, free: 23.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004091/0.346, allocations: 1.986 MB / 374.6 MB, free: 22.86 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007891/0.3539, allocations: 4.785 MB / 379.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/0.3575, allocations: 1.857 MB / 381.2 MB, free: 20.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.3588, allocations: 0.7608 MB / 382 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.3591, allocations: 17.14 kB / 382 MB, free: 20.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001948/0.361, allocations: 1.351 MB / 383.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.206e-06/0.361, allocations: 4 kB / 383.3 MB, free: 19.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004744/0.3658, allocations: 2.67 MB / 386 MB, free: 18.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3659, allocations: 95.67 kB / 386.1 MB, free: 18.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3671, allocations: 0.9398 MB / 387.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002559/0.3674, allocations: 106.5 kB / 387.2 MB, free: 17.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.3677, allocations: 460.7 kB / 387.6 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.368, allocations: 312.8 kB / 387.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.3691, allocations: 0.6681 MB / 388.6 MB, free: 16.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3692, allocations: 401.5 kB / 389 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.3705, allocations: 0.8637 MB / 389.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001416/0.372, allocations: 1.044 MB / 390.9 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/0.3745, allocations: 1.951 MB / 392.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3746, allocations: 4 kB / 392.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003504/0.3781, allocations: 2.397 MB / 395.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3781, allocations: 33.7 kB / 395.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3781, allocations: 4 kB / 395.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.3782, allocations: 8 kB / 395.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.3786, allocations: 231.5 kB / 395.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.3787, allocations: 24.03 kB / 395.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.3799, allocations: 179.4 kB / 395.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007191/0.3806, allocations: 1.097 MB / 396.8 MB, free: 9.25 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.00125/0.3818, allocations: 0.8993 MB / 397.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.3821, allocations: 106.7 kB / 397.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001862/0.3823, allocations: 130.3 kB / 397.9 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3823, allocations: 19.88 kB / 397.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/0.3824, allocations: 0 / 397.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3824, allocations: 7.969 kB / 398 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.3845, allocations: 1.757 MB / 399.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3845, allocations: 0 / 399.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3849, allocations: 203.7 kB / 399.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3849, allocations: 4 kB / 399.9 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.3851, allocations: 179.9 kB / 400.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3851, allocations: 7.938 kB / 400.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3852, allocations: 1.875 kB / 400.1 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002986/0.3881, allocations: 2.03 MB / 402.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/0.389, allocations: 0.6503 MB / 402.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/0.3894, allocations: 115.9 kB / 402.9 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.3901, allocations: 147.4 kB / 403 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/0.3907, allocations: 317 kB / 403.3 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007116/0.3914, allocations: 1.085 MB / 404.4 MB, free: 1.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005717/0.392, allocations: 0.5927 MB / 405 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.392, allocations: 0 / 405 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001156/0.3932, allocations: 375.2 kB / 405.4 MB, free: 0.5547 MB / 302.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.0004563/0.3936, allocations: 361.9 kB / 405.7 MB, free: 200 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.006226/0.3999, allocations: 3.295 MB / 409 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3999, allocations: 0 / 409 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.4016, allocations: 1.057 MB / 410.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/0.4053, allocations: 1.079 MB / 411.2 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005241/0.4106, allocations: 3.437 MB / 414.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.4117, allocations: 1.32 MB / 415.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004709/0.4164, allocations: 1.32 MB / 417.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4165, allocations: 0 / 417.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of Templates: time 0.04775/0.4642, allocations: 33.04 MB / 450.3 MB, free: 2.082 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches