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.00152/0.00152, allocations: 115.9 kB / 18.41 MB, free: 4.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 199.5 kB / 19.36 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 58.56 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/0.09427, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003455/0.09777, allocations: 2.591 MB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1001, allocations: 1.278 MB / 362.8 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.1002, allocations: 8 kB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.1004, allocations: 71.31 kB / 362.9 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.1005, allocations: 63.33 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.1011, allocations: 231.7 kB / 363.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1028, allocations: 2.073 MB / 365.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.1039, allocations: 0.9594 MB / 366.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.1061, allocations: 2.109 MB / 368.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.1074, allocations: 1.055 MB / 369.3 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.1078, allocations: 216 kB / 369.5 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003526/0.1081, allocations: 216 kB / 369.8 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.1088, allocations: 0.6192 MB / 370.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.1099, allocations: 0.9018 MB / 371.3 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1693/0.2792, allocations: 4.391 MB / 375.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.2792, allocations: 0.7812 kB / 375.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2792, allocations: 0 / 375.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.833e-05/0.2793, allocations: 1.156 kB / 375.7 MB, free: 14.89 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.004725/0.2841, allocations: 2.312 MB / 378 MB, free: 14.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2841, allocations: 10.12 kB / 378 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004835/0.2846, allocations: 171.5 kB / 378.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.2868, allocations: 1.056 MB / 379.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.195e-05/0.2869, allocations: 100.9 kB / 379.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003696/0.2873, allocations: 122.5 kB / 379.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003991/0.2913, allocations: 2.285 MB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.2914, allocations: 3.938 kB / 381.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/0.2916, allocations: 50.38 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.2917, allocations: 31.19 kB / 381.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.2952, allocations: 1.985 MB / 383.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008757/0.304, allocations: 4.813 MB / 388.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.3074, allocations: 1.858 MB / 390.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.3087, allocations: 0.7601 MB / 391.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.309, allocations: 21.53 kB / 391.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/0.3111, allocations: 1.354 MB / 392.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 4.108e-06/0.3111, allocations: 1.594 kB / 392.6 MB, free: 7.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=128): time 0.004739/0.3158, allocations: 2.666 MB / 395.3 MB, free: 6.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.3159, allocations: 95.02 kB / 395.4 MB, free: 6.203 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3173, allocations: 0.9426 MB / 396.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002916/0.3176, allocations: 97.22 kB / 396.4 MB, free: 5.559 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/0.3179, allocations: 464.8 kB / 396.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.3183, allocations: 309.3 kB / 397.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001069/0.3193, allocations: 0.6658 MB / 397.8 MB, free: 4.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3195, allocations: 407.5 kB / 398.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.321, allocations: 0.8615 MB / 399.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.3225, allocations: 1.048 MB / 400.1 MB, free: 2.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002713/0.3252, allocations: 1.954 MB / 402.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.3253, allocations: 0 / 402.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004215/0.3295, allocations: 2.406 MB / 404.5 MB, free: 14.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.3295, allocations: 33.69 kB / 404.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3296, allocations: 4 kB / 404.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/0.3296, allocations: 12 kB / 404.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.3302, allocations: 229.4 kB / 404.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.3302, allocations: 8 kB / 404.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.3311, allocations: 71.67 kB / 404.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/0.3324, allocations: 1.1 MB / 405.9 MB, free: 13.12 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.002065/0.3344, allocations: 0.8996 MB / 406.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/0.3349, allocations: 110.8 kB / 406.9 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.3352, allocations: 126.3 kB / 407.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.3352, allocations: 20 kB / 407.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.748e-05/0.3352, allocations: 0 / 407.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3352, allocations: 7.969 kB / 407.1 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/0.338, allocations: 1.762 MB / 408.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.338, allocations: 3.938 kB / 408.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.3385, allocations: 209.1 kB / 409.1 MB, free: 9.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3385, allocations: 4 kB / 409.1 MB, free: 9.977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002932/0.3388, allocations: 179.1 kB / 409.2 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3388, allocations: 4.875 kB / 409.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3388, allocations: 0 / 409.2 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.3428, allocations: 2.041 MB / 411.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.3446, allocations: 0.6479 MB / 411.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/0.3451, allocations: 115.9 kB / 412 MB, free: 6.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.3456, allocations: 47.97 kB / 412.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006921/0.3463, allocations: 337 kB / 412.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001156/0.3475, allocations: 1.078 MB / 413.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009382/0.3484, allocations: 0.5965 MB / 414.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 0 / 414.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001717/0.3502, allocations: 375.2 kB / 414.5 MB, free: 4.535 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.0005914/0.3508, allocations: 367.7 kB / 414.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004197/0.355, allocations: 2.034 MB / 416.9 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.355, allocations: 4.062 kB / 416.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.357, allocations: 1.095 MB / 418 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003818/0.3608, allocations: 1.07 MB / 419 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.3664, allocations: 2.87 MB / 421.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.3676, allocations: 1.312 MB / 423.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01129/0.3789, allocations: 3.37 MB / 426.6 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003759/0.3828, allocations: 0.9385 MB / 427.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of SimCode: time 1.203e-06/0.3828, allocations: 0 / 427.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of Templates: time 0.05661/0.4394, allocations: 40.4 MB / 467.9 MB, free: 14.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Counter/Counter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Counter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches