Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002053/0.002054, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.966/1.966, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.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.001208/0.001208, allocations: 44.27 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3687, allocations: 46.64 MB / 324.7 MB, free: 2.047 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004196/0.3729, allocations: 2.635 MB / 327.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.3767, allocations: 1.258 MB / 328.6 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.377, allocations: 7.969 kB / 328.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.3774, allocations: 50.22 kB / 328.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.3776, allocations: 51.17 kB / 328.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.3783, allocations: 212.3 kB / 328.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.3804, allocations: 1.843 MB / 330.7 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.3817, allocations: 0.9308 MB / 331.7 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002767/0.3845, allocations: 1.895 MB / 333.6 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.3857, allocations: 0.9337 MB / 334.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.386, allocations: 68 kB / 334.6 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.3864, allocations: 75.94 kB / 334.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005818/0.387, allocations: 470.1 kB / 335.1 MB, free: 9.895 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.3881, allocations: 0.7378 MB / 335.8 MB, free: 9.152 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003936/0.3921, allocations: 4.243 MB / 340.1 MB, free: 4.898 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3921, allocations: 0 / 340.1 MB, free: 4.898 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3921, allocations: 0 / 340.1 MB, free: 4.898 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.757e-05/0.3922, allocations: 0 / 340.1 MB, free: 4.898 MB / 270.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.005084/0.3972, allocations: 2.309 MB / 342.4 MB, free: 2.523 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.3973, allocations: 8.031 kB / 342.4 MB, free: 2.516 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/0.3978, allocations: 167.1 kB / 342.5 MB, free: 2.352 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.3999, allocations: 1.065 MB / 343.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.4, allocations: 98.91 kB / 343.7 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.4003, allocations: 124.4 kB / 343.8 MB, free: 1.023 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004561/0.4049, allocations: 2.289 MB / 346.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.4049, allocations: 0 / 346.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.4052, allocations: 51.94 kB / 346.2 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.4052, allocations: 32 kB / 346.2 MB, free: 14.62 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003901/0.4091, allocations: 1.989 MB / 348.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009492/0.4186, allocations: 4.779 MB / 353 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.4226, allocations: 1.863 MB / 354.8 MB, free: 5.914 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.4241, allocations: 0.762 MB / 355.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002355/0.4243, allocations: 17.3 kB / 355.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002382/0.4267, allocations: 1.359 MB / 357 MB, free: 3.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 3.597e-06/0.4267, allocations: 4 kB / 357 MB, free: 3.754 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005427/0.4322, allocations: 2.665 MB / 359.6 MB, free: 1.078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.39e-05/0.4323, allocations: 90.42 kB / 359.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.4339, allocations: 0.9408 MB / 360.7 MB, free: 24 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.4342, allocations: 97.66 kB / 360.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004809/0.4347, allocations: 465.2 kB / 361.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/0.4351, allocations: 304.3 kB / 361.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.4362, allocations: 0.6711 MB / 362.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002454/0.4365, allocations: 406.7 kB / 362.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.4381, allocations: 0.8666 MB / 363.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.4399, allocations: 1.039 MB / 364.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003302/0.4432, allocations: 1.962 MB / 366.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.4432, allocations: 0 / 366.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004623/0.4478, allocations: 2.401 MB / 368.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.4479, allocations: 33.7 kB / 368.9 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4479, allocations: 11.94 kB / 368.9 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.4479, allocations: 8 kB / 368.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005429/0.4485, allocations: 231.5 kB / 369.1 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.4485, allocations: 12 kB / 369.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.4497, allocations: 191.2 kB / 369.3 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.4508, allocations: 1.093 MB / 370.4 MB, free: 6.113 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.00161/0.4524, allocations: 0.8963 MB / 371.3 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.4527, allocations: 106.8 kB / 371.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.453, allocations: 142.3 kB / 371.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.453, allocations: 12 kB / 371.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/0.453, allocations: 0 / 371.6 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.453, allocations: 7.922 kB / 371.6 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.4557, allocations: 1.751 MB / 373.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4558, allocations: 0 / 373.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.4562, allocations: 207.7 kB / 373.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.4562, allocations: 4 kB / 373.5 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000262/0.4565, allocations: 175.9 kB / 373.7 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4565, allocations: 4 kB / 373.7 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4565, allocations: 4 kB / 373.7 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003739/0.4602, allocations: 2.034 MB / 375.8 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.4615, allocations: 0.6401 MB / 376.4 MB, free: 4 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004974/0.462, allocations: 128 kB / 376.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008858/0.4629, allocations: 147.4 kB / 376.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007856/0.4637, allocations: 329 kB / 377 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001283/0.465, allocations: 1.089 MB / 378.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009411/0.4659, allocations: 0.5927 MB / 378.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4659, allocations: 0 / 378.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00192/0.4679, allocations: 379.1 kB / 379 MB, free: 13.36 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.0007366/0.4686, allocations: 363.8 kB / 379.4 MB, free: 13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.4727, allocations: 2.032 MB / 381.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.4727, allocations: 4.062 kB / 381.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.4749, allocations: 1.1 MB / 382.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/0.4791, allocations: 0.9635 MB / 383.5 MB, free: 8.875 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007618/0.4868, allocations: 3.317 MB / 386.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.4885, allocations: 1.312 MB / 388.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.009885/0.4984, allocations: 3.386 MB / 391.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004304/0.5027, allocations: 0.9231 MB / 392.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5028, allocations: 0 / 392.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.06209/0.5648, allocations: 39.43 MB / 431.9 MB, free: 7.434 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1)