Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.000943/0.0009431, allocations: 93.05 kB / 16.3 MB, free: 5.996 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.001573/0.001573, allocations: 184.6 kB / 17.2 MB, free: 5.914 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.805/1.805, allocations: 205.4 MB / 223.4 MB, free: 5.543 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.0006274/0.0006275, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3296, allocations: 47.58 MB / 327.7 MB, free: 1.266 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003443/0.3331, allocations: 2.159 MB / 329.9 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003417/0.3366, allocations: 1.225 MB / 331.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004339/0.337, allocations: 7.781 kB / 331.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.3373, allocations: 44.64 kB / 331.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.3377, allocations: 63.39 kB / 331.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.3383, allocations: 152.8 kB / 331.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.3402, allocations: 1.076 MB / 332.4 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.3417, allocations: 0.704 MB / 333.1 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.3438, allocations: 0.931 MB / 334 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.3457, allocations: 0.9591 MB / 335 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.3467, allocations: 40 kB / 335 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.3473, allocations: 40 kB / 335.1 MB, free: 11.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006002/0.3479, allocations: 454.9 kB / 335.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.3484, allocations: 284.9 kB / 335.8 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.3515, allocations: 3.765 MB / 339.6 MB, free: 7.477 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3516, allocations: 0 / 339.6 MB, free: 7.477 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3516, allocations: 0 / 339.6 MB, free: 7.477 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.851e-05/0.3516, allocations: 0 / 339.6 MB, free: 7.477 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.0039/0.3556, allocations: 1.701 MB / 341.3 MB, free: 5.711 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.3556, allocations: 8.031 kB / 341.3 MB, free: 5.703 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004905/0.3561, allocations: 174 kB / 341.5 MB, free: 5.531 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.3582, allocations: 1.026 MB / 342.5 MB, free: 4.465 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3583, allocations: 102.5 kB / 342.6 MB, free: 4.363 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.3586, allocations: 124 kB / 342.7 MB, free: 4.242 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00413/0.3628, allocations: 2.273 MB / 345 MB, free: 1.941 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.3628, allocations: 3.938 kB / 345 MB, free: 1.938 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.3631, allocations: 52 kB / 345 MB, free: 1.887 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-05/0.3631, allocations: 28 kB / 345.1 MB, free: 1.859 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003769/0.3669, allocations: 2.004 MB / 347.1 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009285/0.3762, allocations: 4.783 MB / 351.8 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00373/0.38, allocations: 1.91 MB / 353.8 MB, free: 9.086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001796/0.3802, allocations: 13.31 kB / 353.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00206/0.3823, allocations: 1.352 MB / 355.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of pre-optimization done (n=128): time 3.907e-06/0.3823, allocations: 4 kB / 355.1 MB, free: 7.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=128): time 0.005084/0.3874, allocations: 2.693 MB / 357.8 MB, free: 5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.3875, allocations: 94.42 kB / 357.9 MB, free: 4.891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.3891, allocations: 0.9446 MB / 358.9 MB, free: 3.938 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003185/0.3894, allocations: 93.66 kB / 358.9 MB, free: 3.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.3898, allocations: 417.4 kB / 359.3 MB, free: 3.422 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/0.3903, allocations: 308.2 kB / 359.7 MB, free: 3.117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3905, allocations: 35.98 kB / 359.7 MB, free: 3.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.3907, allocations: 402.7 kB / 360.1 MB, free: 2.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.3922, allocations: 0.8744 MB / 361 MB, free: 1.805 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.3939, allocations: 1.043 MB / 362 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.3956, allocations: 1.034 MB / 363 MB, free: 15.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.3956, allocations: 0 / 363 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.00418/0.3998, allocations: 2.409 MB / 365.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.3999, allocations: 37.69 kB / 365.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.3999, allocations: 4 kB / 365.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.3999, allocations: 12.03 kB / 365.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.4004, allocations: 239.5 kB / 365.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.4005, allocations: 8 kB / 365.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/0.4018, allocations: 195.2 kB / 365.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/0.4028, allocations: 1.089 MB / 367 MB, free: 11.67 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.001668/0.4045, allocations: 0.904 MB / 367.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003419/0.4049, allocations: 102.8 kB / 368 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.4051, allocations: 130.3 kB / 368.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4051, allocations: 12 kB / 368.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.4052, allocations: 3.953 kB / 368.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4052, allocations: 11.97 kB / 368.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.4078, allocations: 1.751 MB / 369.9 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4078, allocations: 3.938 kB / 369.9 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.4083, allocations: 203.7 kB / 370.1 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/0.4083, allocations: 7.984 kB / 370.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002467/0.4085, allocations: 175.9 kB / 370.3 MB, free: 8.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.4085, allocations: 7.953 kB / 370.3 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4086, allocations: 4 kB / 370.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.4122, allocations: 2.053 MB / 372.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.4136, allocations: 0.6401 MB / 373 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.4141, allocations: 119.9 kB / 373.1 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.4149, allocations: 143.6 kB / 373.3 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/0.4155, allocations: 328.9 kB / 373.6 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009865/0.4165, allocations: 1.085 MB / 374.7 MB, free: 3.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008911/0.4174, allocations: 0.5888 MB / 375.3 MB, free: 3.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4174, allocations: 4 kB / 375.3 MB, free: 3.289 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001672/0.4191, allocations: 375.1 kB / 375.6 MB, free: 2.922 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.000671/0.4198, allocations: 363.7 kB / 376 MB, free: 2.559 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.4241, allocations: 2.052 MB / 378 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4241, allocations: 0 / 378 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.4261, allocations: 1.08 MB / 379.1 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/0.4299, allocations: 0.9179 MB / 380 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007387/0.4373, allocations: 3.174 MB / 383.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.4385, allocations: 1.34 MB / 384.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.00865/0.4472, allocations: 3.386 MB / 387.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003602/0.4508, allocations: 0.923 MB / 388.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of SimCode: time 1.913e-06/0.4509, allocations: 0 / 388.9 MB, free: 5.582 MB / 318.1 MB Notification: Performance of Templates: time 0.0555/0.5064, allocations: 38.11 MB / 427 MB, free: 14.48 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) Environment - environmentSimulation: