Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001736/0.001736, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.002045/0.002046, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000512/0.000512, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.405, allocations: 47.58 MB / 326.4 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.00277/0.4078, allocations: 2.157 MB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.4106, allocations: 1.221 MB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.4108, allocations: 4.031 kB / 329.8 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001984/0.411, allocations: 45.14 kB / 329.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.4112, allocations: 71.61 kB / 329.9 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.4119, allocations: 135.7 kB / 330.1 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.4133, allocations: 1.08 MB / 331.2 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.4144, allocations: 0.7079 MB / 331.9 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.4164, allocations: 0.9427 MB / 332.8 MB, free: 13.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.4178, allocations: 0.958 MB / 333.8 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002485/0.418, allocations: 40 kB / 333.8 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.4183, allocations: 36 kB / 333.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005552/0.4188, allocations: 450.9 kB / 334.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.4192, allocations: 281 kB / 334.6 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003844/0.423, allocations: 3.773 MB / 338.3 MB, free: 7.586 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.423, allocations: 0 / 338.3 MB, free: 7.586 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.4231, allocations: 0 / 338.3 MB, free: 7.586 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.176e-05/0.4232, allocations: 0 / 338.3 MB, free: 7.586 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.005083/0.4283, allocations: 1.697 MB / 340 MB, free: 5.824 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.733e-05/0.4283, allocations: 8.031 kB / 340 MB, free: 5.816 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.4295, allocations: 174 kB / 340.2 MB, free: 5.645 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/0.4331, allocations: 1.03 MB / 341.2 MB, free: 4.574 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.4333, allocations: 102.5 kB / 341.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004078/0.4337, allocations: 124 kB / 341.5 MB, free: 4.352 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005418/0.4391, allocations: 2.27 MB / 343.7 MB, free: 2.055 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.4392, allocations: 7.875 kB / 343.7 MB, free: 2.047 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/0.4396, allocations: 52 kB / 343.8 MB, free: 1.996 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/0.4396, allocations: 36 kB / 343.8 MB, free: 1.961 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004486/0.4441, allocations: 2.001 MB / 345.8 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.4545, allocations: 4.775 MB / 350.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003783/0.4583, allocations: 1.91 MB / 352.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.4585, allocations: 17.3 kB / 352.5 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/0.4609, allocations: 1.359 MB / 353.9 MB, free: 7.809 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 5.27e-06/0.4609, allocations: 0 / 353.9 MB, free: 7.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005834/0.4668, allocations: 2.693 MB / 356.6 MB, free: 5.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.487e-05/0.4669, allocations: 90.42 kB / 356.7 MB, free: 5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.4689, allocations: 0.9445 MB / 357.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003469/0.4693, allocations: 93.66 kB / 357.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004622/0.4698, allocations: 417.4 kB / 358.1 MB, free: 3.531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005191/0.4703, allocations: 308.2 kB / 358.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.4705, allocations: 35.98 kB / 358.4 MB, free: 3.191 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.4707, allocations: 398.7 kB / 358.8 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.4724, allocations: 0.8705 MB / 359.7 MB, free: 1.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.4743, allocations: 1.047 MB / 360.7 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.4762, allocations: 1.027 MB / 361.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.4762, allocations: 0 / 361.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005053/0.4813, allocations: 2.416 MB / 364.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.4814, allocations: 33.7 kB / 364.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4814, allocations: 4 kB / 364.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.4814, allocations: 11.98 kB / 364.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.4819, allocations: 235.5 kB / 364.5 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.108e-05/0.482, allocations: 15.98 kB / 364.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4834, allocations: 191.2 kB / 364.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/0.4844, allocations: 1.096 MB / 365.8 MB, free: 11.78 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,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].And1.y,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].And1.y,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].And1.y,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].And1.y,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,$PRE.Counter.FF[4].Not1.auxiliary,Enable.y,$PRE.Clock.t_i,Clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.TD1.x,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,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.TD1.x,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,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.TD1.x,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,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.TD1.x,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,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].Not1.auxiliary) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001852/0.4863, allocations: 0.904 MB / 366.7 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.4867, allocations: 106.8 kB / 366.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.487, allocations: 130.3 kB / 366.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.4871, allocations: 12 kB / 366.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.03e-05/0.4871, allocations: 3.953 kB / 366.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.4871, allocations: 11.97 kB / 366.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.4901, allocations: 1.751 MB / 368.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.4902, allocations: 3.938 kB / 368.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.4906, allocations: 207.7 kB / 368.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4907, allocations: 4 kB / 368.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/0.4909, allocations: 175.9 kB / 369.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.491, allocations: 7.953 kB / 369.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.491, allocations: 4 kB / 369.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/0.495, allocations: 2.045 MB / 371.1 MB, free: 6.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/0.4968, allocations: 0.6401 MB / 371.8 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005403/0.4974, allocations: 119.9 kB / 371.9 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009686/0.4983, allocations: 147.5 kB / 372 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006509/0.499, allocations: 332.9 kB / 372.3 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001178/0.5002, allocations: 1.085 MB / 373.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001012/0.5012, allocations: 0.5849 MB / 374 MB, free: 3.402 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5012, allocations: 0 / 374 MB, free: 3.402 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001819/0.5031, allocations: 379.1 kB / 374.4 MB, free: 3.031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006345/0.5037, allocations: 363.8 kB / 374.7 MB, free: 2.668 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.5077, allocations: 2.04 MB / 376.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5077, allocations: 0 / 376.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002528/0.5103, allocations: 1.096 MB / 377.9 MB, free: 15.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/0.515, allocations: 0.9021 MB / 378.8 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/0.5219, allocations: 3.178 MB / 382 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.5232, allocations: 1.34 MB / 383.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.008947/0.5321, allocations: 3.382 MB / 386.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/0.5356, allocations: 0.9269 MB / 387.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of SimCode: time 1.432e-06/0.5357, allocations: 0 / 387.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of Templates: time 0.05847/0.5941, allocations: 38.11 MB / 425.7 MB, free: 14.59 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) Environment - environmentSimulation: