Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 64.95 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1039, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.004249/0.1082, allocations: 2.599 MB / 361 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.1112, allocations: 1.278 MB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.1114, allocations: 7.938 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1117, allocations: 67.38 kB / 362.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.1119, allocations: 67.31 kB / 362.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.1125, allocations: 235.7 kB / 362.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002198/0.1147, allocations: 2.057 MB / 364.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.1161, allocations: 0.9516 MB / 365.7 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.1187, allocations: 2.117 MB / 367.8 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.1206, allocations: 1.055 MB / 368.9 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006722/0.1213, allocations: 220 kB / 369.1 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.1218, allocations: 216 kB / 369.3 MB, free: 3.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008268/0.1227, allocations: 0.6115 MB / 369.9 MB, free: 2.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.1242, allocations: 0.9018 MB / 370.8 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1997/0.3239, allocations: 4.341 MB / 375.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.324, allocations: 0 / 375.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.324, allocations: 3.828 kB / 375.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.037e-05/0.3241, allocations: 1.406 kB / 375.1 MB, free: 14.32 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.008354/0.3325, allocations: 2.309 MB / 377.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.3325, allocations: 10.28 kB / 377.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.3334, allocations: 169.2 kB / 377.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.3356, allocations: 1.063 MB / 378.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003298/0.336, allocations: 122.6 kB / 378.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005264/0.3365, allocations: 121.9 kB / 378.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006065/0.3426, allocations: 2.284 MB / 381.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.3427, allocations: 2.641 kB / 381.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.3431, allocations: 57.56 kB / 381.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.611e-05/0.3431, allocations: 30.5 kB / 381.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.3487, allocations: 1.982 MB / 383.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.36, allocations: 4.859 MB / 388.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/0.3653, allocations: 1.854 MB / 390 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/0.3673, allocations: 0.7558 MB / 390.7 MB, free: 7.969 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.3676, allocations: 20.33 kB / 390.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.37, allocations: 1.354 MB / 392.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 5.46e-06/0.37, allocations: 0 / 392.1 MB, free: 7.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004957/0.375, allocations: 2.661 MB / 394.8 MB, free: 6.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.375, allocations: 101.8 kB / 394.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.3763, allocations: 0.9379 MB / 395.8 MB, free: 5.426 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.3766, allocations: 96.5 kB / 395.9 MB, free: 5.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.3769, allocations: 465.5 kB / 396.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.3774, allocations: 313.1 kB / 396.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/0.3786, allocations: 0.67 MB / 397.3 MB, free: 4.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3787, allocations: 409.5 kB / 397.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.3802, allocations: 0.862 MB / 398.6 MB, free: 3.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.3818, allocations: 1.038 MB / 399.6 MB, free: 2.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.3846, allocations: 1.95 MB / 401.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/0.3847, allocations: 6.625 kB / 401.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004565/0.3892, allocations: 2.396 MB / 404 MB, free: 14.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.3893, allocations: 37.7 kB / 404 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3893, allocations: 4 kB / 404 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-05/0.3894, allocations: 12.03 kB / 404 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.39, allocations: 223.4 kB / 404.3 MB, free: 14.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.39, allocations: 10.16 kB / 404.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009245/0.391, allocations: 84.47 kB / 404.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001352/0.3923, allocations: 1.089 MB / 405.4 MB, free: 13.06 MB / 318.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.002036/0.3944, allocations: 0.9026 MB / 406.4 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005817/0.395, allocations: 105.8 kB / 406.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.3953, allocations: 134.3 kB / 406.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.3953, allocations: 15 kB / 406.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3953, allocations: 0 / 406.6 MB, free: 11.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.3954, allocations: 7.922 kB / 406.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.3987, allocations: 1.756 MB / 408.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3987, allocations: 7 kB / 408.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.3993, allocations: 207.9 kB / 408.6 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.3993, allocations: 4 kB / 408.6 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003544/0.3996, allocations: 175.9 kB / 408.8 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.3997, allocations: 6.625 kB / 408.8 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3997, allocations: 3.984 kB / 408.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.4049, allocations: 2.034 MB / 410.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.4064, allocations: 0.644 MB / 411.4 MB, free: 7.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/0.4071, allocations: 115.9 kB / 411.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.4079, allocations: 47.97 kB / 411.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007784/0.4087, allocations: 317 kB / 411.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/0.4101, allocations: 1.085 MB / 413 MB, free: 5.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001088/0.4112, allocations: 0.5956 MB / 413.6 MB, free: 4.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4112, allocations: 4 kB / 413.6 MB, free: 4.855 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002094/0.4133, allocations: 375.2 kB / 414 MB, free: 4.488 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.0007943/0.4141, allocations: 362.4 kB / 414.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.008217/0.4223, allocations: 3.292 MB / 417.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.4224, allocations: 0 / 417.6 MB, free: 0.875 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002876/0.4252, allocations: 1.057 MB / 418.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/0.4302, allocations: 1.067 MB / 419.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.4368, allocations: 3.005 MB / 422.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.4383, allocations: 1.32 MB / 424.1 MB, free: 10.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0129/0.4513, allocations: 1.324 MB / 425.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of SimCode: time 1.974e-06/0.4513, allocations: 0 / 425.4 MB, free: 9.109 MB / 334.1 MB Notification: Performance of Templates: time 0.05463/0.5059, allocations: 33.04 MB / 458.4 MB, free: 6.531 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches