Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3") translateModel(Modelica.Electrical.Digital.Examples.Counter3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006752/0.006759, allocations: 185.4 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.708/3.708, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006091/0.0006092, allocations: 8 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2645, allocations: 47.59 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter3): time 0.01523/0.2798, allocations: 2.944 MB / 377.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.2954, allocations: 1.658 MB / 379.1 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.2965, allocations: 11.94 kB / 379.2 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.2972, allocations: 91.3 kB / 379.2 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00072/0.2979, allocations: 75.78 kB / 379.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.2998, allocations: 271.6 kB / 379.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.3023, allocations: 0.7229 MB / 380.3 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.3038, allocations: 383.2 kB / 380.7 MB, free: 9.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002615/0.3064, allocations: 0.76 MB / 381.4 MB, free: 8.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00183/0.3083, allocations: 0.6821 MB / 382.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006409/0.309, allocations: 24 kB / 382.1 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.3096, allocations: 28 kB / 382.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.3106, allocations: 311.3 kB / 382.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.3112, allocations: 205.2 kB / 382.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.3158, allocations: 2.571 MB / 385.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3159, allocations: 0 / 385.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.3159, allocations: 0 / 385.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.023e-05/0.316, allocations: 0 / 385.3 MB, free: 4.668 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.00559/0.3216, allocations: 1.255 MB / 386.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.3217, allocations: 12.03 kB / 386.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.323, allocations: 118.6 kB / 386.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.326, allocations: 0.6722 MB / 387.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.3262, allocations: 70 kB / 387.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008607/0.3271, allocations: 88 kB / 387.5 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007311/0.3344, allocations: 1.323 MB / 388.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.412e-05/0.3346, allocations: 4 kB / 388.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004115/0.335, allocations: 36 kB / 388.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-05/0.3351, allocations: 20 kB / 388.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4454/0.7805, allocations: 1.082 MB / 389.9 MB, free: 19.01 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.7973, allocations: 3.139 MB / 393.1 MB, free: 18.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007271/0.8046, allocations: 1.138 MB / 394.2 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.8054, allocations: 14.33 kB / 394.2 MB, free: 17.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004859/0.8103, allocations: 0.8357 MB / 395.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of pre-optimization done (n=94): time 8.706e-06/0.8104, allocations: 1.531 kB / 395.1 MB, free: 17.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=94): time 0.01149/0.8219, allocations: 1.661 MB / 396.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.822, allocations: 96.8 kB / 396.8 MB, free: 16.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.8238, allocations: 0.5418 MB / 397.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007933/0.8247, allocations: 65.3 kB / 397.4 MB, free: 16.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.8253, allocations: 342.3 kB / 397.7 MB, free: 16.33 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.8264, allocations: 219 kB / 398 MB, free: 16.19 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.8268, allocations: 24.33 kB / 398 MB, free: 16.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.827, allocations: 353 kB / 398.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/0.8302, allocations: 478.4 kB / 398.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003464/0.8338, allocations: 0.5962 MB / 399.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.8374, allocations: 0.5816 MB / 400 MB, free: 15.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.8375, allocations: 1.781 kB / 400 MB, free: 15.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.009485/0.847, allocations: 1.472 MB / 401.5 MB, free: 14.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.519e-05/0.8472, allocations: 32.61 kB / 401.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.8472, allocations: 4.438 kB / 401.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.855e-05/0.8473, allocations: 8.219 kB / 401.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.8487, allocations: 165 kB / 401.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.632e-05/0.8488, allocations: 8.078 kB / 401.7 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.8518, allocations: 143 kB / 401.8 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002519/0.8544, allocations: 0.8173 MB / 402.6 MB, free: 14.59 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 122 ($whenCondition1,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.And1.y,$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,$PRE.Counter.FF1.Not1.auxiliary,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.And1.y,$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,$PRE.Counter.FF2.Not1.auxiliary,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.And1.y,$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,$PRE.Counter.FF3.Not1.auxiliary,Enable.y,$PRE.Clock.t_i,Clock.t_i,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.y,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.y,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.y,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.Not1.auxiliary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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.002871/0.8573, allocations: 0.5035 MB / 403.1 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/0.858, allocations: 65.61 kB / 403.2 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.8583, allocations: 77.48 kB / 403.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.679e-05/0.8584, allocations: 9 kB / 403.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.817e-05/0.8584, allocations: 0 / 403.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.439e-05/0.8585, allocations: 6.562 kB / 403.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005017/0.8635, allocations: 1.139 MB / 404.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.021e-05/0.8636, allocations: 0 / 404.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.8648, allocations: 157.1 kB / 404.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.071e-05/0.8649, allocations: 2.75 kB / 404.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005817/0.8655, allocations: 136.1 kB / 404.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/0.8655, allocations: 4.609 kB / 404.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.8655, allocations: 0.75 kB / 404.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007349/0.8729, allocations: 1.333 MB / 406 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/0.8753, allocations: 448.5 kB / 406.5 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009706/0.8763, allocations: 47.56 kB / 406.5 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/0.8787, allocations: 99.3 kB / 406.6 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/0.88, allocations: 184.1 kB / 406.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001721/0.8817, allocations: 0.8129 MB / 407.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009708/0.8827, allocations: 332.9 kB / 407.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.8828, allocations: 3.906 kB / 407.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002885/0.8857, allocations: 251.4 kB / 408.2 MB, free: 12.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 88 ($whenCondition1,Enable.y,Clock.t_i,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary) * Number of discrete states: 34 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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.001029/0.8868, allocations: 245.7 kB / 408.4 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006303/0.8931, allocations: 1.228 MB / 409.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.8932, allocations: 7.938 kB / 409.7 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003402/0.8966, allocations: 0.6726 MB / 410.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006407/0.9031, allocations: 0.6389 MB / 411 MB, free: 9.461 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.9104, allocations: 1.951 MB / 412.9 MB, free: 7.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.9117, allocations: 1.041 MB / 414 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008655/0.9204, allocations: 0.993 MB / 415 MB, free: 5.41 MB / 282.7 MB Notification: Performance of SimCode: time 1.743e-06/0.9205, allocations: 4 kB / 415 MB, free: 5.406 MB / 282.7 MB Notification: Performance of Templates: time 0.06038/0.9809, allocations: 21.06 MB / 436 MB, free: 15.14 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter3/Counter3.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Counter.FF1.RS1.TD1.x,Counter.FF1.RS2.TD1.x,Counter.FF2.RS1.TD1.x,Counter.FF2.RS2.TD1.x,Counter.FF3.RS1.TD1.x,Counter.FF3.RS2.TD1.x Variables in the result:Clock.period,Clock.startTime,Clock.width,Clock.y,Counter.FF1.And1.n,Counter.FF1.And1.x[1],Counter.FF1.And1.x[2],Counter.FF1.And1.x[3],Counter.FF1.And1.y,Counter.FF1.And2.n,Counter.FF1.And2.x[1],Counter.FF1.And2.x[2],Counter.FF1.And2.x[3],Counter.FF1.And2.y,Counter.FF1.And3.n,Counter.FF1.And3.x[1],Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And4.n,Counter.FF1.And4.x[1],Counter.FF1.And4.x[2],Counter.FF1.And4.y,Counter.FF1.Not1.x,Counter.FF1.Not1.y,Counter.FF1.RS1.Nor1.n,Counter.FF1.RS1.Nor1.x[1],Counter.FF1.RS1.Nor1.x[2],Counter.FF1.RS1.Nor1.y,Counter.FF1.RS1.Nor2.n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.y,Counter.FF1.RS1.TD1.delayTime,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.y,Counter.FF1.RS1.TD1.y0,Counter.FF1.RS1.delayTime,Counter.FF1.RS1.q,Counter.FF1.RS1.q0,Counter.FF1.RS1.qn,Counter.FF1.RS1.r,Counter.FF1.RS1.s,Counter.FF1.RS2.Nor1.n,Counter.FF1.RS2.Nor1.x[1],Counter.FF1.RS2.Nor1.x[2],Counter.FF1.RS2.Nor1.y,Counter.FF1.RS2.Nor2.n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.y,Counter.FF1.RS2.TD1.delayTime,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.y,Counter.FF1.RS2.TD1.y0,Counter.FF1.RS2.delayTime,Counter.FF1.RS2.q,Counter.FF1.RS2.q0,Counter.FF1.RS2.qn,Counter.FF1.RS2.r,Counter.FF1.RS2.s,Counter.FF1.clk,Counter.FF1.delayTime,Counter.FF1.j,Counter.FF1.k,Counter.FF1.q,Counter.FF1.q0,Counter.FF1.qn,Counter.FF2.And1.n,Counter.FF2.And1.x[1],Counter.FF2.And1.x[2],Counter.FF2.And1.x[3],Counter.FF2.And1.y,Counter.FF2.And2.n,Counter.FF2.And2.x[1],Counter.FF2.And2.x[2],Counter.FF2.And2.x[3],Counter.FF2.And2.y,Counter.FF2.And3.n,Counter.FF2.And3.x[1],Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And4.n,Counter.FF2.And4.x[1],Counter.FF2.And4.x[2],Counter.FF2.And4.y,Counter.FF2.Not1.x,Counter.FF2.Not1.y,Counter.FF2.RS1.Nor1.n,Counter.FF2.RS1.Nor1.x[1],Counter.FF2.RS1.Nor1.x[2],Counter.FF2.RS1.Nor1.y,Counter.FF2.RS1.Nor2.n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.y,Counter.FF2.RS1.TD1.delayTime,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.y,Counter.FF2.RS1.TD1.y0,Counter.FF2.RS1.delayTime,Counter.FF2.RS1.q,Counter.FF2.RS1.q0,Counter.FF2.RS1.qn,Counter.FF2.RS1.r,Counter.FF2.RS1.s,Counter.FF2.RS2.Nor1.n,Counter.FF2.RS2.Nor1.x[1],Counter.FF2.RS2.Nor1.x[2],Counter.FF2.RS2.Nor1.y,Counter.FF2.RS2.Nor2.n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.y,Counter.FF2.RS2.TD1.delayTime,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.y,Counter.FF2.RS2.TD1.y0,Counter.FF2.RS2.delayTime,Counter.FF2.RS2.q,Counter.FF2.RS2.q0,Counter.FF2.RS2.qn,Counter.FF2.RS2.r,Counter.FF2.RS2.s,Counter.FF2.clk,Counter.FF2.delayTime,Counter.FF2.j,Counter.FF2.k,Counter.FF2.q,Counter.FF2.q0,Counter.FF2.qn,Counter.FF3.And1.n,Counter.FF3.And1.x[1],Counter.FF3.And1.x[2],Counter.FF3.And1.x[3],Counter.FF3.And1.y,Counter.FF3.And2.n,Counter.FF3.And2.x[1],Counter.FF3.And2.x[2],Counter.FF3.And2.x[3],Counter.FF3.And2.y,Counter.FF3.And3.n,Counter.FF3.And3.x[1],Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And4.n,Counter.FF3.And4.x[1],Counter.FF3.And4.x[2],Counter.FF3.And4.y,Counter.FF3.Not1.x,Counter.FF3.Not1.y,Counter.FF3.RS1.Nor1.n,Counter.FF3.RS1.Nor1.x[1],Counter.FF3.RS1.Nor1.x[2],Counter.FF3.RS1.Nor1.y,Counter.FF3.RS1.Nor2.n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.y,Counter.FF3.RS1.TD1.delayTime,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.y,Counter.FF3.RS1.TD1.y0,Counter.FF3.RS1.delayTime,Counter.FF3.RS1.q,Counter.FF3.RS1.q0,Counter.FF3.RS1.qn,Counter.FF3.RS1.r,Counter.FF3.RS1.s,Counter.FF3.RS2.Nor1.n,Counter.FF3.RS2.Nor1.x[1],Counter.FF3.RS2.Nor1.x[2],Counter.FF3.RS2.Nor1.y,Counter.FF3.RS2.Nor2.n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.y,Counter.FF3.RS2.TD1.delayTime,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.y,Counter.FF3.RS2.TD1.y0,Counter.FF3.RS2.delayTime,Counter.FF3.RS2.q,Counter.FF3.RS2.q0,Counter.FF3.RS2.qn,Counter.FF3.RS2.r,Counter.FF3.RS2.s,Counter.FF3.clk,Counter.FF3.delayTime,Counter.FF3.j,Counter.FF3.k,Counter.FF3.q,Counter.FF3.q0,Counter.FF3.qn,Counter.count,Counter.enable,Counter.q0,Counter.q1,Counter.q2,Enable.after,Enable.before,Enable.stepTime,Enable.y,time