Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_trunk_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_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009834/0.0009834, allocations: 197.4 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 244.7 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000756/0.000756, allocations: 96.56 kB / 296.8 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002331/0.0002331, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2186, allocations: 51.29 MB / 408 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.001717/0.2203, allocations: 2.161 MB / 410.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.2219, allocations: 1.192 MB / 411.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-05/0.222, allocations: 3.938 kB / 411.4 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.2222, allocations: 49.53 kB / 411.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.2223, allocations: 56.86 kB / 411.5 MB, free: 24.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.2227, allocations: 139.8 kB / 411.6 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009538/0.2236, allocations: 1.718 MB / 413.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.2243, allocations: 0.9137 MB / 414.3 MB, free: 21.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.2257, allocations: 1.443 MB / 415.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.2263, allocations: 0.9627 MB / 416.7 MB, free: 19.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.2266, allocations: 40 kB / 416.7 MB, free: 18.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.2268, allocations: 40 kB / 416.8 MB, free: 18.94 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.2272, allocations: 454.8 kB / 417.2 MB, free: 18.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.2278, allocations: 0.7015 MB / 417.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.2294, allocations: 3.784 MB / 421.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2294, allocations: 0 / 421.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2295, allocations: 4 kB / 421.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.907e-05/0.2295, allocations: 3.938 kB / 421.7 MB, free: 13.98 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.002045/0.2315, allocations: 1.685 MB / 423.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2316, allocations: 12.03 kB / 423.4 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.2319, allocations: 171 kB / 423.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.2332, allocations: 1.062 MB / 424.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.2332, allocations: 102.9 kB / 424.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.2335, allocations: 120.4 kB / 424.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0031/0.2366, allocations: 2.289 MB / 427.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.2366, allocations: 4 kB / 427.1 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.2369, allocations: 52 kB / 427.2 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.2369, allocations: 28 kB / 427.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002988/0.2399, allocations: 1.997 MB / 429.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006271/0.2462, allocations: 4.787 MB / 434 MB, free: 1.484 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.2493, allocations: 1.898 MB / 435.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.2506, allocations: 0.7698 MB / 436.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.2509, allocations: 17.3 kB / 436.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001995/0.2529, allocations: 1.367 MB / 438 MB, free: 13.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.396e-06/0.2529, allocations: 0 / 438 MB, free: 13.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=128): time 0.004963/0.2579, allocations: 2.685 MB / 440.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.2579, allocations: 94.42 kB / 440.8 MB, free: 10.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.2592, allocations: 0.9407 MB / 441.8 MB, free: 9.633 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.2594, allocations: 93.66 kB / 441.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.2598, allocations: 421.3 kB / 442.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.2602, allocations: 308.3 kB / 442.6 MB, free: 8.809 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.2604, allocations: 32 kB / 442.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2606, allocations: 406.7 kB / 443 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.262, allocations: 0.8783 MB / 443.9 MB, free: 7.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001576/0.2636, allocations: 1.051 MB / 444.9 MB, free: 6.406 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.2668, allocations: 1.966 MB / 446.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2668, allocations: 0 / 446.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.003976/0.2708, allocations: 2.408 MB / 449.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.2708, allocations: 37.69 kB / 449.3 MB, free: 1.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2708, allocations: 8.031 kB / 449.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2709, allocations: 8 kB / 449.3 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.2713, allocations: 235.5 kB / 449.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.2714, allocations: 12 kB / 449.6 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.2724, allocations: 195.1 kB / 449.8 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/0.2734, allocations: 1.089 MB / 450.9 MB, free: 396 kB / 314.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.001329/0.2747, allocations: 0.9079 MB / 451.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.275, allocations: 106.9 kB / 451.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.2752, allocations: 126.3 kB / 452 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.2753, allocations: 12 kB / 452 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.2753, allocations: 11.92 kB / 452 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.2753, allocations: 7.922 kB / 452 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.2776, allocations: 1.751 MB / 453.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2776, allocations: 0 / 453.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004022/0.278, allocations: 203.7 kB / 454 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.278, allocations: 8 kB / 454 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/0.2783, allocations: 175.9 kB / 454.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.2783, allocations: 4 kB / 454.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2783, allocations: 0 / 454.2 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003499/0.2818, allocations: 2.057 MB / 456.2 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.283, allocations: 0.644 MB / 456.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/0.2834, allocations: 119.9 kB / 457 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.2842, allocations: 139.6 kB / 457.1 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006144/0.2848, allocations: 321 kB / 457.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001028/0.2858, allocations: 1.089 MB / 458.5 MB, free: 8.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007463/0.2866, allocations: 0.5888 MB / 459.1 MB, free: 8 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2866, allocations: 0 / 459.1 MB, free: 8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001315/0.2879, allocations: 387.1 kB / 459.5 MB, free: 7.621 MB / 330.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.0005263/0.2884, allocations: 363.7 kB / 459.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003621/0.2921, allocations: 2.054 MB / 461.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2921, allocations: 0 / 461.9 MB, free: 5.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.2938, allocations: 1.073 MB / 463 MB, free: 4.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/0.2971, allocations: 0.9148 MB / 463.9 MB, free: 3.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004989/0.3021, allocations: 3.296 MB / 467.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/0.3031, allocations: 1.316 MB / 468.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003974/0.3071, allocations: 1.32 MB / 469.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of SimCode: time 6.02e-07/0.3071, allocations: 0 / 469.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of Templates: time 0.03523/0.3423, allocations: 32.92 MB / 0.491 GB, free: 10.73 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches