Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_trunk_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_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003161, allocations: 8 kB / 307.7 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1005, allocations: 51.53 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.002705/0.1032, allocations: 2.258 MB / 361.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.106, allocations: 1.251 MB / 362.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.1064, allocations: 3.938 kB / 362.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1066, allocations: 51.62 kB / 362.8 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000299/0.107, allocations: 63.44 kB / 362.9 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.1077, allocations: 211.8 kB / 363.1 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002238/0.11, allocations: 1.839 MB / 364.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.1114, allocations: 0.9087 MB / 365.8 MB, free: 6.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002332/0.1138, allocations: 1.789 MB / 367.6 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.1151, allocations: 0.8244 MB / 368.5 MB, free: 4.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.1155, allocations: 40 kB / 368.5 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003845/0.1159, allocations: 40 kB / 368.5 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.1166, allocations: 418 kB / 368.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.1177, allocations: 0.6848 MB / 369.6 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1907/0.3085, allocations: 4.165 MB / 373.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3085, allocations: 0 / 373.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3085, allocations: 1.281 kB / 373.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.291e-05/0.3086, allocations: 3.828 kB / 373.8 MB, free: 11.97 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.004247/0.3129, allocations: 1.687 MB / 375.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3129, allocations: 8.875 kB / 375.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006121/0.3135, allocations: 169.8 kB / 375.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.3153, allocations: 1.056 MB / 376.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003116/0.3157, allocations: 136.1 kB / 376.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.3161, allocations: 122 kB / 377 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006529/0.3226, allocations: 2.303 MB / 379.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.3227, allocations: 1.891 kB / 379.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003001/0.3231, allocations: 48.78 kB / 379.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.508e-05/0.3231, allocations: 30.84 kB / 379.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/0.3283, allocations: 2.004 MB / 381.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009665/0.338, allocations: 4.792 MB / 386.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.342, allocations: 1.914 MB / 388.1 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.3436, allocations: 0.7653 MB / 388.8 MB, free: 7.844 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002015/0.3438, allocations: 21.67 kB / 388.9 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002234/0.3461, allocations: 1.362 MB / 390.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.366e-06/0.3461, allocations: 0 / 390.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.005587/0.3517, allocations: 2.7 MB / 392.9 MB, free: 5.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3518, allocations: 94.02 kB / 393 MB, free: 5.867 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.3533, allocations: 0.9401 MB / 393.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.3536, allocations: 98.94 kB / 394 MB, free: 5.223 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003574/0.354, allocations: 456.2 kB / 394.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004511/0.3545, allocations: 317.6 kB / 394.8 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/0.3549, allocations: 239.4 kB / 395 MB, free: 4.512 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3551, allocations: 405.8 kB / 395.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.3566, allocations: 0.8775 MB / 396.3 MB, free: 3.727 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.3584, allocations: 1.042 MB / 397.3 MB, free: 3.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003177/0.3616, allocations: 1.974 MB / 399.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.3616, allocations: 5.031 kB / 399.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004291/0.3659, allocations: 2.426 MB / 401.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.3659, allocations: 37.7 kB / 401.8 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.366, allocations: 8.719 kB / 401.8 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.366, allocations: 8 kB / 401.8 MB, free: 14.96 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.3665, allocations: 225.6 kB / 402 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.3666, allocations: 8 kB / 402 MB, free: 14.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.368, allocations: 202.6 kB / 402.2 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/0.3692, allocations: 1.089 MB / 403.3 MB, free: 13.47 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 161 ($whenCondition1,$PRE.Counter.FF[1].And2.auxiliary_n,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].RS2.TD1.y,$PRE.Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.r,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[1].And4.auxiliary_n,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS1.TD1.y,$PRE.Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.r,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And3.auxiliary_n,$PRE.Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.y,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.q,$PRE.Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[2].And2.auxiliary_n,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].RS2.TD1.y,$PRE.Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.r,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[2].And4.auxiliary_n,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS1.TD1.y,$PRE.Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.r,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And3.auxiliary_n,$PRE.Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.y,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.q,$PRE.Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[3].And2.auxiliary_n,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].RS2.TD1.y,$PRE.Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.r,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[3].And4.auxiliary_n,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS1.TD1.y,$PRE.Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.r,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And3.auxiliary_n,$PRE.Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.y,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.q,$PRE.Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary[2],$PRE.Counter.FF[4].And2.auxiliary_n,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].RS2.TD1.y,$PRE.Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.r,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],$PRE.Counter.FF[4].And4.auxiliary_n,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS1.TD1.y,$PRE.Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.r,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],$PRE.Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And3.auxiliary_n,$PRE.Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.y,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.q,$PRE.Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].Not1.auxiliary,$PRE.Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].RS1.TD1.x,$PRE.Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].qn,Counter.FF[3].Not1.auxiliary,$PRE.Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].RS1.TD1.x,$PRE.Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].qn,Counter.FF[2].Not1.auxiliary,$PRE.Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].RS1.TD1.x,$PRE.Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].qn,Counter.FF[1].Not1.auxiliary,$PRE.Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].RS1.TD1.x,$PRE.Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,$PRE.Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].clk,Counter.FF[1].qn,clock.t_i,$PRE.clock.t_i,Enable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001654/0.3709, allocations: 0.9011 MB / 404.2 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.3712, allocations: 102.8 kB / 404.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3715, allocations: 131.4 kB / 404.5 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.3716, allocations: 15.98 kB / 404.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.3716, allocations: 4 kB / 404.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.78e-05/0.3716, allocations: 8.797 kB / 404.5 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.3743, allocations: 1.76 MB / 406.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3744, allocations: 0 / 406.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.3748, allocations: 203.7 kB / 406.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3748, allocations: 4 kB / 406.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002732/0.3751, allocations: 175.9 kB / 406.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.3751, allocations: 6.5 kB / 406.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3751, allocations: 6.625 kB / 406.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/0.3792, allocations: 2.065 MB / 408.7 MB, free: 8.031 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.3804, allocations: 0.6401 MB / 409.3 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000459/0.3809, allocations: 119.9 kB / 409.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008794/0.3818, allocations: 139.6 kB / 409.6 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000701/0.3825, allocations: 333 kB / 409.9 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001157/0.3836, allocations: 1.089 MB / 411 MB, free: 5.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008219/0.3845, allocations: 0.5966 MB / 411.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3845, allocations: 0 / 411.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001528/0.386, allocations: 379.1 kB / 412 MB, free: 4.738 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,Enable.y,clock.t_i,Counter.FF[1].qn,Counter.FF[1].clk,Counter.FF[1].RS1.Nor1.auxiliary[2],Counter.FF[1].RS1.Nor1.auxiliary_n,Counter.FF[1].RS1.Nor2.auxiliary[2],Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.r,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.TD1.y,Counter.FF[1].RS1.TD1.x_delayed,Counter.FF[1].RS2.Nor1.auxiliary[2],Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS2.Nor2.auxiliary[2],Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.r,Counter.FF[1].RS2.q,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.TD1.y,Counter.FF[1].RS2.TD1.x_delayed,Counter.FF[1].And1.y,Counter.FF[1].And1.auxiliary[2],Counter.FF[1].And1.auxiliary_n,Counter.FF[1].And2.auxiliary[2],Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And3.y,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And4.x[1],Counter.FF[1].And4.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[2].qn,Counter.FF[2].RS1.Nor1.auxiliary[2],Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[2].RS1.Nor2.auxiliary[2],Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.r,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.TD1.y,Counter.FF[2].RS1.TD1.x_delayed,Counter.FF[2].RS2.Nor1.auxiliary[2],Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS2.Nor2.auxiliary[2],Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.r,Counter.FF[2].RS2.q,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.TD1.y,Counter.FF[2].RS2.TD1.x_delayed,Counter.FF[2].And1.y,Counter.FF[2].And1.auxiliary[2],Counter.FF[2].And1.auxiliary_n,Counter.FF[2].And2.auxiliary[2],Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And3.y,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And4.x[1],Counter.FF[2].And4.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[3].qn,Counter.FF[3].RS1.Nor1.auxiliary[2],Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[3].RS1.Nor2.auxiliary[2],Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.r,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.TD1.y,Counter.FF[3].RS1.TD1.x_delayed,Counter.FF[3].RS2.Nor1.auxiliary[2],Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS2.Nor2.auxiliary[2],Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.r,Counter.FF[3].RS2.q,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.TD1.y,Counter.FF[3].RS2.TD1.x_delayed,Counter.FF[3].And1.y,Counter.FF[3].And1.auxiliary[2],Counter.FF[3].And1.auxiliary_n,Counter.FF[3].And2.auxiliary[2],Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And3.y,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And4.x[1],Counter.FF[3].And4.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[4].qn,Counter.FF[4].RS1.Nor1.auxiliary[2],Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[4].RS1.Nor2.auxiliary[2],Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.r,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.TD1.y,Counter.FF[4].RS1.TD1.x_delayed,Counter.FF[4].RS2.Nor1.auxiliary[2],Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS2.Nor2.auxiliary[2],Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.r,Counter.FF[4].RS2.q,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.TD1.y,Counter.FF[4].RS2.TD1.x_delayed,Counter.FF[4].And1.y,Counter.FF[4].And1.auxiliary[2],Counter.FF[4].And1.auxiliary_n,Counter.FF[4].And2.auxiliary[2],Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And3.y,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And4.x[1],Counter.FF[4].And4.auxiliary_n,Counter.FF[4].Not1.auxiliary) * Number of discrete states: 45 (Counter.FF[4].Not1.auxiliary,Counter.FF[4].And4.auxiliary_n,Counter.FF[4].And3.auxiliary_n,Counter.FF[4].And2.auxiliary_n,Counter.FF[4].And1.auxiliary_n,Counter.FF[4].RS2.TD1.x,Counter.FF[4].RS2.Nor2.auxiliary_n,Counter.FF[4].RS2.Nor1.auxiliary_n,Counter.FF[4].RS1.TD1.x,Counter.FF[4].RS1.Nor2.auxiliary_n,Counter.FF[4].RS1.Nor1.auxiliary_n,Counter.FF[3].Not1.auxiliary,Counter.FF[3].And4.auxiliary_n,Counter.FF[3].And3.auxiliary_n,Counter.FF[3].And2.auxiliary_n,Counter.FF[3].And1.auxiliary_n,Counter.FF[3].RS2.TD1.x,Counter.FF[3].RS2.Nor2.auxiliary_n,Counter.FF[3].RS2.Nor1.auxiliary_n,Counter.FF[3].RS1.TD1.x,Counter.FF[3].RS1.Nor2.auxiliary_n,Counter.FF[3].RS1.Nor1.auxiliary_n,Counter.FF[2].Not1.auxiliary,Counter.FF[2].And4.auxiliary_n,Counter.FF[2].And3.auxiliary_n,Counter.FF[2].And2.auxiliary_n,Counter.FF[2].And1.auxiliary_n,Counter.FF[2].RS2.TD1.x,Counter.FF[2].RS2.Nor2.auxiliary_n,Counter.FF[2].RS2.Nor1.auxiliary_n,Counter.FF[2].RS1.TD1.x,Counter.FF[2].RS1.Nor2.auxiliary_n,Counter.FF[2].RS1.Nor1.auxiliary_n,Counter.FF[1].Not1.auxiliary,Counter.FF[1].And4.auxiliary_n,Counter.FF[1].And3.auxiliary_n,Counter.FF[1].And2.auxiliary_n,Counter.FF[1].And1.auxiliary_n,Counter.FF[1].RS2.TD1.x,Counter.FF[1].RS2.Nor2.auxiliary_n,Counter.FF[1].RS2.Nor1.auxiliary_n,Counter.FF[1].RS1.TD1.x,Counter.FF[1].RS1.Nor2.auxiliary_n,Counter.FF[1].RS1.Nor1.auxiliary_n,Enable.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005908/0.3866, allocations: 363.8 kB / 412.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.3905, allocations: 2.052 MB / 414.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3905, allocations: 2.625 kB / 414.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.3925, allocations: 1.112 MB / 415.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004206/0.3967, allocations: 0.9604 MB / 416.4 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/0.4022, allocations: 3.322 MB / 419.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.4033, allocations: 1.32 MB / 421.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01026/0.4136, allocations: 3.386 MB / 424.5 MB, free: 8.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00359/0.4172, allocations: 0.9269 MB / 425.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4173, allocations: 0 / 425.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of Templates: time 0.06141/0.4787, allocations: 39.14 MB / 464.5 MB, free: 15.25 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches