Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 179.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007728/0.0007727, allocations: 82.38 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003367, allocations: 12 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2516, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003013/0.2547, allocations: 2.149 MB / 376.7 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2573, allocations: 1.225 MB / 377.9 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.2576, allocations: 3.188 kB / 377.9 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.2577, allocations: 47.91 kB / 378 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.2579, allocations: 49.89 kB / 378 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004946/0.2584, allocations: 150 kB / 378.2 MB, free: 42.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.26, allocations: 1.701 MB / 379.9 MB, free: 41.53 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.261, allocations: 0.7071 MB / 380.6 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.2632, allocations: 1.449 MB / 382 MB, free: 40.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.2645, allocations: 0.9748 MB / 383 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.2648, allocations: 38.41 kB / 383 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.2651, allocations: 40.09 kB / 383.1 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.2655, allocations: 442.5 kB / 383.5 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002068/0.2657, allocations: 285 kB / 383.8 MB, free: 39.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.2677, allocations: 3.78 MB / 387.6 MB, free: 35.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.2677, allocations: 0 / 387.6 MB, free: 35.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2677, allocations: 0 / 387.6 MB, free: 35.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.2678, allocations: 0 / 387.6 MB, free: 35.79 MB / 298.7 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.002485/0.2703, allocations: 1.705 MB / 389.3 MB, free: 34.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2703, allocations: 12.03 kB / 389.3 MB, free: 34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.2707, allocations: 170 kB / 389.5 MB, free: 33.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.2721, allocations: 1.03 MB / 390.5 MB, free: 32.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.286e-05/0.2722, allocations: 98.53 kB / 390.6 MB, free: 32.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.2725, allocations: 124 kB / 390.7 MB, free: 32.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.2759, allocations: 2.285 MB / 393 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.276, allocations: 0 / 393 MB, free: 30.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.2762, allocations: 52 kB / 393 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.2763, allocations: 28 kB / 393.1 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003186/0.2794, allocations: 2.005 MB / 395.1 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/0.286, allocations: 4.775 MB / 399.8 MB, free: 23.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.2892, allocations: 1.91 MB / 401.8 MB, free: 21.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.2904, allocations: 0.7737 MB / 402.5 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.2906, allocations: 21.23 kB / 402.5 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.2924, allocations: 1.356 MB / 403.9 MB, free: 19.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 4.278e-06/0.2924, allocations: 4 kB / 403.9 MB, free: 19.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.004501/0.2969, allocations: 2.696 MB / 406.6 MB, free: 16.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.297, allocations: 90.42 kB / 406.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.2983, allocations: 0.9368 MB / 407.6 MB, free: 15.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/0.2986, allocations: 101.7 kB / 407.7 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.299, allocations: 413.4 kB / 408.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.2994, allocations: 316.2 kB / 408.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.2996, allocations: 31.98 kB / 408.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2998, allocations: 402.7 kB / 408.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.3012, allocations: 0.8705 MB / 409.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.3028, allocations: 1.043 MB / 410.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.3044, allocations: 1.039 MB / 411.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/0.3044, allocations: 4 kB / 411.8 MB, free: 11.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003756/0.3082, allocations: 2.401 MB / 414.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.371e-05/0.3082, allocations: 33.69 kB / 414.3 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3083, allocations: 7.938 kB / 414.3 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.472e-05/0.3083, allocations: 15.95 kB / 414.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.3088, allocations: 231.6 kB / 414.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.3089, allocations: 8 kB / 414.5 MB, free: 8.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.3103, allocations: 199.1 kB / 414.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007842/0.3111, allocations: 1.093 MB / 415.8 MB, free: 7.184 MB / 298.7 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.001622/0.3127, allocations: 0.9041 MB / 416.7 MB, free: 6.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004297/0.3131, allocations: 106.8 kB / 416.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.3134, allocations: 130.3 kB / 416.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3135, allocations: 12 kB / 416.9 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.3135, allocations: 3.953 kB / 417 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3135, allocations: 7.969 kB / 417 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.3162, allocations: 1.751 MB / 418.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/0.3162, allocations: 0 / 418.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004083/0.3166, allocations: 207.7 kB / 418.9 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.849e-05/0.3166, allocations: 4 kB / 418.9 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/0.3169, allocations: 175.9 kB / 419.1 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.3169, allocations: 7.953 kB / 419.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3169, allocations: 0 / 419.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003686/0.3206, allocations: 2.049 MB / 421.1 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.3218, allocations: 0.6518 MB / 421.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004419/0.3223, allocations: 115.9 kB / 421.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.3232, allocations: 139.6 kB / 422 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004834/0.3237, allocations: 328.8 kB / 422.4 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001055/0.3247, allocations: 1.089 MB / 423.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009054/0.3257, allocations: 0.5849 MB / 424 MB, free: 14.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.893e-06/0.3257, allocations: 4 kB / 424 MB, free: 14.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00171/0.3274, allocations: 391 kB / 424.4 MB, free: 14.43 MB / 314.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: 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.0006529/0.328, allocations: 359.8 kB / 424.8 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003918/0.332, allocations: 2.049 MB / 426.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.332, allocations: 0 / 426.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.3339, allocations: 1.061 MB / 427.9 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/0.3379, allocations: 0.9387 MB / 428.8 MB, free: 10 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.3442, allocations: 3.297 MB / 432.1 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/0.3456, allocations: 1.316 MB / 433.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005798/0.3514, allocations: 1.32 MB / 434.8 MB, free: 4 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3514, allocations: 0 / 434.8 MB, free: 4 MB / 314.7 MB Notification: Performance of Templates: time 0.04625/0.3977, allocations: 32.97 MB / 467.7 MB, free: 1.422 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches