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.002314/0.002315, allocations: 175.2 kB / 16.72 MB, free: 5.078 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.631/1.631, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0009169/0.0009169, allocations: 89.05 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003827, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 47.57 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002301/0.2324, allocations: 2.154 MB / 377.2 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.2347, allocations: 1.213 MB / 378.4 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2349, allocations: 7.625 kB / 378.5 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.235, allocations: 43.16 kB / 378.5 MB, free: 42.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.2352, allocations: 58.06 kB / 378.6 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.2356, allocations: 141.1 kB / 378.7 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.2371, allocations: 1.706 MB / 380.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.2381, allocations: 0.9198 MB / 381.3 MB, free: 41.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.2401, allocations: 1.44 MB / 382.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.2413, allocations: 0.965 MB / 383.7 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.2416, allocations: 43.94 kB / 383.8 MB, free: 40 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.2419, allocations: 43.94 kB / 383.8 MB, free: 39.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.2424, allocations: 450.9 kB / 384.3 MB, free: 39.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000702/0.2431, allocations: 0.7093 MB / 385 MB, free: 38.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.245, allocations: 3.772 MB / 388.7 MB, free: 35.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.245, allocations: 8 kB / 388.7 MB, free: 35 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.245, allocations: 0 / 388.7 MB, free: 35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.309e-05/0.2451, allocations: 4 kB / 388.7 MB, free: 35 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.002783/0.2478, allocations: 1.677 MB / 390.4 MB, free: 33.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.2479, allocations: 8.031 kB / 390.4 MB, free: 33.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.2483, allocations: 171 kB / 390.6 MB, free: 33.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.2497, allocations: 1.066 MB / 391.7 MB, free: 31.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.852e-05/0.2498, allocations: 94.91 kB / 391.8 MB, free: 31.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002877/0.2501, allocations: 128.4 kB / 391.9 MB, free: 31.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.2536, allocations: 2.289 MB / 394.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.2536, allocations: 0 / 394.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.2538, allocations: 52 kB / 394.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.2539, allocations: 35.94 kB / 394.3 MB, free: 29.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003155/0.257, allocations: 1.997 MB / 396.3 MB, free: 27.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.2637, allocations: 4.787 MB / 401 MB, free: 22.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.2668, allocations: 1.906 MB / 402.9 MB, free: 20.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.268, allocations: 0.7698 MB / 403.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/0.2683, allocations: 17.25 kB / 403.7 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.27, allocations: 1.363 MB / 405.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 4.488e-06/0.27, allocations: 0 / 405.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=128): time 0.004468/0.2745, allocations: 2.689 MB / 407.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.2746, allocations: 94.42 kB / 407.9 MB, free: 15.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2757, allocations: 0.9369 MB / 408.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.276, allocations: 101.6 kB / 408.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.2762, allocations: 421.3 kB / 409.3 MB, free: 14.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003277/0.2766, allocations: 304.3 kB / 409.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.2768, allocations: 28 kB / 409.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2769, allocations: 410.7 kB / 410 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.2782, allocations: 0.8744 MB / 410.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.2796, allocations: 1.043 MB / 412 MB, free: 11.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/0.2824, allocations: 1.966 MB / 413.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2825, allocations: 0 / 413.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003742/0.2862, allocations: 2.416 MB / 416.3 MB, free: 6.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.2863, allocations: 33.7 kB / 416.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.2863, allocations: 3.938 kB / 416.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.854e-05/0.2863, allocations: 12.03 kB / 416.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.2868, allocations: 231.5 kB / 416.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.2868, allocations: 8 kB / 416.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.2881, allocations: 199.2 kB / 416.8 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007791/0.2889, allocations: 1.093 MB / 417.9 MB, free: 5.406 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.001421/0.2903, allocations: 0.9041 MB / 418.8 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.2907, allocations: 102.8 kB / 418.9 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.291, allocations: 130.3 kB / 419.1 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.291, allocations: 12 kB / 419.1 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.291, allocations: 3.984 kB / 419.1 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.2911, allocations: 7.922 kB / 419.1 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.2937, allocations: 1.767 MB / 420.8 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.2937, allocations: 0 / 420.8 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.2942, allocations: 203.7 kB / 421 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.2942, allocations: 4 kB / 421 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002703/0.2945, allocations: 175.9 kB / 421.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.2945, allocations: 4 kB / 421.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.2945, allocations: 4.609 kB / 421.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003688/0.2982, allocations: 2.053 MB / 423.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.2996, allocations: 0.644 MB / 423.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004854/0.3001, allocations: 119.9 kB / 424 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009698/0.301, allocations: 139.6 kB / 424.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006874/0.3017, allocations: 321 kB / 424.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001229/0.303, allocations: 1.092 MB / 425.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001028/0.304, allocations: 0.5927 MB / 426.2 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.304, allocations: 7.938 kB / 426.2 MB, free: 13.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001811/0.3059, allocations: 375.1 kB / 426.5 MB, free: 12.64 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.0007109/0.3066, allocations: 367.7 kB / 426.9 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004213/0.3108, allocations: 2.052 MB / 429 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.3108, allocations: 0 / 429 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.3129, allocations: 1.065 MB / 430 MB, free: 9.129 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/0.3168, allocations: 0.9173 MB / 430.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006266/0.3231, allocations: 3.301 MB / 434.2 MB, free: 4.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.3245, allocations: 1.32 MB / 435.6 MB, free: 3.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005966/0.3304, allocations: 1.32 MB / 436.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3305, allocations: 0 / 436.9 MB, free: 2.219 MB / 314.7 MB Notification: Performance of Templates: time 0.04852/0.379, allocations: 32.93 MB / 469.8 MB, free: 15.68 MB / 362.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