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.001297/0.001297, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001372/0.001372, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.474/1.474, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009885/0.0009886, allocations: 55.69 kB / 302 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.162, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.005384/0.1675, allocations: 2.586 MB / 354.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00337/0.1709, allocations: 1.251 MB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.171, allocations: 8 kB / 355.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1712, allocations: 63.38 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1714, allocations: 71.25 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006037/0.1721, allocations: 231.7 kB / 355.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.1739, allocations: 2.069 MB / 357.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.175, allocations: 0.9477 MB / 358.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.1775, allocations: 2.121 MB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.1789, allocations: 1.051 MB / 361.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004089/0.1793, allocations: 220 kB / 362.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.1797, allocations: 216 kB / 362.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006832/0.1804, allocations: 0.6153 MB / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.1815, allocations: 0.8941 MB / 363.8 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.1854, allocations: 4.405 MB / 368.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1854, allocations: 0 / 368.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.37e-06/0.1855, allocations: 0 / 368.2 MB, free: 2.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.986e-05/0.1855, allocations: 3.938 kB / 368.2 MB, free: 2.895 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.004474/0.19, allocations: 2.301 MB / 370.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1901, allocations: 8.031 kB / 370.5 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.1905, allocations: 171 kB / 370.7 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.302/0.4925, allocations: 1.059 MB / 371.8 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4928, allocations: 98 kB / 371.9 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/0.4933, allocations: 122.2 kB / 372 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006275/0.4996, allocations: 2.286 MB / 374.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.111e-05/0.4996, allocations: 0 / 374.3 MB, free: 22.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.4999, allocations: 50.28 kB / 374.3 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.4999, allocations: 33.56 kB / 374.3 MB, free: 22.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005124/0.5051, allocations: 1.989 MB / 376.3 MB, free: 22.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.5166, allocations: 4.803 MB / 381.1 MB, free: 20.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.5206, allocations: 1.86 MB / 383 MB, free: 19.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.5221, allocations: 0.7582 MB / 383.8 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.5224, allocations: 14.14 kB / 383.8 MB, free: 19.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002138/0.5245, allocations: 1.362 MB / 385.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.606e-06/0.5246, allocations: 0 / 385.1 MB, free: 18.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005108/0.5297, allocations: 2.669 MB / 387.8 MB, free: 17.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.5297, allocations: 92.17 kB / 387.9 MB, free: 17.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.5311, allocations: 0.9393 MB / 388.8 MB, free: 16.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002467/0.5313, allocations: 100.6 kB / 388.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.5316, allocations: 464.8 kB / 389.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/0.532, allocations: 311.3 kB / 389.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009711/0.533, allocations: 0.6699 MB / 390.4 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5331, allocations: 407.4 kB / 390.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.5345, allocations: 0.8632 MB / 391.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.5358, allocations: 1.043 MB / 392.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.5385, allocations: 1.958 MB / 394.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5385, allocations: 0.875 kB / 394.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003491/0.542, allocations: 2.4 MB / 397 MB, free: 8.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.542, allocations: 33.7 kB / 397 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5421, allocations: 0 / 397 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/0.5421, allocations: 12 kB / 397.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/0.5425, allocations: 231.6 kB / 397.3 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.719e-05/0.5426, allocations: 8 kB / 397.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/0.5433, allocations: 83.56 kB / 397.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008425/0.5441, allocations: 1.091 MB / 398.5 MB, free: 7.207 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.001321/0.5455, allocations: 0.9088 MB / 399.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.5457, allocations: 102.8 kB / 399.5 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001831/0.5459, allocations: 134.3 kB / 399.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.546, allocations: 12 kB / 399.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.259e-05/0.546, allocations: 0 / 399.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.546, allocations: 3.984 kB / 399.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.5479, allocations: 1.764 MB / 401.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5479, allocations: 0 / 401.4 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/0.5482, allocations: 217.3 kB / 401.6 MB, free: 3.996 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.5483, allocations: 4 kB / 401.6 MB, free: 3.992 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002451/0.5485, allocations: 175.9 kB / 401.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.5485, allocations: 4.078 kB / 401.8 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5485, allocations: 3.984 kB / 401.8 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.5515, allocations: 2.034 MB / 403.8 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.5529, allocations: 0.6556 MB / 404.5 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/0.5533, allocations: 119.9 kB / 404.6 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.5537, allocations: 43.98 kB / 404.6 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006225/0.5544, allocations: 337 kB / 405 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001037/0.5554, allocations: 1.085 MB / 406 MB, free: 15.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008654/0.5563, allocations: 0.5888 MB / 406.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5563, allocations: 4 kB / 406.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001621/0.5579, allocations: 383.1 kB / 407 MB, free: 14.54 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.0005731/0.5585, allocations: 355.8 kB / 407.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00365/0.5622, allocations: 2.047 MB / 409.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5622, allocations: 0 / 409.4 MB, free: 12.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.564, allocations: 1.092 MB / 410.5 MB, free: 11.02 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.5675, allocations: 1.073 MB / 411.6 MB, free: 10.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.5728, allocations: 2.859 MB / 414.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.5741, allocations: 1.32 MB / 415.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00806/0.5822, allocations: 3.367 MB / 419.1 MB, free: 2.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00291/0.5852, allocations: 0.9308 MB / 420 MB, free: 1.484 MB / 318.1 MB Notification: Performance of SimCode: time 1.252e-06/0.5852, allocations: 4 kB / 420.1 MB, free: 1.48 MB / 318.1 MB Notification: Performance of Templates: time 0.06257/0.6478, allocations: 40.41 MB / 460.5 MB, free: 8.27 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -s cvode -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